Snap-ins and Modules Flashcards
1
Q
How do you get a list of snap-ins?
A
Get-PSSnapin -registered
2
Q
How do you get a list of modules?
A
Get-Module -listAvailable
3
Q
How do you add a snap-in?
A
Add-PSSnapin
4
Q
How do you add a module?
A
Import-Module moduleName
5
Q
How do you find available commands for a module?
A
Get-Command -module moduleName *Make sure it is imported first*
6
Q
How do you find available commands for a snap-in?
A
Get-Command -module snap-inName *Make sure it is added first*