Microsoft
Software
Hardware
Network
Question : Need a PowerShell script to list shares and share permissions residing on a remote server
I'm a VERY new user to powerShell and would like to get a listing of the shares and share permissions on remote servers. I know the start is "Get-WMIObject Win32_Share -computername myserver" but beyond that I haven't been successful. What I'm looking for is something like the following:
Sharename
User1 - modify
User2 - readOnly
Domain Admins - full
Answer : Need a PowerShell script to list shares and share permissions residing on a remote server
Ah... that is quite another beast.
unfortunately, I believe you need to rely on an external app for this one
rmtshare (from NT 4.0 reskit)
This assumes rmtshare is in your path.
1: 2:
$results = rmtshare.exe $share $results | ?{$_ -match "\w+\\.+\:"}
Open in New Window
Select All
Random Solutions
Combining multiple rows into a single column
Do Country Code Domain Extensions affect SEO?
Redirect <a rel="nofollow" href="http://" target="_blank">http://</a> to <a rel="nofollow" href="Https://" target="_blank">Https://</a> for users accessing OWA
TS Licensing Issue- 2003 server
get mysql field comments
Macro creating a chart from table doesn't work
HTTPS File Transfer over Websphere
Corrupt Ghost image file
Using Exmerge on Exchange 5.5 with mailbixes > 2Gb
Access 2007 Record-Locking Information file does not automatically delete, and cannot be deleted.