Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Communities
All Communities
Application Networking and Security
Enterprise Software
Mainframe Software
Software Defined Edge
Symantec Enterprise
Tanzu
VMware Cloud Foundation
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Betas
Flings
Education
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Members
Automation
Cloud & SDDC
View Only
Community Home
Threads
Library
Events
Members
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
get-vm with no snapshots
tdubb123
May 16, 2018 09:40 PM
how do I find vms without any snapshots?
LucD
May 17, 2018 04:23 AM
Try like this Get-VM | where { -not ( Get-Snapshot - VM $ _ ) } | Select Name ...
1.
get-vm with no snapshots
1
Recommend
tdubb123
Posted May 16, 2018 09:40 PM
Reply
Reply Privately
Options Dropdown
how do I find vms without any snapshots?
2.
RE: get-vm with no snapshots
2
Recommend
LucD
Posted May 17, 2018 04:23 AM
Reply
Reply Privately
Options Dropdown
Try like this
Get-VM
|
where
{
-not
(
Get-Snapshot
-
VM
$
_
)
}
|
Select Name
or like this
Get-VM
|
where
{
-not
$
_
.ExtensionData.Snapshot
}
|
Select Name
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2024. All rights reserved.
Powered by Higher Logic