In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Installation tool VMware vSphere PowerCLI connection exsi control virtual machine switch!
Run VMware vSphere PowerCLI as an administrator, but PowerShell disables script execution by default, as shown in the following figure.
You can run the set-executionpolicy Unrestricted command to change the current rule to an unrestricted type (any script downloaded from the outside can be run, but with a warning before running).
Then exit and run as an administrator again.
4. After connecting to the server with the connect-viserver command, you can run the PowerCLI command or script.
The syntax of the connect-viserver command:
Connect-VIServer [[- Server]] [- Port] [- Protocol] [- Credential] [- User] [- Password] [- Session] [- NotDefault] [- SaveCredentials] []
Connect-VIServer-Menu []
Specific information can be obtained by running the get-help connect-viserver command.
For example:
① connect-viserver-server 192.168.163.135-user root-password Admin900
② connect-viserver-server 192.168.163.135
PS C:\ Program Files (x86)\ VMware\ Infrastructure\ vSphere PowerCLI > get-vm
Name PowerState Num CPUs MemoryGB
-
Win2003-ERP PoweredOn 2 1.500
Centos-1 PoweredOff 1 1.000
Centos-SMB PoweredOn 2 1.000
Nas PoweredOff 2 0.391
Win2008-DC PoweredOn 1 1.000
CactiEZ10 PoweredOff 1 0.535
Freenas1 PoweredOn 1 1.000
Panabit PoweredOn 1 0.500
Enable the virtual machine: Start-vm nas
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.