Administrator Guide

Command Description
Set-SCStorageProle Sets the attributes of a Storage Prole.
Set-SCUser Sets attributes of user accounts on a Storage Center (Password parameter).
Set-SCVolume Sets a new name for a volume.
Set-SCVolumeFolder Sets attributes of a volume folder such as name and parent folder.
Set-SCVolumeReplayProle Applies a Replay prole to a volume.
Set-Volume Sets or clears ags of a volume on a Windows server.
Swap Role-SCLiveVolume Swaps role of a Live Volume.
For more information, see Viewing and Printing Command Line Help.
Entering Single Commands
Windows PowerShell provides an interactive command prompt that can be used to execute single commands.
Open the Dell Storage Center Command Set shell and enter a single command. For example:
Get-SCConnection -HostName mmt1 -User Admin -Password $pass
Creating Scripts
A script is a text le that contains one or more Windows PowerShell commands. In PowerShell version 1.0 scripting is most often
done in Notepad. PowerShell version 2.0 includes the Integrated Scripting Environment (ISE), which provides a graphical user
interface (GUI) for script editing. The GUI includes advanced features such as syntax color coding and autocompletion of cmdlet
names.
Follow these guidelines for creating script les:
Include one command per line.
Use the pound sign (#) as the rst character on a line to denote a comment.
During installation, sample scripts are installed in the \Script Samples location of the installation directory. For example:
C:\Program Files (x86)\Dell\Storage Center PowerShell Command Set\Script Samples
These sample scripts should be used as templates that are edited to conform to specic requirements. Sample scripts are a starting
point for script development and are not guaranteed to work in all situations. Installed scripts oer samples for:
Creating new volumes and an SQL server database
Creating new volumes and an Exchange mailbox storage group
Creating new user accounts for everyone in a user group
Exposing a Replay to a backup server for ooading a backup to tape
Running Scripts
For script le execution, you must have all privileges required by commands in the script or the script will fail. Follow these guidelines
for running a script.
By default, Windows PowerShell script execution policy is set to restricted. For information about enabling scripts, enter either:
Get–Help Set–ExecutionPolicy
Get–Help about_signing
Run scripts from the Dell Storage Center Command Set Shell or from the PowerShell console with the Dell Storage Center
Command Set snapin loaded.
The Dell Storage Center Command Set does not support running multiple scripts concurrently.
Specify the entire le path of your script:
C:\scripts\myscript.ps1
Using the Command Set
15