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
how configure 2 mailbox to one user
How do you test APC powerchute network shutdown?
T-SQL - Insert Column If True
SQL Server ODBC Link to read/write access table
CD drivers won't open files.
IIS 6 - Mail server issues
Outlook Anywhere problem
MS Access 2007 runs databases very slow created in 2003 any advice?
Microsoft, Powershell, Windows Server 2008, trying to modify a local user, getttting "Exception calling "SetInfo" ...( Exception from HRESULT: 0x8007007B)"
how do i convert an access date/time field value to integer?