informatique:windows:powershell
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
informatique:windows:powershell [2022/03/04 14:32] – yahiko | informatique:windows:powershell [2022/06/10 12:41] – yahiko | ||
---|---|---|---|
Line 15: | Line 15: | ||
Attention, c'est très sale : | Attention, c'est très sale : | ||
<codedoc code: | <codedoc code: | ||
- | REM Powershell.exe -NoProfile -ExecutionPolicy bypass -File " | + | Powershell.exe -NoProfile -ExecutionPolicy bypass -File " |
</ | </ | ||
Source : [[https:// | Source : [[https:// | ||
Line 99: | Line 99: | ||
<codedoc code: | <codedoc code: | ||
Add-Computer -DomainName DOMAINE.LOCAL -Credential DOMAINE\administrateur -Restart -Force | Add-Computer -DomainName DOMAINE.LOCAL -Credential DOMAINE\administrateur -Restart -Force | ||
+ | </ | ||
+ | |||
+ | ===== Récupérer le GUID des volumes ===== | ||
+ | <codedoc code: | ||
+ | GWMI -namespace root\cimv2 -class win32_volume | FL -property DriveLetter, | ||
</ | </ | ||
informatique/windows/powershell.txt · Last modified: 2023/09/14 08:45 by yahiko