Editing
Managing your VMware vSphere Homelab without vCenter
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==PowerCLI== PowerCLI won't let you do anything you're not licensed for- just because the Move-VM cmdlet exists doesn't mean it will run and let you vMotion guests- but you can use PowerCLI to move or copy VMs, there's just a bit of thinking involved to put the script together. For example, to move a VM between independent ESXi hosts with no shared storage we could # Shutdown the Source VM on the Source Host (see the Shutdown-VMGuest cmdlet) # De-register the Source VM on the Source Host (see Remove-VM) # Mount the Source Datastore as a PowerShell Drive (see Get-Datastore and New-PSDrive) # Mount the Target Datastore as a PowerShell Drive # Move the VM files (so all the config files, VMDK's etc) between the two Drives (see Copy-DatastoreItem) # Register the (now Target) VM on the Target Host (see New-VM -VMFilePath) # Power on the Target VM (see Start-VM) All of these steps are available at the Free licensing level and higher. ===Links===
Summary:
Please note that all contributions to Project Homelab may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project Homelab:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
About the Project
Get Involved!
Brainstorming
Wiki HOWTO
Article Template
Disclaimer
Recent changes
Random page
Help
Content
Requirements
Homelab Categories
Building a Homelab
Managing a Homelab
Securing a Homelab
Keep It Simple Stupid
HOWTO Articles
Decision Trees
The Unofficial HCL
Jargon Buster
Homelab Horror Stories
Free Learning Resources
Tools
What links here
Related changes
Special pages
Page information
[[File:nodespace-selfhosted-234x60-1.png|link=http://www.nodespace.com]]