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
 
 
« April 2024»
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
282930    
 
Links
 
Quote
« When a bird does poo poo in your eye, be happy elephants don't fly. »