16,014,392 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 10685840 (Top 4 by date)
Member 10685840
8-Apr-15 8:49am
View
Thank you for your replay, but I have solved the issue on how to shutdown the virtual machine.
Note: powering off the machine is not safe as shutting down.
my code was right, except that i mistaken the configuration path. the right code is as follow:
VMWareVirtualHost host = new VMWareVirtualHost();
host.ConnectToVMWareVIServer("172.16.1.72", "root","123456");
IVMWareVirtualMachine machine = new VMWareVirtualMachine();
machine = host.Open("[datastore1] Kerio contarol/Kerio contarol.vmx");
machine.ShutdownGuest();
-------------------------------------
The current problem is how to shutdown the host itself.
Member 10685840
8-Apr-15 5:50am
View
I have solved my second issue which i could connect to virtual machine as I was adding the wrong virtual machine configuration file which is ("[172.16.1.72] Kerio contarol.vmxf"); while the right path is ([datastore1] Kerio contarol/Kerio contarol.vmx).
Member 10685840
8-Apr-15 4:43am
View
I have looked at that link before, but it does not illustrate how to connect to a virtual machine in a network remotely neither how to shutdown the host.
Member 10685840
20-Mar-14 10:44am
View
I updated the Q.