In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Installation steps
1. Download and install versions of PowerShell 3.0 or later
Https://www.microsoft.com/en-us/download/details.aspx?id=34595
two。 Download and install PowerCLI by default
Https://my.vmware.com/web/vmware/details?downloadGroup=PCLI650R1&productId=614
3. Scripts that are disabled by the system will appear when you connect for the first time after installation
4. Allow the system to run scripts and close windows
Use to open PowerCLIPowerCLI as an administrator and execute the command: set-ExecutionPolicy RemoteSigned
5. Use to reopen PowerCli as an administrator
Normal launch page
# #
PowerCLI common commands
a. Connect to the host or Vcenter
Connect-VIServer-server host_ip-user user_name-password' password'
b. Get a list of virtual machines
Get-vm
Get-VM-location esxhost / / * get the list of virtual machines for the host
c. Delete a virtual machine
Remove-vm vm_name / / * removed from the list
Remove-VM vm_name-deletepermanently / / * remove a virtual machine from disk
d. Power operation to virtual machine
Stop-VM-vm vm_name / / * Power off the virtual machine
Restart-VM-vm vm_name / / * reset the virtual machine
Restart-VMGuest-vm vm_name / / * reboot the virtual machine
Start-VM-vm vm_name / / * Power on the virtual machine
Reference documentation:
Https://kb.vmware.com/s/article/2012964?lang=zh_CN
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.