4 Responses

  1. misdemeanor
    misdemeanor 23 Aprile 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)\VMware\Infrastructure\PowerCLI\Scripts\Initialize-PowerCLIEnvironment.ps1\” $true; D:\Path\to\my\script.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.



Lascia un commento

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.

%d blogger hanno fatto clic su Mi Piace per questo:

By continuing to use the site, you agree to the use of cookies. more information

The cookies settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then tou are consenting this.