informatique:vmware:powercli_installation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| informatique:vmware:powercli_installation [2020/03/30 20:17] – didzkovitchz | informatique:vmware:powercli_installation [2022/06/24 14:54] (current) – didzkovitchz | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== PowerCLI |
| - | ===== Installation de PowerCLI ===== | + | ===== Installation de PowerCLI |
| + | Il suffit de faire : '' | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | ===== Installation de PowerCLI sur un PC/serveur offline (sans connexion Internet) ===== | ||
| Cette procédure permet de télécharger la dernière version de PowerCLI. | Cette procédure permet de télécharger la dernière version de PowerCLI. | ||
| Line 11: | Line 16: | ||
| Dans l' | Dans l' | ||
| Puis lancer la commande PowerShell suivante : | Puis lancer la commande PowerShell suivante : | ||
| + | |||
| < | < | ||
| Save-Module VMware.PowerCLI -Path $env: | Save-Module VMware.PowerCLI -Path $env: | ||
| Line 17: | Line 23: | ||
| Une fois le téléchargement terminé, nous obtenons les dossiers suivants : | Une fois le téléchargement terminé, nous obtenons les dossiers suivants : | ||
| - | {{:espace_bua:exploitation: | + | | {{:informatique:vmware: |
| - | Copier le dossier '' | + | Copier |
| + | '' | ||
| + | <note important> | ||
| + | |||
| + | '' | ||
| Pour voir les emplacements pouvant héberger des modules PowerShell : | Pour voir les emplacements pouvant héberger des modules PowerShell : | ||
| Line 32: | Line 42: | ||
| Ensuite pour importer les modules PowerCLI dans une console PowerShell, taper au choix une des deux commandes ci-dessous : | Ensuite pour importer les modules PowerCLI dans une console PowerShell, taper au choix une des deux commandes ci-dessous : | ||
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| Exemple : | Exemple : | ||
| < | < | ||
| - | PS C:\Users\didier.loussouarn> import-module VMware.PowerCLI | + | PS C:\Users\utilisateur> import-module VMware.PowerCLI |
| Welcome to VMware PowerCLI! | Welcome to VMware PowerCLI! | ||
| Line 50: | Line 60: | ||
| - | PS C:\Users\didier.loussouarn> | + | PS C:\Users\utilisateur> |
| </ | </ | ||
| Line 67: | Line 76: | ||
| Use Set-PowerCLIConfiguration to set the value for the InvalidCertificateAction option | Use Set-PowerCLIConfiguration to set the value for the InvalidCertificateAction option | ||
| to Prompt if you’d like to connect once or to add a permanent exception for this server.</ | to Prompt if you’d like to connect once or to add a permanent exception for this server.</ | ||
| - | Dans ce cas il faut lancer la commande suivante pour ignorer la vérification des certificats : | + | Dans ce cas il faut lancer la commande suivante pour ignorer la vérification des certificats :\\ |
| '' | '' | ||
| </ | </ | ||
| - | {{tag> VMware Virtualisation PowerShell PowerCLI }} | + | |
| + | ===== Désactivation partitipation CEIP ===== | ||
| + | |||
| + | Il faut saisir la commande suivante pour ne pas être pollué à chaque lancement de PowerCLI : | ||
| + | |||
| + | < | ||
| + | Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $false | ||
| + | </ | ||
| + | |||
| + | {{tag> VMware Virtualisation PowerShell PowerCLI | ||
informatique/vmware/powercli_installation.1585592236.txt.gz · Last modified: 2020/03/30 20:17 by didzkovitchz
