$AllVMs = Get-VM  | where-object { $_.ExtensionData.summary.config.ManagedBy.Type -ne "placeholderVm" } 
$data = $AllVMs | `
    Select-Object Name, `
    VMHost, `
    UsedSpaceGB, `
    ProvisionedSpaceGB #, `
    #@{n = 'Disks'; e = { $_ | Get-HardDisk | Select Name, FileName, CapacityGB } }, `
    #@{n = 'VRDatastore'; e = { ($_ | Get-TagAssignment | Where-Object Tag -like "*_VR").Tag } } `
    #@{n = 'PortGroups'; e = { $_ | Get-VirtualPortGroup } }

$data | export-csv "C:\users\zmeier\desktop\VMs_20200122.csv"

get-vm itdvmpsc1*,itdvmvc1*,itdvmpsc2*,itdvmvc2* | new-snapshot -name "VC1-6.7 U3-Stage1 Complete"