Compare MD5 Checksum of two files in Powershell

I was recently looking at comparing the MD5 checksum of two files using the  MD5CryptoServiceProvider class in Windows Powershell. Firstly, we will need to create the ‘System.Security.Cryptography.MD5CryptoServiceProvider’ object within our session and store this as a variable. $MD5 = New-Object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider Once the object has been created we can now compare the MD5 checksum … More Compare MD5 Checksum of two files in Powershell

Report status of MOVEit Central tasks to Nagios XI

I recently had the requirements to enable the reporting of tasks runs for MOVEit Central to Nagios XI, with the following: For each task report the status of the last task run. Return a status of ‘OK’ where the task run status is reported as ‘Success’ or ‘No xfers’. Return a status of ‘Critical’ where … More Report status of MOVEit Central tasks to Nagios XI

vRanger Pro Powershell: Could not connect to http://localhost:2480/VAPIHost.svc

I recently compiled a number of powershell scripts (https://deangrant.wordpress.com/2013/10/01/report-job-status-from-vranger-to-nagios/)  with the vRanger Pro Powershell snap-in which queried the job status, using the Get-JobTemplate cmdlet. I have since noticed I have received an error message on a number of occasions where the status is failed to be retrieved with the following: Get-JobTemplate : Could not connect … More vRanger Pro Powershell: Could not connect to http://localhost:2480/VAPIHost.svc

Patch Management with Windows Update Server and WuInstall

I was recently looking to schedule approved updates from Windows Update Server and schedule updates with finer granularity than those provided by the Windows Update Services client. I discovered a command line utility called WuInstall  (http://www.wuinstall.com/index.php/en) which allows for updates to be installed on demand. As part of this solution, I still required updates to … More Patch Management with Windows Update Server and WuInstall