Specifications
Appendix B: Using PowerCLI
Using cmdlets
The following table provides information about the syntax and usage of cmdlets.
Area Cmdlet Description Syntax Example
Basic ses-
sion man-
agement
Connect-
H9Server
Establishes a connection
to the SolarWinds Vir-
tualization Manager. This
step is necessary before
using any other cmdlets.
Connect-H9Server [-Server]
<String> [-User] <String> [-
Password] <String> [<Com-
monParameters>]
Connect-
H9Server
akutz-hyper9
admin admin
Disconnect-
H9Server
Disconnects PowerCLI
from the SWVM server.
You must reconnect to
the server before execut-
ing any further cmdlets.
Disconnect-H9Server [<Com-
monParameters>]
Disconnect-
H9Server
Basic col-
lection setup
Get-H9Cre-
dentials
Lists the existing cre-
dentials. The available
credential types are Vir-
tualCenter, Host, and
WMI.
Get-H9Credentials [-CType]
<CredentialType> [-Verbose] [-
Debug] [-ErrorAction
<ActionPreference>] [-Warn-
ingAction <ActionPreference>]
[-ErrorVariable <String>] [-
WarningVariable <String>] [-
OutVariable <String>] [-
Get-H9Cre-
dentials Vir-
tualCenter
292