11/1/2023 0 Comments File server permissions report![]() #Convert Powershell Provider Folder Path to standard folder path $folders = Get-ChildItem -path $path -force -recurse | Where $spacelist | format-table | Out-File -append "C:\Powershell\Results\$filename" $datelist | format-table | Out-File -append "C:\Powershell\Results\$filename" $list | format-table | Out-File "C:\Powershell\Results\$filename" $list = "Permissions for directories in: $Path" $filename = Read-Host "Enter Output File Name" $path = Read-Host "Enter the path you wish to check" After looking at multiple scripts and modifying them to suit my needs, I think I have a pretty decent solution to the request that was made.ġ) Copy the following code into a text editor and save the file as C:\PowerShell\GetAllACL.ps1 So I decided to see how I could get PowerShell to do this. I recently had a request to report the NTFS permissions on a Windows File Share and all it’s sub-directories. As I mentioned in my previous post, I am new to the PowerShell arena.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |