39 lines
1.0 KiB
Markdown
39 lines
1.0 KiB
Markdown
# Utilisation des commandes dans PowerShell
|
|
|
|
Articles documentation Microsoft, aide communaitaire (ex. SpiceWork) et experts.
|
|
|
|
Avec cas d'utilisations.
|
|
|
|
## Configuration Windows Server
|
|
|
|
- réglages interface réseau
|
|
- le DHCP
|
|
|
|
|
|
## l'AD
|
|
|
|
<https://docs.microsoft.com/en-us/powershell/module/activedirectory/new-aduser?view=windowsserver2019-ps>
|
|
|
|
<https://docs.microsoft.com/en-us/powershell/module/activedirectory/new-adorganizationalunit?view=windowsserver2019-ps>
|
|
|
|
## Partage de fichiers SMB
|
|
|
|
<https://docs.microsoft.com/en-us/powershell/module/smbshare/set-smbshare?view=windowsserver2019-ps>
|
|
|
|
## Contrôle à distance
|
|
|
|
Contrôle d'un ordinateur via WinRM ou SSH.
|
|
|
|
### SSH
|
|
|
|
<https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/ssh-remoting-in-powershell-core?view=powershell-7.1>
|
|
|
|
## Ecriture de scripts
|
|
|
|
<https://docs.microsoft.com/en-us/powershell/scripting/learn/ps101/09-functions?view=powershell-7.1>
|
|
|
|
## Sortie script
|
|
|
|
<https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/tee-object?view=powershell-7.1>
|
|
|
|
## |