Hello.
I have a very big problem on Windows server 2008 R2 and PowerShell version 2.0.
I am trying to delete “Everyone” and add new users on Shared Folders, specifically on Share Permissions tab, but the PowerShell version is 2.0, does not have the commands to do that.
I only can access on tab Security.
I test using these commands but cannot access on the Share Permission tab.
- ICALCS
- NET SHARE
- Get-SmbShareAccess
- Remove-SmbShare
- Get-WmiObject win32_LogicalShareSecuritySetting
- GetSecurityDescriptor().Descriptor.DACL
Could someone can help me with that?
Thanks