Loading ...

RMM Automation: SMB Scanner Folder & User Creation

Posted in : Automation, RMM
One thought on “RMM Automation: SMB Scanner Folder & User Creation

Recently have seen that SMB is turned off in many Windows 10 installations, so here is an additional piece to add to the script to open those firewall ports:

#Set firewall rules to enable for ports 139 & 445 SMB File Sharing

Get-NetFirewallRule | Where {$_.DisplayName -eq “File and Printer Sharing (SMB-In)” -and $_.Profile -eq “Private”} | Enable-NetFirewallRule
Get-NetFirewallRule | Where {$_.DisplayName -eq “File and Printer Sharing (NB-Session-In)” -and $_.Profile -eq “Private”} | Enable-NetFirewallRule

Reply

Leave a Reply

Your email address will not be published.

Categories

Evaluation Signup

    Something went wrong, try refreshing and submitting the form again.