Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Windows Server 2008 R2 - PowerShell 2.0 - Delete a User Name or Group on Share Permissions

$
0
0

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




Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>