HPE Storage Toolkit for Windows PowerShell Cmdlet Summary
The HPE Storage toolkit for Windows includes numerous PowerShell cmdlets. The following table provides a summary of all cmdlets that are included with toolkit 7.0.0 and later.
Cmdlet | Description |
---|---|
Set-Configuration |
Sets the group management IP address to be used by
the VSS provider for discovery and snapshot processes. Should be
executed on a backup host. Used to configure group credentials on the host, which is a prerequisite to perform restore operations through the VSS Hardware Provider. NOTE: The
Set-Configuration cmdlet is required to run
all the application aware data management
cmdlets. |
Get-NWTConfiguration |
Shows the IP address and credentials that were set
using the Set-Configuration
cmdlet. |
Clear-NWTConfiguration |
Clears the settings made with the Set-Configuration cmdlet. Using
this cmdlet, you can clear all group management IP addresses and
their credentials from the registry, and remove the settings
pertaining to the given Group Management IP address. |
Get-NimVolume
|
Displays all iSCSI and FC volumes connected to the
host. For volumes accessed using FC, provides detailed mapping
information (source and target WWPN). Use this cmdlet with
the |
Set-NimVolume
|
Manipulates various Windows disk and volume attributes associated with a specified volume. This command can be used to reset the Windows VDS flags and attributes on a volume cloned or restored from a VSS snapshot so that it can be mounted as a disk. The disk to be manipulated is specified using the Disk identifier (DiskID) or volume serial number. Either the DiskID or serial number must be specified. |
Connect-NimVolume |
Connects any volume or clone to the local host. Use this cmdlet to assign a drive letter or directory path as an access path to the volume, add a new disk signature, reset the VSS flags (if necessary), and add the volume to a cluster as either a cluster resource or CSV. |
Disconnect-NimVolume |
Disconnects the specified volume from the Windows host and removes associated
initiator groups from the volume Access Control List (ACL). If the Windows host is part of a Windows 2012 or later failover cluster, the disconnect is performed on all nodes of the cluster. NOTE: A best effort is made to disconnect even if an operation
fails and as many volumes as possible are disconnected. If
errors are encountered, the exceptions are listed and you
are instructed to manually clean up those
connections.
This cmdlet closes all connections, deletes Favorites (for iSCSI), and deletes any cluster resources associated with the volume. NOTE: In a Windows 2008 R2 cluster, all operations are performed
only on the local node. If volumes are connected through
iSCSI, connections must be manually removed from nodes other
than the local note. Cluster resources also must be manually
removed from other nodes.
|
Invoke-CloneNimVolume |
Creates clones of volumes, snapshots, or Windows volumes hosted on volumes using
access paths. Use this cmdlet to optionally assign a drive letter or specify a directory path to the Windows volumes, and add the cloned volumes to a cluster as an available disk resource or a CSV. |
Invoke-CloneNimVolumeCollection |
Creates clones of volumes in a volume collection or of snapshots in a snapshot
collection. You can use this cmdlet to optionally assign a drive letter or specify a directory path to the Windows volumes, and add the cloned volumes to a cluster as an available disk resource or a CSV. |
Get-NimSnapshotCollection |
Queries application object metadata on snapshots and returns snapshot collections. The returned snapshot collection object can be used as a unit to clone a volume or a volume collection. Returned objects are sorted in reverse chronological order (latest first) based on CreateTime. |
Get-NimSnapshot |
Provides the capability to query snapshots based on a volume or a specific snapshot collection. |
Remove-NimVolume |
Disconnects volumes from the Windows host and deletes the volumes from the array.
If the If the Windows host is part of a Windows
2012 or above failover cluster, the disconnect is performed
on all nodes of the cluster.
NOTE: A best effort is made to disconnect even if an
operation fails and as many volumes as possible are
disconnected. If errors are encountered, the exceptions
are listed and you are instructed to manually clean up
those connections.
This cmdlet closes all connections and deletes Favorites for iSCSI, and deletes any cluster resources associated with the volume. NOTE: In a Windows 2008 R2 cluster, all operations are
performed only on the local node. If volumes are
connected through iSCSI, connections must be manually
removed from nodes other than the local note. Cluster
resources also must be manually removed from other
nodes.
|
Get-NimDatabase |
(Toolkit 7.0.0 and later) Queries all the related arrays with SQL databases configured on the host and displays details about all the databases present on the volume that is on the current host. The cmdlet displays snapshots of volumes using the volume pipeline object, the volume name, or the Windows volumes that are using access paths. |
Get-NimDatabaseSnapshot |
(Toolkit 7.0.0 and later) Queries all the related arrays with SQL databases configured on the host and displays details about all the snapshots present. If any snapshot has SQL database details, then those details will be populated as well. |
Invoke-NimDatabaseClone |
(Toolkit 7.0.0 and later) Create clones of SQL databases residing on
volumes in a volume collection or a snapshot collection. With
this cmdlet, you can assign a drive letter or directory path to
the Windows volumes and add the cloned volumes to the cluster as
an available resource or a CSV file. This
cmdlet performs the following operations:
|
Invoke-NimDatabaseSnapshot |
(Toolkit 7.0.0 and later) Creates snapshots of SQL databases residing on volumes in a volume collection. Provides options for creating application consistent and crash-consistent snapshots. |
Invoke-NimSnapVolume |
(Toolkit 7.0.0 and later) Creates a snapshot of one or more volumes or Windows volumes hosted on volumes. This cmdlet creates snapshots of volumes using a volume object, a name, or Windows volumes mounted on access paths. |
Invoke-NimSnapVolumeCollection |
(Toolkit 7.0.0 and later) Creates a snapshot collection of one or more volumes in a volume collection. If you include the CreateAppConsistentSnapshot option for a volume collection, the cmdlet creates application-consistent (VSS) snapshots for the collection. |
Remove-NimSnapshot |
(Toolkit 7.0.0 and later) Deletes snapshots of volumes, SQL databases, and snapshot collections of volume collections. It does not return any values. |