Closed SinnGit closed 3 years ago
Hello SinnGit,
for most of the functions of PSVirtualDesktop an underlying function of the Windows API is used, so it is with the function Set-DesktopName. But the feature to name desktops was introduced to Windows first with Windows 10 version 20H1 (and you are running Windows 10 version 1903), if you want to use it, you have to update your Windows.
Greetings
Markus
Hi Markus,
Thanks, I'm actually running 1909 on this system, but it doesn't look like that will cut it either. I will get this tested again with the correct version.
Thanks
Hello SinnGit,
OK, I understand. Microsoft did not update Powershell when they updated Windows 10 1903 (Build 18362) to 1909 (Build 18363). So the Powershell version led me to the wrong version of the Windows you're using.
But this doesn't change the reason and solution for the issue.
Greetings
Markus
Closed due to no response for several weeks
I caught the comment in another open issue that Set-DesktopName was not functioning in Powershell Core. It seems that Set-DesktopName is no longer functional for older versions of Powershell either. No errors whatsoever, the cmdlet acts as if it has made a change, but never actually does so.
PS C:\Users> Set-DesktopName -Name "Excel" -desktop 1 PS C:\Users> Get-DesktopList
Number Name Visible
PS C:\Users> get-host | select version
Version
5.1.18362.1171
PS C:\Users> get-module virtualdesktop | select version
Version
1.3.0