finding shared folders on remote servers Using PowerShell


Use the below snippet code to check the shared folders on remote servers

#Check the shared folders on remote servers.

invoke-command -computername Server1,Server2 -ScriptBlock{ Get-SmbShare}

Regards,

Chaitanya

Leave a comment

Design a site like this with WordPress.com
Get started