sysadmin:installare_powercli
Differences
This shows you the differences between two versions of the page.
| sysadmin:installare_powercli [ 7/05/2020 08:52] – created - external edit 127.0.0.1 | sysadmin:installare_powercli [ 2/02/2023 05:00] (current) – [Host connesso a Internet] lrosa | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Installare VMware PowerCLI ====== | ||
| + | |||
| + | È normale che installi NuGetProvider. | ||
| + | |||
| + | =====Host connesso a Internet===== | ||
| + | <code powershell> | ||
| + | Find-Module -Name VMware.PowerCLI | ||
| + | Install-Module -Scope AllUsers -Name VMware.PowerCLI</ | ||
| + | |||
| + | Se dà un errore di downlod eseguire questo comando: | ||
| + | <code powershell> | ||
| + | =====Host non connesso a Internet===== | ||
| + | Da un host connesso a Internet: | ||
| + | <code powershell> | ||
| + | Find-Module -Name VMware.PowerCLI | ||
| + | Save-Module -Name VMware.PowerCLI -Path C: | ||
| + | </ | ||
| + | '' | ||
| + | |||
| + | Una volta scaricati i file, copiarli sul sistema sconnesso da Internet e su quel sistema digitare questo al prompt di PowerShell | ||
| + | <code powershell> | ||
| + | Copiare i file scaricati in uno dei path indicati. | ||
| + | |||
| + | =====Settare le impostazioni di default===== | ||
| + | <code powershell> | ||
| + | |||
| + | =====Usare PowerCLI===== | ||
| + | <code powershell> | ||
| + | |||
| + | =====Creare shortcut sul desktop===== | ||
| + | Creare uno shortcut con questo target: | ||
| + | |||
| + | C: | ||
| + | |||
| + | =====Aggiornare il modulo===== | ||
| + | <code powershell> | ||
| + | |||
| + | |||
