General Best Practices for Using Cmdlets

The following recommendations are best practices for working with the HPE Storage Toolkit for Windows PowerShell cmdlets:
  • Run PowerShell cmdlets using an elevated Administrator account ( (Run As Administrator).
  • On a Windows failover cluster node, always log in with a Domain\Administrator level account.
  • Make sure the Group Management IP is set. You can use theSet-Configuration cmdlet to set the IP and the credentials for the Windows user who must run the cmdlet.
  • Make sure the firewall allows inbound and outbound TCP ports. You should use ports 135 for RPC and 445 for Windows Management Instrumentation (WMI) to ensure that the cmdlet can communicate WMI to the other nodes.

In addition, the values for options that use strings are case-sensitive and do not accept wild cards, unless otherwise specified in the option description.

Some cmdlets have additional recommendations. Those recommendations are listed in the section that describes that cmdlet.