LucD
Leadership
Leadership

These are just warnings. They are there to inform you which properties might disappear in a future release, and hence not to use them anymore in your scripts.

You can suppress them by using the DisplayDepreciationWarnings switch on the Set-PowerCLIConfiguration cmdlet.

The New-VM cmdlet will place the PowerCLI object for the newly created VM in the pipeline.

Those are the 5 last lines you see in the output.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference