So, I normally need to build a Lab for my SolarWinds Orion. If I’m doing this on my own machine and don’t have the luxury of a Windows Deployment Server (WDS), and I’ve built a custom hard drive for my Windows Servers, then I use a PowerShell script to do this work for me. (Seeing a pattern here?)
I always move my IIS logs to a different drive, and I almost always include all fields. This is something that annoys me since I have to do it over and over again. Just like everything that I have to do over and over again, I wrote a script to do it for me. The … Read moreConfigure IIS Logging
I built a script which facilitates changing the default logging location for most SolarWinds programs in a SolarWinds Orion installation. Not every log can be moved, but this script does change the majority of the log locations and also takes a backup of the original file beforehand. The important part is the RegEx that is used … Read moreMoving SolarWinds Logs to a new Drive
I’m always sick and tired of having to remove the IIS Default Web Site and DefaultAppPool after I’ve installed the Web Roles in Windows Server 2012 R2. So, I created a short script that will remove them.
# Check for Admin Access (UAC)
$User = [Security.Principal.WindowsIdentity]::GetCurrent()
$Role = ( New-Object Security.Principal.WindowsPrincipal $user ).IsInRole( [Security.Principal.WindowsBuiltinRole]::Administrator )
if ( -not $Role )
Write-Warning "To perform some operations you must run an elevated Windows PowerShell console."
Get-WebSite -Name "Default Web Site" | Remove-WebSite -Confirm:$false -Verbose
Remove-WebAppPool -Name "DefaultAppPool" -Confirm:$false -Verbose
DISCLAIMER: These materials are provided “AS IS” without any express or implied warranty of any kind.
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 … Read moreRequired Windows Features with SolarWinds Orion