HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Array Setup and Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

Get the creation date of volume's

 
SOLVED
Go to solution
jthave97
Occasional Contributor

Get the creation date of volume's

Hi,

Is there a way how to get the creation date of the volumes on an array, by example commanline of powerhsell toolkit?

3 REPLIES
wvanhoolst45
Valued Contributor
Solution

Re: Get the creation date of volume's

Hi Jeroen,

Yes, you can get the creation date of a volume by typing next command :

vol --info volumename

and the creation time will show up together with a lot of other usefull information.

Have fun

Re: Get the creation date of volume's

If you want the powershell method to retrieve this data, use the following PowerShell command

Connect-NsGroup -group IPADDRESS -cred $(get-credential)

(Get-NsVolume -name VolName).id | Get-Date 

The reason you need to pipe the output of the creation time to the Get-Date command is because the creation time is stored in epoch format, and Get-Date will convert it to human friendly terms.

jthave97
Occasional Contributor

Re: Get the creation date of volume's

Hi I've tried this but I'm not getting any output.....