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 2021»
SunMonTueWedThuFriSat
  12345
6789101112
13141516171819
20212223242526
27282930   
 
Links
 
Quote
« Have you tried turning it off and on again? »
The IT Crowd