- Community Home
- >
- Storage
- >
- HPE Nimble Storage
- >
- Application Integration
- >
- find the last snapshot with powershell
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
тАО08-30-2017 06:18 AM
тАО08-30-2017 06:18 AM
when you do a get-nssnapshot, you get in return the volume name and the ID. But no creation date.
How is it possible to find the last snapshot then?
thanks a lot for the assistance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2017 07:55 AM
тАО08-30-2017 07:55 AM
SolutionThe way I've handled this in the past is to sort by the id as those are created in sequence. The greatest snapshot id will be the latest snapshot.
Get-NSSnapshot -vol_name Volume1 | Sort-Object -Property id | Select-Object -Last 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2017 12:05 AM
тАО08-31-2017 12:05 AM
Re: find the last snapshot with powershell
ths is working 100%. Nimble could return all properties (inl. dates and so).
Now working forward on my scripts =)
(after finding snapshot, now cloning and mountng)