Array Setup and Networking
1753765 Members
5903 Online
108799 Solutions
New Discussion юеВ

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 3
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

Chris_Lionetti
HPE Pro

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.

Chris Lionetti
jthave97
Occasional Contributor

Re: Get the creation date of volume's

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