Compare commits

...

5 Commits

Author SHA1 Message Date
Simon404 3324dcaa88 notes.md 2021-08-12 22:25:12 +02:00
Simon404 e9f6012a6b kb_commands.md
Recensement des articles consultés + cas d'utilisation.
2021-08-12 18:54:45 +02:00
Simon404 a217dfce05 notes.md
chemin corrigé
2021-08-12 18:23:52 +02:00
Simon404 c8fc9625a8 erreur repertoire 2021-08-12 18:23:13 +02:00
Simon404 7736ef3e18 notes.md 2021-08-12 18:20:13 +02:00
3 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# Raccourcis et réglages
- CTRL + E : option de la fenêtre active
- Touche Méta (Alt) + clic pour déplacer fenêtres trop larges
- F12 : Menu racine
- Commandes : arranger les icônes / cacher etc.
- Méta + H : masquer fenêtre ouverte
<http://www.windowmaker.org/docs/chap2.html>
<http://www.windowmaker.org/docs/chap3.html>

View File

@ -0,0 +1,5 @@
# Récupérer les répertoires Home des utilisateurs de Linux :
`cat /etc/passwd | awk -F: '{printf "User %s Home %s\n", $1, $6}'`
Source : <https://stackoverflow.com/a/491924>

View File

@ -0,0 +1,39 @@
# 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>
##