-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
79 Find VMs in Uncontrolled Snapshot Mode.ps1 #478
Comments
Hmm, I can't seem to figure out how to paste the entire error properly but I think you get the point. |
Hi rogersa2k, I think the issue is that the statement prior is not finding any data so $fileList is not defined. Try this Replace line 9 with the following if ( $fileList -ne $null ) { Hopefully this will fix the issue. |
Yep, I think danimalrowe is right on this one. We can just cast $filelist as an array as well, which should fix it without additional lines of code. |
Just puushed an update to the dev branch which seems to fix this for me. Let me know if you still have issues. |
I just upgraded to 6.23 and when I run it I get the following:
The text was updated successfully, but these errors were encountered: