PowerShell Logo Small

Debug-VM



This is the built-in help made by Microsoft for the command 'Debug-VM', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Debugs a virtual machine.

SYNTAX


Debug-VM [-Name] <String[]> [-AsJob] [-ComputerName <String[]>] [-Force] [-InjectNonMaskableInterrupt] [-Passthru] [-Confirm] [-WhatIf] [<CommonParameters>]
Debug-VM [-VM] <VirtualMachine[]> [-AsJob] [-Force] [-InjectNonMaskableInterrupt] [-Passthru] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Debug-VM cmdlet debugs a virtual machine.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/?LinkId=280120

REMARKS

<

Examples


Example 1

PS C:\> debug-vm "VM to Debug" -InjectNonMaskableInterrupt -Force



This example injects a non-maskable interrupt into the virtual machine named “VM to Debug”. A kernel debugger should be connected to the guest operating system before
attempting to do this.