Files
tldr/pages.fr/common/powershell.md
2023-11-13 07:06:11 +01:00

33 lines
924 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# powershell
> Interface en ligne de commande et langage de script spécialement conçu pour l'administration système.
> Plus d'informations : <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_pwsh>.
- Démarre une session Windows PowerShell dans une fenêtre d'invite de commande :
`powershell`
- Charge un fichier de console PowerShell spécifique :
`powershell -PSConsoleFile {{chemin/vers/fichier}}`
- Démarre une session avec une version spécifiée de PowerShell :
`powershell -Version {{version}}`
- Empêche linterface système de se fermer après avoir exécuté les commandes de démarrage :
`powershell -NoExit`
- Décrive le format des données envoyées à PowerShell :
`powershell -InputFormat {{Texte|XML}}`
- Détermine comment la sortie de PowerShell est formatée :
`powershell -OutputFormat {{Texte|XML}}`
- Affiche l'aide :
`powershell -Help`