Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

PowerCLI 10.2 Get-VM error #3

Open
jwegner89 opened this issue Sep 17, 2018 · 0 comments
Open

PowerCLI 10.2 Get-VM error #3

jwegner89 opened this issue Sep 17, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jwegner89
Copy link
Owner

jwegner89 commented Sep 17, 2018

In version 10.2 of PowerCLI, the Get-VM command will fail, causing all current VMs to be deleted since the VM array will be empty.

A workaround is to use $VMs = Get-VM -Name "*", which will bypass the issue of unavailable VMs.

@jwegner89 jwegner89 self-assigned this Sep 17, 2018
@jwegner89 jwegner89 added the bug Something isn't working label Sep 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant