Invoke-SshCommand
Aller à la navigation
Aller à la recherche
| Fiche express | |
|---|---|
| Domaine | SSH depuis PowerShell |
| Base | Bibliothèque SSH.NET |
Invoke-SshCommand permet d'exécuter des commandes SSH depuis PowerShell. Sur les versions historiques, cette fonctionnalité repose sur la bibliothèque tierce SSH.NET.
⚠️ Depuis Windows 10 / Server 2019, un client OpenSSH natif est disponible : on peut
alors utiliser directement ssh ou le module Posh-SSH.
Ressources
- SSH.NET (bibliothèque .NET pour SSH)
- Module
Posh-SSH(PowerShell Gallery)
Voir aussi
- Invoke-Command — exécution distante native (WS-Man)