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 Reply

Create your own website, free on WordPress.com.Create your own website.
Start free