Run A Microsoft Vm On Mac

-->

Run A Microsoft Vm On Mac Pc

System Center Virtual Machine Manager (VMM) supports the ability to execute commands remotely, on a host by using the Run Script command feature. This feature is useful in scenarios where you want to start a service or collect information from a remote host.

Mac

You can also run the script on the host by using the custom resources that you added to the VMM library. Custom resources can consist of batch files that can execute specific commands against the server, but the use of custom resources is not required.

You'd have to contact VMware and Apple to find out their respective support policies. If you meet the specified system requirements (which your PC may or may not meet), Office for Mac does run inside a Mac OS X session running on VM Workstation 6.5.2 or newer under Windows. I've done it. If you need to run Windows apps on a Mac, virtualisation (running Windows on your Mac using a tool such as Parallels or VMWare) isn’t the only option.There’s another method that has the. Mac OS by itself has a thriving software ecosystem and great developer support, but some applications still only support Windows. Be it games, or professional software, rest assured, because today, we are going to discuss methods to run Windows apps on Mac OS. How to Run Windows Apps on Mac.

Example scenario 1 - Start a service

Run A Microsoft Vm On Mac Windows 10

The following example scenario provides information on how you can start a service sftlist on a VMM host using the Run Script command feature.

  1. In the VMM console, on the toolbar, click Host and select Run Script Command.

    The Run Script Command page appears:

  2. As an example, type the following details against the options displayed:

    • Deployment Order: Select the deployment order from the drop-down menu.

    • Executable program: cmd.exe

    • Parameters: /q /c net start sftlist

    • Script resource package and Run As account: None

      The /q turns off the echo for the command line and /c carries out the command and then terminates. If you do not use these switches, the outcome will be a return code 0 from the cmd.exe process and will not display the actual result of the command in the job.

  3. Select the Timeout seconds for this command.

  4. Click Advanced.. and specify the output file and log file location for any errors.

  5. Click Finish.

Monitor the job in the VMM console for the result. In case of any error, go through the error file log and follow the recommendations as applicable.

Here is a sample error message

Run

Example scenario 2 - Start a service using custom resources

Run a microsoft vm on mac pc

In this example, at step 2, we use the following values, rest of the steps remain the same.

  • Deployment Order: Select the deployment order from the drop-down menu.

  • Executable program: cmd.exe

  • Parameters: /q /c services.cmd

  • Script resource package: SAV_x64_en-US-4.9.305.198.cr(4.9.305.198)

  • Run As account: Admin

    For this example, we included a batch file named services.cmd under a custom resource folder named SAV_x64_en-US-4.9.305.198.cr(4.9.305.198), and specified the Run As account as Admin.

    The batch file performs a net stop sftlist/y and then a net start sftlist.In this scenario, the custom resource folder is transferred to the agent host and copied under windowstemp. A folder with the format, scvmm.xxxxxxxx, is created to contain all the files. From here, it executes the batch file and the agent returns the corresponding outcome to VMM and displays it in the job. If the script generates an error, it creates a log under the specified location.