Tag: PowerShell

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

PowerShell

Many of you know the “timeout” command we used when we created Windows Batch scripts....
Read More

Find the Hostname of a Hyper-V VM

Windows Server • 3 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 might want to clear the Windows recycle...
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...
Read More

How to Run Scripts in your Azure VM using Run Command

Microsoft, Microsoft Azure, PowerShell, Virtualization, Windows, Windows Server • 2 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 • One Comment

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

Eject ISO from Hyper-V VM using PowerShell

Microsoft, Microsoft Azure, PowerShell, Virtualization, Windows, Windows Server

This is one of these quick and dirty blog posts mostly as a note for myself. Hyper-V offers the...
Read More
Close