The most recent content from our members.
Question: looking for a way within a Powershell script to direct which Powershell version to use. Background: * Solarwinds system running on a Windows 2019 server (note this is a test "non-prod" system) * Windows 2019 server comes with Powershell 5.1 by default * I'm testing a Powershell script monitor which uses…
This script will connect to a basic webpage and look for the supplied text on the page. I use this to validate that we are displaying the correct message to our users during maintenance periods. The times, URL and search string can be passed in as arguments if need be. The first line can be used for the arguments (remove…
Another user posted in the api forum for how to get the next avaiblable ip, that you can set the record by using the follownig code: $postParams = @{"entity"="IPAM.IPNode";"verb"="UpdateManyStatus";"ObjectId"="1097 ";"ipstatus"="1 ";"ids"="2 "} Invoke-WebRequest -Uri localhost/.../ExtCmdProvider.ashx -Method POST…
It looks like you're new here. Sign in or register to get started.