Documentation

This is taking longer than usual. If nothing appears, refresh the page.

Documentation

{{docApp.title}}

{{docApp.description}}

Connect an AI assistant

Your AI assistant can read this documentation directly, so it answers from the current content instead of guessing. Add one of the servers below to your client — they use the Model Context Protocol (MCP). Each one covers a different body of content, so add the one you need.

The catalog did not load. Refresh the page to try again.

Loading…

How can we help?

{{docApp.searchError}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

 {{docApp.currentResultsSearchText}}  in {{docApp.searchFilterBySpecificBookTitle}}
Found {{docApp.searchResponse.totalResultsAvailable}} matches. Showing the top {{docApp.searchResponse.results ? docApp.searchResponse.results.length : 0}}. Use a more specific search to further narrow down the results.
No documentation pages match this search, so all content types are shown. Most matches are in {{docApp.searchDocTypeRescue.best.name}}.
There is no book with the ID "{{docApp.searchBookRescue.bid}}", so the book filter from this link was ignored and results from all books are shown.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!
  • {{resultItem.title}} {{resultItem.matchedBy === 'semantic' ? 'semantic' : (resultItem.matchedBy === 'both' ? 'keyword + semantic' : 'keyword')}}

    {{resultItem.url}}

{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.title}}

Hyper-V - Set Memory

Operation Information

This operation will set the memory details for a specific Hyper-V Virtual Machine. The target VM must be in a shutdown state, as per the Set-VMMemory documentation: https://docs.microsoft.com/en-us/powershell/module/hyper-v/set-vmmemory?view=win10-ps

Input Parameters

Name Type Description Required Sensitive
VMName string The name of the Virtual Machine Yes No
HostName string Optionally provide the Hyper-V host to perform the action on. NetBIOS names, IP addresses, and fully qualified domain names are allowable No No
DynamicMemoryEnabled boolean Specifies whether dynamic memory is to be enabled on the virtual machine to be configured Yes No
MinimumBytes string Specifies the minimum amount of memory to be used by a virtual machine which has dynamic memory enabled. Examples: 1.5GB, 10GB, 1TB No No
StartupBytes string Specifies the initial amount of memory to be assigned to a virtual machine with dynamic memory enabled, or the total amount of memory to be assigned to a virtual machine with dynamic memory disabled. Examples: 1.5GB, 10GB, 1TB No No
MaximumBytes string Specifies the maximum amount of memory to be used by a virtual machine which has dynamic memory enabled. Examples: 1.5GB, 10GB, 1TB No No
Priority decimal Sets the priority for memory availability to this virtual machine relative to other virtual machines on the virtual machine host. Allowed values range from 0 to 100. Set to -1 to disable this parameter No No
Buffer decimal Specifies the percentage of memory to reserve as a buffer in the virtual machine to be configured. Allowed values range from 5 to 2000. Set to -1 to disable this parameter No No
MaximumAmountPerNumaNodeBytes string Specifies the maximum amount of memory per NUMA node in the virtual machine to be configured. Examples: 512MB, 1GB No No
ResourcePoolName string Specifies the name of the memory resource pool for this virtual machine No No

Output Parameters

Name Type Description Required Sensitive
outcome string Outcome of the operation. Can be OK, WARN or FAIL Yes No
errors string Any errors returned by the operation No No
warnings string Any warnings returned by the operation No No
In This Document