Quantcast
Viewing all articles
Browse latest Browse all 36188

PowerTip: Use PowerShell to Add Processors to Virtual Machine

Summary: Use Windows PowerShell to add processors to a virtual machine running on Hyper-V.

Image may be NSFW.
Clik here to view.
Hey, Scripting Guy! Question
 How can I easily add processors to my virtual machine?

Image may be NSFW.
Clik here to view.
Hey, Scripting Guy! Answer
 Use the Set-VMProcessor cmdlet:

    SET-VMProcessor -VMname "My Virtual Machine" -count 2   

This enables the virtual machine called "My Virtual Machine" with two (2) CPUs (presuming the computer is already shut down and you have two processors to work with).

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 36188

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>