- Community Home
- >
- Storage
- >
- HPE Nimble Storage
- >
- Application Integration
- >
- Volume Collection Powershell Script
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2014 04:36 AM
05-27-2014 04:36 AM
Does anyone know how to create a volume collection snapshot through powershell, for individual volumes looks ok but I cant seem to get the syntax right to snap a volume collection and replicate it.
Im trying to use the Nimble powershell kit.
Thanks
<#
.Synopsis
Creates a new
snapshot
.DESCRIPTION
Takes a new
snapshot of a specified volume, allowing you to control if its writeable and if
its online or not.
.EXAMPLE
Get-NSVolume -name testvol | New-NSSnapshot -name Test1
(need something like this for volume collections)
.EXAMPLE
Another example of
how to use this cmdlet
#>
function New-NSSnapshot
{
[CmdletBinding()]
[OutputType([snap])]
Param
(
# New name for snapshot
[Parameter(Mandatory=$true,Position=0)]
[string]
$Name,
# volume you'd like to take a snapshot of. This uses a Vol objecct, for
pipeline use with other cmdlets
[Parameter(Mandatory=$true,Position=1,ValueFromPipeLine=$true,ParameterSetName="inobj")]
[vol]
$InputObject,
# Volume you'd like to take a snapshot of
[Parameter(Mandatory=$true,Position=1,ParameterSetName="volume")]
[string]
$Volume,
# Volume collection you'd like to take a snapshot of.
[Parameter(Mandatory=$true,Position=1,ParameterSetName="volumeCollection")]
[string]
$VolumeCollection,
$Description,
[switch]
$Online,
[switch]
$Writable
)
Begin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2015 09:01 AM