Sean Kearney

Borrowing a built-in PowerShell command to create a temporary folder

Q: Hey I have a question for you. It seems silly and I know I could probably put something together with Get-Random. But can you think of another way to create a temporary folder with a random name in PowerShell? Ideally, I’d like it to be in a user’s own “Temporary Folder” is possible. A:

Borrowing a built-in PowerShell command to create a temporary folder Continue Reading

PowerTip: Show all Installed Capabilities on Windows 10

Summary: Identify if capabilities like OpenSSH are installed in your Windows 10 Operating System Hey, Doctor Scripto. I was curious if there was a way to see if a workstation has a capability installed on it like OpenSSH. I’m trying to report on this for my environment. Absolutely! You can run the following line on

PowerTip: Show all Installed Capabilities on Windows 10 Continue Reading

Executing SQL Server Assessments from PowerShell

Summary: Using the SQLServer module cmdlets to review and monitor SQL Server instance and database configuration Q: Hey, Doctor Scripto! I have loads of SQL Servers in my area of responsibility and I know they all need certain configuration settings but I’m never confident that they are all set just right so I spend a

Executing SQL Server Assessments from PowerShell Continue Reading

Clean up Domain Controller DNS Records with Powershell

Summary: Using Windows PowerShell to remove Stale / Dead Domain Controller records. Q: Hey, Doctor Scripto! How can I quickly clean up all my dead Domain Controller’s DNS records? A: That’s a great question. The good Doctor also knows the very person to answer it best. My good friend Patrick Mercier, An Active Directory PFE

Clean up Domain Controller DNS Records with Powershell Continue Reading