question

NainZumran-5900 avatar image
0 Votes"
NainZumran-5900 asked SunnyQi-MSFT commented

How to add problemShares with arrShareInfo?

Hello so far I made a PowerShell script in a post that can record file shares and place them in a txt file from one server. Here is the PowerShell script: https://social.technet.microsoft.com/Forums/lync/en-US/bbb2ed06-2eef-461c-a777-f02f60b18495/script-list-ntfs-folders-permissions?forum=ITCG


I got it working for multiple servers. However I was wondering how to add the problemShares with the arrshareinfo information? When I try adding it either clears the file or it does not get added at all.

Any help is greatly appreciated!

windows-server
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

You probably should post the code that you are actually running. Did you include the code snippet from the "Here is how to make that actually work." answer? The $ProblemShares variable is not referenced in the accepted answer in that post.

0 Votes 0 ·

Hi,

Please kindly share the the script with us for further troubleshooting.

Best Regards,
Sunny

0 Votes 0 ·

Hi,


Just want to confirm the current situations.


Please feel free to let us know if you need further assistance.


Best Regards,
Sunny

0 Votes 0 ·

0 Answers