Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerTip: Using PowerShell to Convert raw Text to a Comma Separated columm

Summary: Using PowerShell and a very simple Regular Expression to convert Random counts of spaces to a Comma (image) Hey Doctor Scripto! I have some string based output from a non PowerShell application. The output is good but I need to easily parse it. Is there a way to convert that data to something consistent like "Comma Separated...

Automating Quser through PowerShell

Summary: Using PowerShell to automate Quser to identify users to Logoff systems in Windows Hey Doctor Scripto! I need to log a user off every computer theyโ€™re logged into. The problem is, I donโ€™t know which ones. How can I discover which computers theyโ€™re logged into and then log them off? That's a most excellent question!ย  I know...

PowerTip: Identify if SQL Servers are configured to best practices

Summary: Using the features of the SQLServer PowerShell module to run assessments of your servers (image) How can I easily check that my SQL Servers are all configured to meet best practices? (image) You can use SQL Server Assessments โ€“ the latest addition to the SQLServer PowerShell module. Just Run a best practices assessment...

PowerTip: Identify Synchronized AzureAD accounts without a License assigned

Summary: Using PowerShell to identify users who are Synchronized to AzureAD but not yet licensed (image) Hey, Doctor Scripto! I'd love to be able to identify users Synchronized to AzureAD that haven't yet had their licenses assigned. ย  Help a friend out? (image) No problem at all!ย  You can target that information with two ...