-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGet_VM_Extension_Data.ps1
56 lines (56 loc) · 1.34 KB
/
Get_VM_Extension_Data.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# /=======================================================================
# /=
# /= Get_VM_Extension_Data.ps1
# /=
# /= AUTHOR: Jake Bentz
# /= DATE: 06/26/2018
# /=
# /= REQUIREMENTS: N/A
# /=
# /= DESCRIPTION: This script uses Get-View to list extension data for a given VM
# /= Twitter: @TripDeezil
# /=
# /= REVISION HISTORY
# /= VER DATE AUTHOR/EDITOR COMMENT
# /= 1.0 06/26/2018 Jake Bentz Created script
# /=
# /=======================================================================
#
$guest = Read-Host "VM Name"
$VM = get-vm $guest | get-view
$VM.Capability
$VM.Config
$VM.Config.Files
$VM.Config.Tools
$VM.Config.Flags
$VM.Config.ConsolePreferences
$VM.Config.DefaultPowerOps
$VM.Config.Hardware
$VM.Config.CpuAllocation
$VM.Config.MemoryAllocation
$VM.Config.LatencySensitivity
$VM.Config.BootOptions
$VM.Config.VAppConfig
$VM.Config.InitialOverhead
$VM.Layout
$VM.Storage
$VM.ResourceConfig
$VM.ResourceConfig.CpuAllocation
$VM.ResourceConfig.MemoryAllocation
$VM.Runtime
$VM.Runtime.DasVmProtection
$VM.Guest
$VM.Guest.IpStack
$VM.Guest.IpStack.DnsConfig
$VM.Guest.IpStack.IpRouteConfig
$VM.Guest.Disk
$VM.Guest.Screen
$VM.Summary
$VM.Summary.Runtime
$VM.Summary.Guest
$VM.Summary.Config
$VM.Summary.Storage
$VM.Summary.QuickStats
$VM.Snapshot
$VM.Client
$VM.Client.ServiceContent