Automation

12/15/2020

Listen For KeyPress Using PowerShell

Today we start with something new. Listen For KeyPress Using PowerShell. Simple enough. We want to run a script and have it output what we type […]
12/11/2020

Creating New Firewall Rules Using PowerShell

The two above commands are the same as the one-line commands. Well, there are two differences. We are using the modifier -InterfaceType to specify the wireless interface. We are also using the tilde (`) to define line breaks in the console. The interpreter still sees this as one line, the difference is it's much easier to read like this, that is if you are human.
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

Output To Console Services

We continuing our new series that answers common questions, or questions that have been asked about PowerShell. Today is all about Output To Console all services. […]