Showing archive results for 2016

Nov 8, 2016
Post comments count0
Post likes count0

How to avoid reinventing the wheel in Azure Automation

Doctor Scripto

Summary: Take advantage of existing scripts to create your own solutions.   Automation is the number one technical skill that IT needs to have to thrive in today’s quickly changing world. My recommendation is that anything you do for automation you should do in PowerShell, and you should use Azure Automation as your go-to automation solution...

guest bloggerStefan Roth
Nov 4, 2016
Post comments count0
Post likes count0

PowerTip: Capture error code of a PowerShell session in Linux or macOS

Doctor Scripto

Summary: Capture the status code of a PowerShell session in Linux or macOS. Could you show me how to run a PowerShell script in Linux or macOS and capture the status of whether that script succeeded or failed? No problem, my friend. Just run the PowerShell session, and start the script as in the following example. You can view the status in the ...

Windows PowerShellPowerTipguest blogger
Nov 4, 2016
Post comments count0
Post likes count0

Open Source PowerShell – Part 1

Doctor Scripto

Summary: Find and install the Open Source PowerShell software for Linux or Windows. I was reading up about a great new change in PowerShell. I heard that the newest version was Open Sourced on GitHub. Any chance you could give me a quick run-through to check it out? Honorary Scripting Guy, Sean Kearney, is here today to bring you up to pace wit...

Windows PowerShellguest bloggerSean Kearney
Oct 28, 2016
Post comments count0
Post likes count0

PowerTip: Know the difference between the .split() method and ‘-split’

Doctor Scripto

Summary: Cloud and Datacenter Management MVP, Thomas Rayner, shows how to split a string by using a string instead of just a character. I am trying to split the string “this is my amazing string” on the pattern “my” by using “this is my amazing string”.split(“my”) but it’s giving me a bunch of garbled stuff back. How do I accomplish my goal?  You...

Windows PowerShellPowerTipguest blogger
Oct 28, 2016
Post comments count0
Post likes count2

PowerShell regex crash course – Part 5 of 5

Doctor Scripto

Summary: Thomas Rayner, Microsoft Cloud and Datacenter Management MVP, shows the basics of working with regular expressions in PowerShell. Hello! I’m Thomas Rayner, a proud 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...

Windows PowerShellguest bloggerThomas Rayner