Adam Listek
Blogs, Articles, and Posts
A Complete Guide to Using the Get-WinEvent PowerShell Cmdlet
(adamtheautomator.com)
Windows has several different event logs, but how do you go about retrieving them quickly? The
By: Adam Listek submitted:Jun 16 2022
Windows has several different event logs, but how do you go about retrieving them quickly? The
Get-WinEvent cmdlet can retrieve classic Windows event logs like the System and Application logs, logs generated by Windows Event Log technology, and even Event Tracing for Windows (ETW) logs!
By: Adam Listek submitted:Jun 16 2022
Active Directory Auditing: How to Track Down Password Changes
(adamtheautomator.com)
Tracking and auditing changes to passwords in an Active Directory (AD) domain are crucial to
By: Adam Listek submitted:Jun 16 2022
Tracking and auditing changes to passwords in an Active Directory (AD) domain are crucial to
maintaining a secure environment and heading off bad actors early. Thankfully, AD offers the information necessary to track these changes, despite being difficult to parse and understand at times. LAPS is a great example of this.
By: Adam Listek submitted:Jun 16 2022
Automating Azure Resource Deployments in PowerShell: Part 1
(adamtheautomator.com)
Learn the many ways to get started with automating Azure resource deployments in part one of this
By: Adam Listek submitted:Oct 20 2023
Learn the many ways to get started with automating Azure resource deployments in part one of this
three part series.
By: Adam Listek submitted:Oct 20 2023
Building a Notion PowerShell Module: Part 2
(adamtheautomator.com)
Learn the next steps of building a PowerShell Notion module in this in-depth PowerShell tuto
By: Adam Listek submitted:Nov 3 2023
Learn the next steps of building a PowerShell Notion module in this in-depth PowerShell tuto
By: Adam Listek submitted:Nov 3 2023
Building a Notion PowerShell Module: Part 3
(adamtheautomator.com)
Learn the next steps of building a PowerShell Notion module in this in-depth PowerShell tutorial by
By: Adam Listek submitted:Nov 17 2023
Learn the next steps of building a PowerShell Notion module in this in-depth PowerShell tutorial by
ATA Learning!
By: Adam Listek submitted:Nov 17 2023
Creating Adaptive Cards via Teams Incoming Webhooks Using PowerShell
(adamtheautomator.com)
Have you ever wanted to customize the look of Teams by easily creating your own cards in channels?
By: Adam Listek submitted:Jun 16 2022
Have you ever wanted to customize the look of Teams by easily creating your own cards in channels?
Using a concept called Adaptive Cards, Teams allows you to create and customize various cards in Teams via JSON. You could create them by typing up some JSON but it's much more fun to create them with incoming Teams webhooks and a little PowerShell!
By: Adam Listek submitted:Jun 16 2022
How to Pause a PowerShell Script
(adamtheautomator.com)
There are many reasons to pause script execution. Perhaps a script needs to wait for user input,
By: Adam Listek submitted:Jun 16 2022
There are many reasons to pause script execution. Perhaps a script needs to wait for user input,
slow down execution speed, or wait for another process to conclude before moving forward. As with most tasks in Powershell, there is more than one way to pause a script. Depending on what you are trying to accomplish, the method of pausing you choose will have its strengths and weaknesses.
By: Adam Listek submitted:Jun 16 2022
How to Send Email Securely with PowerShell
(adamtheautomator.com)
Need to notify your team on a failed service, only to find that your PowerShell email has bounced?
By: Adam Listek submitted:Jun 16 2022
Need to notify your team on a failed service, only to find that your PowerShell email has bounced?
Unauthenticated email has become difficult to pass in many mail systems. You don't want to miss an important email notification because you relied on outdated PowerShell cmdlets. The built-in cmdlet Send-MailMessage no longer covers sending email securely.
By: Adam Listek submitted:Jun 16 2022
How to Use PowerShell to Reboot Remote Computers
(adamtheautomator.com)
Inevitably a system administrator will need to restart a server or system. Rather than stepping
By: Adam Listek submitted:Jun 16 2022
Inevitably a system administrator will need to restart a server or system. Rather than stepping
through the user interface, PowerShell provides several methods for rebooting a computer remotely.
By: Adam Listek submitted:Jun 16 2022
PowerShell Write-Host: Do you Need It? Maybe.
(adamtheautomator.com)
Over the years, there has been a lot of debate around the PowerShell Write Host cmdlet on whether
By: Adam Listek submitted:Jun 16 2022
Over the years, there has been a lot of debate around the PowerShell Write Host cmdlet on whether
it's needed and when to use it. As in most cases, the answer is maybe and dependent on your needs.
By: Adam Listek submitted:Jun 16 2022
The Grep of PowerShell
(adamtheautomator.com)
One of the first Linux commands that many system administrators learn is grep. This venerable tool
By: Adam Listek submitted:Jun 16 2022
One of the first Linux commands that many system administrators learn is grep. This venerable tool
has been around for decades and is crucial to any administrators toolbelt. Grep's core is simply the ability to search plain text for a RegEx pattern. Grep can search files in a given directory or streamed input to output matches.
By: Adam Listek submitted:Jun 16 2022
Writing an Extension Vault for PowerShell SecretManagement Preview 4
(adamtheautomator.com)
If you've ever hardcoded a password, an API key, or a private certificate in a script, stop! You
By: Adam Listek submitted:Jun 16 2022
If you've ever hardcoded a password, an API key, or a private certificate in a script, stop! You
need to secure that sensitive information! One way to do that is with the PowerShell SecretManagement module. Offering a convenient way for a user to store and retrieve secrets using PowerShell, the SecretManagement module also has the ability to interface with different back-end systems such as Azure KeyStore or KeePass too using an extension vault!
By: Adam Listek submitted:Jun 16 2022