Reply to Message

View discussion in a popup

Replying to:
LucD
Leadership
Leadership

Very strange.

I ran the code you provided above, and only changed the VM and the time, and that created a scheduled task without a problem.

There might be something fishy with your PowerCLI installation.


Do you have the authority and time to uninstall your current PowerCLI (just remove the VMware folders).

You can check if there are any VMware folders left in any of the folders listed by $env:PSModulePath.Split(';')

Then do a fresh install with (requires Internet access).

Install-Module -Name VMware.PowerCLI


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

View solution in original post

Reply
0 Kudos