Administrator Guide

2
Using the Command Set
This section provides instructions for installing and setting up Dell Storage Center Command Set for Windows PowerShell and
provides information for getting started with the Command Set.
Accessing the Dell Storage Center Command Set
You can access the Dell Storage Center Command Set using the following methods:
Shell access
Console access
Using the Dell Storage Center Command Set Shell
To access the Dell Storage Center Command Set using the Command Set shell, select:
StartAll ProgramsDell CompellentStorage Center PowerShell SnapinDell Compellent Storage Center Command
Set Shell
The shell provides a shortcut to a Windows PowerShell console with the Dell Storage Center Command Set already loaded. Dell
recommends using this method to access the Dell Storage Center Command Set.
Using the Windows PowerShell Console
To access the Dell Storage Center Command Set using the standard Windows PowerShell console:
1. Access the Windows PowerShell console.
2. Open the console and load the Dell Storage Center Command Set snapin by typing the following command:
Add-PSSnapin Compellent.StorageCenter.PSSnapin
The snapin must be loaded each time the Windows PowerShell console is opened prior to using the Dell Storage Center Command
Set.
NOTE: See Migrating Scripts from 5.x for examples of loading two versions of the Command Set to facilitate migrating
from version 5.x to version 6.x or 7.x.
Connecting to a Storage Center
Storage Center cmdlets require a connection to a Storage Center. This section details how to establish a connection to a Storage
Center. In addition, this section describes how to use SecureString input to safeguard password information.
Establishing a Connection
The Get-SCConnection cmdlet establishes a connection to a Storage Center. You can provide connection information to the cmdlet
in the following ways:
Using a variable
Using a ConnectionName object
Interactively
Save Connection Information in a Variable
Connection information can be stored in a variable and then used on subsequent cmdlets. For example:
$connection = Get-SCConnection -HostName mmt1 -User Admin -Password $pass
8
Using the Command Set