Using snap-ins
PowerShell will not automatically load commands from a snap-in. All snap-ins, except Microsoft.PowerShell.Core
, must be explicitly imported using the Add-PSSnapIn
command:
Add-PSSnapIn WDeploySnapin3.0
Once a snap-in has been installed (registered) and added, Get-Command
may be used to list the commands:
Get-Command -Module WDeploySnapin3.0