Tag: Powershell

Windows Windows Server

Disable Windows Firewall With PowerShell

Reading Time: < 1 minute Welcome all, to the age of the gui-less windows server. As more and more people spin up labs with command-line only boxes, this command can be helpful. Remember to only turn off your firewall in lab environments where you know you’re not exposing  yourself to additional risk. Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False   To do […]

Matt Hansen 
Misc. Scripting Windows Server

Powershell Script to Test SMTP

Reading Time: < 1 minute This one is going to be short and sweet, I’ve been testing SMTP with and without encryption and wanted a good script for that. Here are the lines that you’ll want to look at configuring: Line 5: “$smtpServer =”InsertYourSmtpServerHere” Line 12: Change the $false value to $true if you want to encrypt your SMTP with […]

Matt Hansen