Tag: PowerShell

How to run scripts against multiple Azure VMs by using Run Command

Microsoft Azure, PowerShell • 22 Comments

I wrote a blog post on how to run scripts in your Azure VM by using Run Command, and explained how...
Read More

Get System Uptime with PowerShell

PowerShell • 3 Comments

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...
Read More

PowerShell Predictive IntelliSense

PowerShell

2020 must have been a busy year because I missed one of the greatest new PowerShell features called Predictive IntelliSense. Back in...
Read More

How to check the available VM Sizes (SKUs) by Azure Region

Microsoft Azure • 2 Comments

Do you want to know which Azure VM (virtual machine) sizes are available in an Azure region? Here...
Read More

How to Add Sleep/Wait/Pause in a PowerShell Script

PowerShell • 4 Comments

Many of you know the “timeout” command we used when we created Windows Batch scripts. This pauses/waits/sleeps the script for a...
Read More

Find the Hostname of a Hyper-V VM

Windows Server • 4 Comments

If you are running a virtual machine (VM) on Hyper-V, sometimes you want to know on which Hyper-V host this VM is running. If you...
Read More

Empty Windows recycle bin with PowerShell

PowerShell

Windows has the concept of the recycle bin, from which you can restore files you have deleted. You...
Read More

Install Apps from the Microsoft Store using WinGet

Windows • 2 Comments

Back at Build 2020, Microsoft showed a new package manager for Windows called WinGet (Currently in Public Preview)....
Read More

How to Run Scripts in your Azure VM using Run Command

Microsoft, Microsoft Azure, PowerShell, Virtualization, Windows, Windows Server • 4 Comments

You can access your Azure IaaS virtual machine (VM) in multiple ways like SSH or RDP, depending on your operating system and configuration....
Read More

Force Hyper-V Virtual Machine VM to turn off

Microsoft, PowerShell, Virtualization, Windows, Windows Server • 3 Comments

In this blog post, we are going to have a look at how you can force a Hyper-V virtual machine (VM)...
Read More
Close