Get-NFTSAccess with network share

Jan 12, 2015 at 12:50 PM
Edited Jan 12, 2015 at 12:54 PM
Hi,
I have a question about using GET-NTFSAccess, Is any possible to use GET-NTFSAccess with switch -Path UNC path like "\\NameServer\SharedFolder"

Thanks for any help.
Coordinator
Feb 18, 2015 at 7:51 AM
Hi,

this should work. There was an issue with the way the module gets inheritance-from information. This is fixed and should work now.

Can you give it another try?

Thanks,
Raimund
Dec 11, 2015 at 6:33 AM
Thanks Raimund, but still I can't get effective permission of network share if user has no access.

PS C:\Windows\system32> Get-NTFSAccess -path \pruasia\sgrho$\Common\adi
Path: \\pruasia\sgrho$\Common\adi (Inheritance disabled)

Account Access Rights Applies to Type IsInherited InheritedFrom

NT AUTHORITY\SYSTEM FullControl ThisFolderSubfoldersAn... Allow False
BUILTIN\Administrators FullControl ThisFolderSubfoldersAn... Allow False
PRUASIA\aditya.sharma Modify, Syn... ThisFolderSubfoldersAn... Allow False
PRUASIA\friowin09 FullControl ThisFolderSubfoldersAn... Allow False
PRUASIA\Dominique.Truong Modify, Syn... ThisFolderSubfoldersAn... Allow False


PS C:\Windows\system32> Get-NTFSAccess -path \pruasia\sgrho$\Common\adi -Account pruasia\prabhu
PS C:\Windows\system32> Get-NTFSAccess -path \pruasia\sgrho$\Common\adi -Account pruasia\friowin09
Path: \\pruasia\sgrho$\Common\adi (Inheritance disabled)

Account Access Rights Applies to Type IsInherited InheritedFrom

PRUASIA\friowin09 FullControl ThisFolderSubfoldersAn... Allow False