You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 9, 2020. It is now read-only.
Hi
I have a script for exporting VM Details like Tags, etc. which works since months.
My collegue updated our Vcenter from 6.0 to 6.5 and since than I didn't get the Tags anymore.
I installed "VMware-PowerCLI-6.5.0-4624819.exe" and also Powershell 5.1 "Win8.1AndW2K12R2-KB3191564-x64.msu" on the webcommander Server but the Problem persists.
It still works If i run the Script in ISE on the Webserver where Webcommander is running .
Part of the script:
$getCategory = Get-TagCategory
foreach ($cat in $getCategory) {
->with webcommander it's not going inside the loop.
Another Test:
$GetVms = Get-VM | Where-Object {$_.PowerState -eq "PoweredOn"}
foreach ($vm in $GetVms) {
$vm.name
->this is working with webcommander
$test = ($vm | Get-TagAssignment –Category "Stage").Tag.name
->with webcommander the variable $test is empty
}
Any Ideas or a known bug? Any hint is appreciated.