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
Toshiba Power Management
Batch File - Rename file to todays date . extenstion
won't boot to normal mode, only safe mode
how can I make cluster of servers (apache, mysql,php) using fedora core 4
How to search for an multiple elements in an array in actionscript 3.0
Virus Attack on Domain - Event ID 12294 (SAM) & Event ID 644, 675 = Net-Worm.Win32.Kido
UPDATE another database from stored procedure
Error when trying to delete a record
problem importing .sql file from MySQL 4.1.7-nt to MySQL 4.0.22-standard
Creating a disolve off and Disolve on transition of the pages with the button staying active