Showing results for Thomas Rayner - Scripting Blog [archived]

Feb 3, 2017
0
0

PowerTip: Get a list of security patches installed in the last 90 days

Doctor Scripto
Doctor Scripto

Summary: Cloud and Datacenter Management MVP, Thomas Rayner, shows how to get a list of all the security patches installed in the last three months. How can I list all the security patches that I’ve installed in the last 90 days? There’s a class for that! Just use , and you can retrieve this information. Here is an example:

Windows PowerShellPowerTipguest blogger
Feb 3, 2017
3
1

PSScriptAnalyzer deep dive – Part 4 of 4

Doctor Scripto
Doctor Scripto

Summary: Thomas Rayner, Microsoft Cloud and Datacenter Management MVP, shows how to write a custom PSScriptAnalyzer rule. Hello! I’m Thomas Rayner, a Cloud and Datacenter Management Microsoft MVP, filling in for The Scripting Guy this week. You can find me on Twitter (@MrThomasRayner), or posting on my blog, workingsysadmin.com. This week, I’m pre...

Windows PowerShellguest bloggerThomas Rayner
Feb 2, 2017
0
0

PowerTip: Get a list of suspended Azure Automation jobs

Doctor Scripto
Doctor Scripto

Summary: Cloud and Datacenter Management MVP, Thomas Rayner, shows how get a list of all your suspended Azure Automation jobs. I think I have an Azure Automation job that is getting suspended for running too long. How can I verify this? You can use the cmdlet and its flag to get this information. Here is an example: You can also use other val...

Windows PowerShellPowerTipguest blogger
Feb 2, 2017
0
1

PSScriptAnalyzer deep dive – Part 3 of 4

Doctor Scripto
Doctor Scripto

Summary: Thomas Rayner, Microsoft Cloud and Datacenter Management MVP, shows how to use Pester to get nUnit formatted results out of PSScriptAnalyzer. Hello! I’m Thomas Rayner, a Cloud and Datacenter Management Microsoft MVP, filling in for The Scripting Guy this week. You can find me on Twitter (@MrThomasRayner), or posting on my blog, workingsys...

Windows PowerShellguest bloggerThomas Rayner
Feb 1, 2017
0
0

PowerTip: Convert from UTC to my local time zone

Doctor Scripto
Doctor Scripto

Summary: Cloud and Datacenter Management MVP, Thomas Rayner, shows how write a function to convert from UTC to your local time zone. I have a time that I’d like to convert from UTC to my local time zone. How can I do this? You can write your own function to do this, and use the [System.TimeZoneInfo] .NET class and associated methods to make this...

Windows PowerShellPowerTipguest blogger