Category: Scripting

Scripting Windows Windows Server

PowerShell Script to Check Symantec Endpoint Protection Definition Updates

Reading Time: 2 minutesSymantec Endpoint Protection has quite a hold on the Anti-Virus market share. Many have environments where it’s used, and may not be the administrators or even able to view data from the Symantec Endpoint Protection Manager. In light of that, I’ve written a PowerShell script to check the last update time for SEP definitions that […]

Matt Hansen 
Scripting System Center

Powershell Script to check if SQL is Installed

Reading Time: < 1 minuteHere we go, short but sweet. I had to come up with this today when working with a SQL Server compliance item in SCCM 2012 using a script detection method. I’ve added the else back in, but you can modify however you need. if (Test-Path “HKLM:\Software\Microsoft\Microsoft SQL Server\Instance Names\SQL”) { write-host “True” } Else { […]

Matt Hansen 
Misc. Scripting Windows Server

Powershell Script to Test SMTP

Reading Time: < 1 minuteThis 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