Automation

12/01/2020

Query Windows Device for Memory Statistics

To start resolving this we will create a new variable and filter out some of the data from the $RAM variable. To do that we use [math]::Round which tells PowerShell that we are asking it to, one, do math. Two, round the data in the following brackets. We then take the $RAM variable and Dot(.) source it for the TotalVisibleMemorySize, and do it all down to the 1MB size.
12/01/2020

Gathering Local System Information

Using Powershell to gather system information within seconds and output to console, Out-GridView, or to a variable, text file, or XLSX file...
11/26/2020

Search for locked AD accounts

You can search and unlock AD accounts with a one line command. Let's begin! You will need to install the Active Directory Module....
11/25/2020

Windows Update Repair and Restore

More specifically, what is the problem? In my experience, it is one of two issues. Either no connection to the WSUS server, or the Windows Update Service on the computer in question is hosed and needs rebuilt.
11/24/2020

Get Certificate Expiration Remotely Off Servers

We are continuing our new series that answers common questions, or questions that have been asked about PowerShell. Today, certificate expiration remotely off servers. What we […]
11/24/2020

Video – Writing a GUI for PowerShell

Normally I write about scripting. This time I tried my hand at recording the screen while I worked. Let me know what you think and if you have any questions or suggestions.