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. Required fields are marked *

Archives

Categories

Evaluation Signup

[contact-form-7 id="452" title="Free Network Evaluation"]
And God will generously provide all you need. Then you will always have everything you need and plenty left over to share with others. As the Scriptures say,
“They share freely and give generously to the poor. Their good deeds will be remembered forever.”
For God is the one who provides seed for the farmer and then bread to eat. In the same way, he will provide and increase your resources and then produce a great harvest of generosity in you. - 2 Corinthians 9:8-10