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 | measureQ:
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 Remove-Variable ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access