Managing Windows Server System Insights from PowerShell
We've seen a lot of what we can do with System Insights from the Windows Admin Center. Now, we'll look at some of the things we can script with it via PowerShell. This is important, because scripting System Insights via PowerShell will allow you to take advantage of some of the more advanced System Insights features.
Getting started
You'll need a Windows Server with System Insights installed. You can either run PowerShell directly on that box, or you can use a PowerShell remote session from a Windows 10 computer. In our case, we will be using CA01
.
How to do it…
- Open PowerShell on your server with System Insights installed. If you are accessing this from a remote computer, this would be
Enter-PSSession CA01
. - Let's take a quick look at the System Insights PowerShell module before going any further. If you run
Get-Module SystemInsights
, you should see some details about our module...