Category
PowerShell
508 articles · Page 3
-

Get System Uptime with PowerShell
Sometimes you want to know how long your system is running. There are multiple ways to get the uptime of your system using the GUI or command line. PowerShell also offers a simple way to get…
-

Az Predictor Module – Azure PowerShell Predictions
Azure PowerShell is one of my preferred ways to build automation and manage Microsoft Azure. However, as Damien Caro (Microsoft Program Manager) mentions, the Azure PowerShell modules has over 4,000 cmdlets and, on average, ten parameters…
-

PowerShell Predictive IntelliSense
2020 must have been a busy year because I missed one of the greatest new PowerShell features called Predictive IntelliSense. Back in November 2020, Jason Helmick announced PowerShell PSReadLine 2.1 with Predictive IntelliSense. Update: PSReadLine version…
-

Watch the PowerShell Deep Dive Video with Thomas Live!
On Wednesday, February 10, I plan to do a livestream and watch the PowerShell Deep Dive session video from the ITOps Talk All Things Hybrid event. In the live stream, you will see me reacting on…
-

How to Add Sleep/Wait/Pause in a PowerShell Script
Many of you know the “timeout” command we used when we created Windows Batch scripts. This pauses/waits/sleeps the script for a specific amount of time. In PowerShell, we can use the Start-Sleep cmdlet to suspend/pause/sleep/wait the…
-

Empty Windows recycle bin with PowerShell
Windows has the concept of the recycle bin, from which you can restore files you have deleted. You might want to clear the Windows recycle bin from time to time, to remove unnecessary files and free…
-

How to Run Scripts in your Azure VM using Run Command
You can access your Azure IaaS virtual machine (VM) in multiple ways like SSH or RDP, depending on your operating system and configuration. However, if you have issues with the RDP or SSH network configuration, you…
-

CloudSkills.fm Podcast – Azure Architecture with Thomas Maurer
Last week I had the honor to speak with Mike Pfeiffer on his CloudSkills.fm post cast, about Azure Archtiecture and much more. This is my second apperance in the CloudSkills.fm podcast, last year I was speaking…
-

How to configure Azure Automatic VM guest OS patching
If you want to keep your Azure virtual machines (VMs) up-to-date, then there is a service called Azure Update Management, which helps you to manage updates on your Azure VM guest operating system. However, this needed…
-

Force Hyper-V Virtual Machine VM to turn off
In this blog post, we are going to have a look at how you can force a Hyper-V virtual machine (VM) to turn off using the HCSDiag tool. A couple of days ago I had an…
