Update Wazuh/README.md

This commit is contained in:
Willy 2026-06-09 23:43:51 +02:00
parent 3c47830094
commit 01beeebc72

View file

@ -124,9 +124,7 @@ Le principe : activer le **Script Block Logging** de PowerShell (génère l'**Ev
**Méthode registre** (fonctionne sur toutes les éditions, y compris Win11 Home). PowerShell **en administrateur** : **Méthode registre** (fonctionne sur toutes les éditions, y compris Win11 Home). PowerShell **en administrateur** :
```powershell ```powershell
$base = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging" $base = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging" ; New-Item -Path $base -Force | Out-Null ; Set-ItemProperty -Path $base -Name "EnableScriptBlockLogging" -Value 1 -Type DWord
New-Item -Path $base -Force | Out-Null
Set-ItemProperty -Path $base -Name "EnableScriptBlockLogging" -Value 1 -Type DWord
``` ```
**Méthode GPO** (Win11 Pro) : `gpedit.msc`*Configuration ordinateur**Modèles d'administration**Composants Windows**Windows PowerShell***Activer la journalisation des blocs de script PowerShell****Activé**. **Méthode GPO** (Win11 Pro) : `gpedit.msc`*Configuration ordinateur**Modèles d'administration**Composants Windows**Windows PowerShell***Activer la journalisation des blocs de script PowerShell****Activé**.