Here is a fun function to provide you with a good first level support response in case everyone is off for Christmas:
#requires -Version 3 function Get-FirstLevelSupportResponse { $url = 'http://pages.cs.wisc.edu/~ballard/bofh/bofhserver.pl' $ProgressPreference = 'SilentlyContinue' $page = Invoke-WebRequest -Uri $url -UseBasicParsing $pattern = '(?s)<br><font size\s?=\s?"\+2">(.+)</font' if ($page.Content -match $pattern) { $matches[1] } }
You do need Internet access for this script to work.