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. How many cmdlets are available on a default Windows PowerShell 3.0 installation?
Q. How do you find out how many cmdlets are available on a default Windows PowerShell installation?
A. Use the following:Get-Module -ListAvailable | Import-Module ; gcm -co cmdlet | measure
Q. What is the difference between a read-only variable and a constant?
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 Remove-Variable ...