Using PowerShell cmdlets to provision storage

If you do not want to use the SnapCenter GUI to perform host provisioning and space reclamation jobs, you can use the PowerShell cmdlets that are provided by SnapCenter Plug-in for Microsoft Windows. You can use cmdlets directly or add them to scripts.

If you are running the cmdlets on a remote plug-in host, you must run the SnapCenter Open-SMConnection cmdlet to open a connection to the SnapCenter Server:Open-SmConnection –SMSbaseUrl https://SNAPCENTER_SERVER_NAME.DOMAIN_NAME:8146 -RoleName “ROLE_NAME

Where:

Provide the credentials you used to log in to the SnapCenter GUI.

Note: If you are a domain user with local administrator rights, you must run the Grant-ClusterAccess PowerShell cmdlet before you can run the Plug-in for Windows cmdlets in a Windows failover cluster.

For detailed information about the Plug-in for Windows cmdlets, including syntax and examples, see the command reference information.

SnapCenter Software 4.0 Windows Cmdlet Reference Guide