How to find ID of a VM and force shutdown the VM
Sometimes Hyper-V virtual machine is frozen and cannot be shutdown through Hyper-V manager console. All shutdown, power off, reset option do not work. To shutdown VM in such state you need to find its ID and the end task for the correct vmwp.exe process.
As per below, this Hyper-V is running two virtual machines. We can find their name and IDs. If we want to force shutdown Martserver, we need to kill the process with corresponding user name matching the VMId of the Martserver
#powershellGet-VM | Select VMName, VMId

Related Articles
Force Uninstall Programs
If you can't uninstall a program properly, or the uninstall looks like it does nothing... Download and run this. Select�Uninstall�and then pick the program from the list. It will then remove it forcefully. http://aka.ms/Program_Install_and_Uninstall
Add Azure AD user and group into a local group
In this blog we will look at how you can add an azure ad groups or users to a local group using Intune and custom profiles. Add Azure AD user and group into a local group – Modern Device Management (jannikreinhard.com) by JANNIKREINHARD Frist, we ...
Accessing Settings and checking Customer Sync in Newline ASP CRM mobile app
To access the settings and customer sync options from the application Click Settings icon� To view customer sync information, click Data Feed Status this will connect to your chosen server and update periodically throughout the day to ensure you have ...
Rebooting the Samsung Camera
Find out the cameras IP address, running a network Scan Example here is below put in the IP address of the camera into a broswer window like Chrome. Login with the username and password Then click on the menu (3 bars at the top) Then Setup Then click ...
AIM and NAS
Aim is what the Irish government use to trace the movement of animals. NAS uses aim to trace where animals came from (usually a farm to a mart) and then trace where they are going (from the mart back to a farm) Each animal has a unique ID number, in ...