4 Responses

  1. misdemeanor
    misdemeanor 23 April 2018 at 13:04 |

    Dear Bioffa,

    I was looking for a way to run a PowerCLI script automatically and found your article to be very helpful. However, since I’m running PowerCLI 6.5 (factually Release 1 build 4624819) your statement “POST PowerCli 6” was not working as expected.

    I don’t know if this was an upgraded installation of PowerCLI or a fresh one on that machine, either way I’m running Windows Server 2012 R2 (64-bit of course) and the arguments path is as follows:

    -c “. \”C:Program Files (x86)VMwareInfrastructurePowerCLIScriptsInitialize-PowerCLIEnvironment.ps1” $true; D:Pathtomyscript.ps1″

    It seems that over time VMware has changed the path pattern and since this might be helpful also to others I would like to add that statement / comment to your blog.



Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: