Hi All,
I can get the folder permission by following script.
Working Script:Get-ChildItem -path \\ABC.XYZ.net\FOLDER -Recurse |?{$_.PsIsContainer } |get-acl | select-object path,owner,fullname,accesstostring,group | export-csv "D:\NAS\NASPROD2.csv" But how do i run this for just 2 depth.
How do i compare Nas1 and Nas2 ?
AS