Showing archive results for 2019

Sep 4, 2019
Post comments count0
Post likes count1

PowerTip: Read a JSON configuration file as a PowerShell object

Doctor Scripto

Summary: Using the ConvertFrom-Json Cmdlet in PowerShell to read a JSON formatted file Hey, Doctor Scripto! I've seen a lot of JSON files in use in Azure. I'm not very good with editing JSON properly. Is there an easy way to read this and at least edit it with PowerShell? Most definitely my good friend. For the file below called "sett...

PowerTipSean KearneyPowerShell
Sep 4, 2019
Post comments count2
Post likes count0

Configuring Startup Settings in Microsoft Teams with Windows PowerShell

Doctor Scripto

Summary: Using the ConvertFrom-JSON and ConvertTo-JSON Cmdlets to edit a configuration file Q: Hey, Doctor Scripto! I need to be able to change the Startup settings in Teams (like the Auto launch feature). I can change it in the Interface, but I need to be able to edit across multiple systems. Could you lend me a hand? —RL A: Hello RL, ...

Sean KearneyPowerShellDoctor Scripto
Aug 28, 2019
Post comments count0
Post likes count0

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

Doctor Scripto

Summary: Using PowerShell and a very simple Regular Expression to convert Random counts of spaces to a Comma 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?" Why ye...

PowerTipPowerShellregular expressions
Aug 27, 2019
Post comments count0
Post likes count0

Automating Quser through PowerShell

Doctor Scripto

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 just the pe...

PowerShellregular expressionsDoctor Scripto
Aug 21, 2019
Post comments count0
Post likes count0

PowerTip: Identify if SQL Servers are configured to best practices

Doctor Scripto

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

PowerTipPowerShellSQL Server