- Community Home
- >
- Storage
- >
- HPE Nimble Storage
- >
- HPE Nimble Storage Solution Specialists
- >
- Re: Powershell Toolkit Usage
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
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
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-13-2019 10:15 AM
тАО05-13-2019 10:15 AM
Hi All,
We are trying to automate some stuff using the PSK, but when I went from v1 to v3 of the toolkit I noticed a couple cmdlets were not in the new toolkit. Then when I load both modules v1 and v3 I get some cmdlet errors or now i need to specify the module. The cmdlet I need which doesn't exist in v3 is "New-NSclone", does this psk have a different cmd for cloning in the newer version or do we just switch back to v1? I don't mind writing to bounce between the two modules, but it seemed like i was missing something I couldn't find seaching myself.
Thank you,
Pah
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2019 08:39 AM
тАО05-17-2019 08:39 AM
SolutionYes, it is there, but it has been moved to the proper place according the API.
The command you want is called New-NSVolume but you use the argument -parent? somthing to specify the parent snapshot or the parent clone to create it from.
You will need to get the ID of the snapshot or parent volume ID that you want to create it from.
"New-NSVolume -parent_snap_id $MySnapID -clone.
Thanks
Dinesh Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2019 08:42 AM
тАО05-17-2019 08:42 AM
Re: Powershell Toolkit Usage
To get the snapshot id, use $MySnapID = (Get-snapshot -vol_name "MyVolume" -name "MySnapShotName" ).id