I can do this in vcenter trivially
Connect-VIServer -Server vcenter1.local.com -Credential $c2
$name = "BeforeUpdate_" + $ds
$description = "Snapshot taken before the " + $ds + " patch installation"
New-Snapshot -VM "CONCERT-s7T3" -Name $name -Description $description #FOR VCENTER
Connect-CIServer -Server vcd2.sasktelmanagedhosting.com -Credential $c
$name = "BeforeUpdate_" + $ds
$description = "Snapshot taken before the " + $ds + " patch installation"
New-Snapshot -VM "CONCERT-s7T3" -Name $name -Description $description #FOR VCENTER
PS C:\Users\merrr1> New-Snapshot -VM "CONCERT" -Name $name -Description $description #FOR VCENTER
New-Snapshot : 11/26/2025 7:13:15 AM New-Snapshot You are not currently connected to any servers. Please connect first using a Connect
cmdlet.
At line:1 char:1
+ New-Snapshot -VM "CONCERT" -Name $name -Description $description # ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [New-Snapshot], ViServerConnectionException
+ FullyQualifiedErrorId : Core_BaseCmdlet_NotConnectedError,VMware.VimAutomation.ViCore.Cmdlets.Commands.NewSnapshot
New-Snapshot : 11/26/2025 7:13:15 AM New-Snapshot Value cannot be found for the mandatory parameter VM
At line:1 char:1
+ New-Snapshot -VM "CONCERT" -Name $name -Description $description # ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-Snapshot], VimException
+ FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomation.ViCore.Cmdlets.Commands.NewSnapshot
How do i create a snapshot while connected to vcloud?
I tried
New-CIVMSnapshot -VM "CONCERT" -SnapshotName $name -Description $description #FOR vcloud
but I get :
PS C:\Users\merrr1> New-CIVMSnapshot -VM "CONCERT" -SnapshotName $name -Description $description #FOR vcloud
New-CIVMSnapshot : The term 'New-CIVMSnapshot' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ New-CIVMSnapshot -VM "CONCERT" -SnapshotName $name -Description $de ...
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (New-CIVMSnapshot:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
-------------------------------------------