O'Reilly logo

Windows PowerShell™ 3.0 Step by Step by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix D. Windows PowerShell FAQ

This appendix answers many questions that come up when I teach Windows PowerShell classes and when making Windows PowerShell presentations at various events.

Q:

Q. How many cmdlets are available on a default Windows PowerShell 3.0 installation?

A:

A. 403

Q:

Q. How do you find out how many cmdlets are available on a default Windows PowerShell installation?

A:

A. Use the following:

Get-Module -ListAvailable | Import-Module ; gcm -co cmdlet | measure

Q:

Q. What is the difference between a read-only variable and a constant?

A:

A. A read-only variable is one whose content is read-only. You can, however, modify it by using the Set-Variable cmdlet with the -force parameter. You can also delete it by using

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required