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
 
 
« July 2022»
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930
31      
 
Links
 
Quote
« Smith & Wesson - the original point and click interface »