Administrator Guide

If the path to your script includes blank spaces, type an ampersand (&) followed by the path enclosed in quotation marks:
&“C:\my scripts\myscript.ps1”
To run a script from the current directory, use .\:
.\myscript.ps1
Include the folder containing your script in your Windows path, then type the name of the script:
myscript.ps1
Storage Center Snapin Utility
The Storage Center Snapin Utility module provides a library of common functions. The utility module was developed using
PowerShell scripting.
NOTE: The Storage Center PowerShell Snapin must be added to the current PowerShell session to use the functions
provided by the utility.
Table 3. Snapin Utility Commands
Command Description
Get-CMLDiskSignature Retrieves the disk signatures of all disks or the disk specied in the index
parameter.
Get-CMLDuplicateDiskSignature Returns groups of disks with identical signatures. This duplication can occur
when a view volume for a clustered shared volume (CSV) is mounted to a server.
Windows will not update the signature for a CSV.
Set-CMLDiskSignature Sets the disk signature of the disk specied by the index parameter.
Set-CMLVolumeSignature Sets the disk signature for a specied volume by mapping the volume on the
computer identied by the ComputerName parameter, changing the signature
and removing the mapping. This feature is particularly useful for automating the
process of xing the disk collision issue when attempting to mount the view
volume of a CSV on a cluster node. To avoid a collision, the
ComputerName
parameter must refer to a computer that is not a node in the cluster. When this
function completes successfully, the view volume can then be mapped to a node
in the cluster without a disk signature collision.
Formatting and Exporting Command Output
Windows PowerShell provides commands that can either format the way information appears in the console or export information to
an xml, csv, or text le. These commands accept the output of other commands as input from the pipeline.
Format Command Output in the Console
By default, Dell Storage Center Command Set cmdlets print information to the console in a table format. The Format-List command
formats information as a list. For example, the following command displays a list of all properties for a Storage Center volume named
MyVolume:
Get-SCVolume -Name MyVolume|Format-List
For more information about displaying information on the console, type the following command:
Get-Help about_display
Export Command Output to a File
Command output can be stored in standard le formats. The following examples show how to save the information of a Storage
Center volume named MyVolume as an xml, csv, or txt le.
To save information in an xml le:
Get-SCVolume -Name MyVolume|Export-Clixml -path “C:\volumeInformation\MyVolume.xml”
16
Using the Command Set