Hi Matt, this is very helpful. What if I wanted to do this:
Get-SmbShare | Get-SmbShareAccess | Export-Csv "temp.csv" -NoTypeInformation And then, if the shares get corrupted or we want to restore the permissions, how do we use the .csv to do that? I just need to know how to set up the variables so that we can run a restore script and put everything back as before.
You need to login in order to comment or like this post: apply here