Skip to content

vPower

Reblog by Anupam Pushkar

Category Archives: Uncategorized

PS: Datastore Name+ NAA ID+ FreeSpace +Capacity

Get-Datacenter <Datacenter Name> | Get-Cluster “<Cluster name>”| Get-VMHost | Get-Datastore | select name , @{N=’CanonicalName’;E={$_.ExtensionData.Info.Vmfs.Extent[0].DiskName}}, FreeSpaceMB, CapacityMB | Export-Csv C:\Users\anupampushkar\Desktop\EAP-SQL-RDM.csv  

Posted byrajwansh02003August 14, 2016Posted inUncategorizedLeave a comment on PS: Datastore Name+ NAA ID+ FreeSpace +Capacity

PS: VM name + Datastore name + NAA ID

Import-Csv <Path>| foreach { Get-VM $_.VMmachine | Select Name,@{N=”Datastore”;E={Get-Datastore -VM $_}} ,@{N=”DatastoreNAA”;E={ Get-Datastore -VM $_ | select @{N=’CanonicalName’;E={$_.ExtensionData.Info.Vmfs.Extent[0].DiskName}} }} } | export-csv <Path>  

Posted byrajwansh02003August 1, 2016Posted inUncategorizedLeave a comment on PS: VM name + Datastore name + NAA ID

vExpert 2016 Award Announcement

Congratulation to Everyone. ! http://blogs.vmware.com/vmtn/vexpert

Posted byrajwansh02003February 8, 2016Posted inUncategorizedLeave a comment on vExpert 2016 Award Announcement

Posts pagination

Newer posts 1 … 12 13 14 15 16 … 25 Older posts
vPower, Blog at WordPress.com.
  • Subscribe Subscribed
    • vPower
    • Already have a WordPress.com account? Log in now.
    • vPower
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar