Scripts Downloads

Automate Config of Azure VM Remote Management in PowerShell

This script (on Github) automates the process of configuring certificates to enable remote management of an Azure VM via PowerShell remoting. Written as a function, it performs the following steps: Parses a publish settings file to get the management certificate and the subscription ID Finds the public port for Remote PowerShell of a specific Virtual […]

SCOM-Convert-Walk.ps1

Converts the HEX values in the SNMP Walk output file from the SCOM 2012 task to a human-readable format.  It also converts the HEX values to IP Address values for each IPAddress OID type. Takes a single input parameter of a text file.  This is from the SNMP Walk task in SCOM 2012.  It will […]

Bulk disable ACS Forwarders (with wildcards)

High Level Instructions. Download and unpack. Run the script in a Poweshell console. Provide RMS FQDN and wildcardsearch for the ACS Forwarders you would like to disable. Grab a Coffee Full description of the script and it’s usage is found in the original blog-post: http://www.teknoglot.se/ms/opsmgr2007/bulk-disable-acs-forwarders-with-wildcards/ First upload to SCC, please excuse any mistakes made. edit: […]

FastTrack Scripting Host

FastTrack Scripting Host is a scripting language designed specifically for systems administrators. While Microsoft moves scripting more and more towards programming, FastTrack Scripting Host heads in the opposite direction. FastTrack Scripting Host is a scripting language, but it is so high-level and easy to use that it resembles configuration more than programming. The cornerstone paradigm […]

FTP Site File Download Check (for 2-state monitor in OpsMgr 2007/2012)

This sample PowerShell script checks a remote FTP site avaiailability by connecting to the actual site, downloading a  text file and verifying the status code. The zip file download contains a script named with a _test suffix, designed for command line testing. The _prod version is designed for use in a two-state monitor using the […]

FTP Site Availability Check (for 2-state monitor in OpsMgr 2007/2012)

This sample PowerShell script checks a remote FTP site for avaiailability by connecting to the actual site and verifying the status code. The zip file download contains a script named with a _test suffix, designed for command line testing. The _prod version is designed for use in a two-state monitor using the OpsMgr 2007 R2 […]

Download Multiple FTP Files via Powershell

An extension of existing scripts, This PowerShell script leverages standard .NET methods to support download of multiple files from a remote FTP server. This version takes it’s input from a text file. This is a functional sample that could be modified or extended to support batch processing or for use in OpsMgr synthetic monitoring of […]

Reset Monitor State (in SCOM 2007)

by OpsMgr MVP Scott Moss, This code will get a list of all alerts that are closed that were created by a monitor, that are older than 1 day, and reset the monitor that created the alert. NOTE: Before running this script I would suggest getting a count of what your going to be resetting […]

Retrieve instances of a monitor in a critical state (in SCOM 2007)

by PowerShell MVP Marc van Orsouw, this PowerShell script (intermingled with bits of C#) will efficiently retrieve a list / count of monitors in a critical state in Operations Manager 2007. NOTE: This script requires PowerShell v2.0 To download, sign in and click the Download button at right.