Required Windows Features with SolarWinds Orion

My presentation is completely built around optimizing your SolarWinds Orion installation.  In that presentation, I make reference to several scripts that I use to help me in provisioning Orion Servers.

One such script is used to install the necessary Windows Features for each role.  It uses XML files as the source for which features are needed prior to the installation.

The script itself is simple:

#Requires -RunAsAdministrator

# "MPE", "APE", "AWS", or "NTA" based on the server's role in the Orion Infrastructure
$Role     = "MPE"
Import-CliXml -Path ".\WinFeatures_Orion$( $Role ).xml" | Add-WindowsFeature -Verbose -Restart:$false -Confirm:$false

These scripts rely on 4 different XML Files as sources for the list of installation roles.  I’ve provided downloads to each of them below.

They are:

Just save the script and the XML file in the same folder on your Orion Server, alter the “Role” value to one of the four outlined and run it.

Please note that this will attempt to install the .NET Framework 3.51 directly from Microsoft Update.  If you do not have access, or are using a WSUS infrastructure, you’ll need to add the “-Source” argument to the “Add-WindowsFeature” function and provide it the path to a Windows Installation source.

DISCLAIMER: These materials are provided “AS IS” without any express or implied warranty of any kind.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.