Skip to content

How To Blog

  • Windows 7/10 Safe Mode – Boot Options Windows 7
  • How To Change Default Download Location In Windows 10 Windows 10
  • How To View & Cancel Your iOS Subscriptions On Your iDevice iOS
  • What Is a CDN & Why Is One Essential If You Own a Domain? Networking
  • How To Get Linux Desktop Experience on Chrome OS How-To
  • how to walk in pokemon go without moving iphone How-To
  • Can Connect to Wireless Router, but not to the Internet? Networking
  • Best yugioh calculator 2020

    Best yugioh calculator 2020

How to Remove a Hyper-V VM Snapshot using PowerShell

Posted on October 9, 2020 By blog_786 No Comments on How to Remove a Hyper-V VM Snapshot using PowerShell

Hi everyone! I recently worked on a Hyper-V cluster and ran into a rather weird issue where I am unable to remove VM checkpoints from Hyper-V Manager.

Now I’m sure most of you will tell who is using the UI? We are all PowerShell gods who grab the bull by the horn and automate our path in life.

Well that’s true and we all have fun with the user interface from time to time. Well the fix is ??yes, go to PowerShell and delete the snapshot.

So I decided to write this article to make sure we have a written solution for this type of problem.

So, without further ado on my part, let’s open this PowerShell prompt and delete this snapshot!

We’ll use two PowerShell cmdlets for this. Get-VMSnapshot and Remove-VMSnapshot .

So, first of all, let’s take all the snapshots for this particular VM.

# Get-VMSnapshot -ComputerName HVHOST01 -VMName MSSQL01

How to Remove a Hyper-V VM Snapshot using PowerShell

Now that we have verified the snapshot name, we can use the Remove-VMSnapshot cmdlet to remove it. We have two options: either pipe it to the first cmdlet, or use it as a separate cmdlet.

# Get-VMSnapshot -ComputerName HVHOST01 -VMName MSSQL01 | Remove-VMSnapshot

How to Remove a Hyper-V VM Snapshot using PowerShell

# Remove-VMSnapshot -VMName MSSQL01 -Name “snapshot_1”

How to Remove a Hyper-V VM Snapshot using PowerShell

Simple enough! I hope you enjoyed this short article. Come back for more!

Virtualization Tags:How to Remove a Hyper-V VM Snapshot using PowerShell

Post navigation

Previous Post: Desired State Configuration in PowerShell
Next Post: Brocade ISL Configuration Step by Step Guide

Related Posts

  • How to Set Up a Windows XP Virtual Machine for Free Virtualization
  • How to Install a New Operating System in VMware Workstation Pro Virtualization
  • VMware Script – Remove Resource Reservations Virtualization
  • Creating an SOFS Share on S2D using Virtual Machines Virtualization
  • No Sound or Audio in VMWare Fusion Windows 7/XP Machine? Virtualization
  • Fix VMware Missing HBA Adapters Virtualization

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Archives

  • May 2023
  • April 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • March 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • July 2019
  • May 2019
  • April 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018

Categories

  • Amazon Web Services
  • Apple Watch
  • Computer Tips
  • Cool Websites
  • Free Software Downloads
  • Gadgets
  • Gaming
  • General Software
  • Google Software/Tips
  • Hardware
  • Help Desk
  • How-To
  • iOS
  • iPad
  • iPhone
  • Linux
  • Linux Tips
  • macOS
  • MS Office Tips
  • Networking
  • Office Tips
  • OS X
  • Product Reviews
  • Reviews
  • Safari
  • Smart Home
  • Smartphones
  • Software Reviews
  • technology
  • text
  • Tools Review
  • Troubleshooting
  • Tutorials
  • Uncategorized
  • Urdu Books PDF
  • Web Site Tips
  • Windows
  • Windows 10
  • Windows 7
  • Wordpress

Recent Posts

  • Sort by Color in Google Sheets
  • Compare SurveyMonkey with Google Forms
  • How to Go Live on TikTok 2021
  • How to Make a Scatter Plot in Google Sheets 2021
  • How to Whisper on Twitch 2021

Recent Comments

  1. 6 Best iOS Reminder Apps 2023 - How To Blog on How to Use Facebook Custom Friends Lists To Organize Your Friends
  2. 6 Best iOS Reminder Apps 2023 - How To Blog on How To Add Audio Narration To a Powerpoint Presentation
  3. 6 Best iOS Reminder Apps 2023 - How To Blog on free online courses with certificates of completion
  4. How to permanently delete A PS4 Account - How To Blog on Ultimate Guide to Troubleshooting PS4
  5. most expensive game console 2022/23 - How To Blog on 120Hz TVs and Phones Are Here: Do You Need It?
  • How to Take Screenshots on Mac OS with Keyboard Shortcuts OS X
  • 5 Great Affordable 3D Printers to Buy for Starters Product Reviews
  • Share a Printer from XP to Windows 7/8/10 How-To
  • Wiping a Hard Drive in 4 Easy Steps Computer Tips
  • Best calculator holder for classroom 30 2020

    Best calculator holder for classroom 30 2020

  • Best casio fx-9750gii graphing calculator 2020

    Best casio fx-9750gii graphing calculator 2020

  • 4 Ways To Minimize Data Use in the YouTube App Google Software/Tips
  • How Does Audible Work & Should You Cancel It? Computer Tips

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Go to mobile version