PowerTip: Use PowerShell to Audit Shares

Summary: Use Windows PowerShell in Windows 8.1 to audit shares on a workstation.

Hey, Scripting Guy! Question Is there an easy way to use Windows PowerShell to identify shares on a workstation and who has access to them?

Hey, Scripting Guy! Answer Use a combination of the Get-SMBShare and Get-SMBShareAccess cmdlets:

Get-SMBShare | Get-SMBShareAccess

Comments (0)

Skip to main content