<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Diego A. Carrasco Gubernatis | Personal Website (Posts about Windows 11)</title><link>https://diegocarrasco.com/</link><description></description><atom:link href="https://diegocarrasco.com/categories/windows-11.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2026 &lt;a href="mailto:hi@diegocarrasco.com"&gt;Diego Carrasco G.&lt;/a&gt; </copyright><lastBuildDate>Sat, 09 May 2026 08:04:35 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>How to change the Screen Resolution of a Guest-OS (Ubuntu) in Hyper-V with PowerShell on Windows 11</title><link>https://diegocarrasco.com/hyper-v-change-resolution-powershell/</link><dc:creator>Diego Carrasco G.</dc:creator><description>&lt;figure&gt;&lt;img src="https://diegocarrasco.com/images/social-images/hyper-v-change-resolution-powershell.jpg"&gt;&lt;/figure&gt; &lt;h3 id="tldr"&gt;TL;DR&lt;/h3&gt;
&lt;p&gt;To change the screen resolution of a VM in Hyper-V, use PowerShell. The command requires the VM name and the desired resolution.&lt;/p&gt;
&lt;h3 id="context"&gt;Context&lt;/h3&gt;
&lt;p&gt;Unlike in VirtualBox, in Hyper-V I could not find a GUI option to change the screen resolution directly. Instead, I had to use PowerShell to adjust the display settings of your virtual machine.&lt;/p&gt;
&lt;h3 id="steps"&gt;Steps&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Identify the VM Name&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Find the name of your VM in Hyper-V Manager. (Search for Hyper-V Manager in the start menu to access it)&lt;/p&gt;
&lt;p&gt;&lt;img alt="Hyper-V Manager VM Name" src="https://diegocarrasco.com/images/hyper-v-maschine-name.png"&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Open PowerShell&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Open a PowerShell terminal on your host machine.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Execute the Command&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Use the following PowerShell command, replacing &lt;code&gt;"Ubuntu 22.04 LTS2"&lt;/code&gt; with your VM's name and adjusting the resolution as needed:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="nb"&gt;Set-VMVideo&lt;/span&gt; &lt;span class="n"&gt;-VMName&lt;/span&gt; &lt;span class="s2"&gt;"Ubuntu 22.04 LTS2"&lt;/span&gt; &lt;span class="n"&gt;-HorizontalResolution&lt;/span&gt; &lt;span class="n"&gt;1920&lt;/span&gt; &lt;span class="n"&gt;-VerticalResolution&lt;/span&gt; &lt;span class="n"&gt;1080&lt;/span&gt; &lt;span class="n"&gt;-ResolutionType&lt;/span&gt; &lt;span class="n"&gt;Single&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;HorizontalResolution&lt;/strong&gt;: The width of the screen in pixels (e.g., 1920).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;VerticalResolution&lt;/strong&gt;: The height of the screen in pixels (e.g., 1080).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ResolutionType&lt;/strong&gt;: Set to &lt;code&gt;Single&lt;/code&gt; for a single monitor setup.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="references"&gt;References&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://learn.microsoft.com/en-us/answers/questions/341631/how-to-adjust-virtual-machine-display-resolution-t"&gt;How to adjust virtual machine display resolution in Hyper-V&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.partitionwizard.com/news/hyper-v-change-resolution.html"&gt;Hyper-V: Change Resolution&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><category>hyper-v</category><category>powershell</category><category>VM</category><category>Windows 11</category><guid>hyper-v-change-resolution-powershell</guid><pubDate>Thu, 06 Jun 2024 14:40:54 GMT</pubDate></item></channel></rss>