To view NTFS permissions for folders or files, use Get-Acl. It won't show you the actual permissions at first, but you can make them visible like this:
Get-Acl -Path $env:windir | Select-Object -ExpandProperty Access
Explore all the products and find the right solution for your business
Explore all the products and find the right solution for your business
Explore all the products and find the right solution for your business
by ps1Jul 4, 2011
To view NTFS permissions for folders or files, use Get-Acl. It won't show you the actual permissions at first, but you can make them visible like this:
Get-Acl -Path $env:windir | Select-Object -ExpandProperty Access