Backtrack:  
 
by lunarg on February 18th 2021, at 17:35

Offline installation of PowerCLI module is possible by following these easy steps:

  1. Uninstall all older PowerCLI software (6.5R1 or earlier).
  2. Download the PowerCLI offline bundle (ZIP-file) from the PowerCLI home page.
  3. Transfer the ZIP to the machine on which PowerCLI is to be installed.
  4. Open Powershell on the target machine.
  5. To determine the modules folder paths, run this:
    $env:PSModulePath
    The modules will have to be extracted in one of the folders from the output of the above command. Both user-based and machine-based installation is possible (e.g. C:\Windows\System32\WindowsPowerShell\v1.0\Modules).
  6. Extract the contents of the ZIP file directly into the folder.
  7. For Windows, run this command to unblock the files (they are considered foreign):
  8. Get-ChildItem -Path 'path\to\modules\folder' -Recurse | Unblock-File
  9. Optionally, verify the successful installation:
    Get-Module VMware* -ListAvailable
 
 
« June 2025»
SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
22232425262728
2930     
 
Links
 
Quote
« Debating Windows vs. Linux vs. Mac is pointless: they all have their merits and flaws, and it ultimately comes to down to personal preference. »
Me