informatique:windows:powershell
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
informatique:windows:powershell [2025/05/12 14:20] – yahiko | informatique:windows:powershell [2025/05/12 15:05] (current) – yahiko |
---|
<code powershell> | <code powershell> |
Get-ADGroupMember -Identity "Communication" | Format-Table Name, DistinguishedName | Get-ADGroupMember -Identity "Communication" | Format-Table Name, DistinguishedName |
| </code> |
| |
| ===== Vérifier les droits NTFS d'un dossier ===== |
| |
| Non récursif. |
| |
| <code powershell> |
| Get-NTFSAccess 'D:\DATA\partages\dossier' |
| |
| Path: D:\DATA\partages\dossier (Inheritance enabled) |
| |
| |
| Account Access Rights Applies to Type IsInherited InheritedFrom |
| ------- ------------- ---------- ---- ----------- ------------- |
| BUILTIN\Administrateurs FullControl ThisFolderOnly Allow False |
| BUILTIN\Administrateurs FullControl ThisFolderSubfoldersAn... Allow True D: |
| AUTORITE NT\Système FullControl ThisFolderSubfoldersAn... Allow True D: |
| CREATEUR PROPRIETAIRE GenericAll SubfoldersAndFilesOnly Allow True D: |
| BUILTIN\Utilisateurs ReadAndExec... ThisFolderSubfoldersAn... Allow True D: |
| BUILTIN\Utilisateurs CreateDirec... ThisFolderAndSubfolders Allow True D: |
| BUILTIN\Utilisateurs CreateFiles ThisFolderAndSubfolders Allow True D: |
</code> | </code> |
| |
| |
informatique/windows/powershell.1747059610.txt.gz · Last modified: 2025/05/12 14:20 by yahiko