VirtualDesktop

1.5.9

VirtualDesktop is a module that provides commandlets to manage virtual desktops of Windows 10 and 11.

* New-Desktop, Switch-Desktop, Remove-Desktop to control desktops
* Get-DesktopCount, Get-CurrentDesktop, Get-Desktop and others to query desktops
* Move-Window, (Un)Pin-Window, (Un)Pin-Application to control windows on desktops
* only Windows 10 2004 and up: Ge
VirtualDesktop is a module that provides commandlets to manage virtual desktops of Windows 10 and 11.

* New-Desktop, Switch-Desktop, Remove-Desktop to control desktops
* Get-DesktopCount, Get-CurrentDesktop, Get-Desktop and others to query desktops
* Move-Window, (Un)Pin-Window, (Un)Pin-Application to control windows on desktops
* only Windows 10 2004 and up: Get-DesktopName and Set-DesktopName
* only Windows 11: Move-Desktop, Set-DesktopWallpaper and Set-AllDesktopWallpapers
and other commandlets
Show more

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name VirtualDesktop

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name VirtualDesktop

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Markus Scholtes 2024

Package Details

Author(s)

  • Markus Scholtes

Tags

Windows Desktop Virtualdesktop Window

Functions

Get-DesktopCount Get-DesktopList New-Desktop Switch-Desktop Remove-Desktop Remove-AllDesktops Get-CurrentDesktop Get-Desktop Get-DesktopIndex Get-DesktopName Set-DesktopName Set-DesktopWallpaper Set-AllDesktopWallpapers Get-DesktopFromWindow Test-CurrentDesktop Get-LeftDesktop Get-RightDesktop Move-Desktop Move-Window Move-ActiveWindow Test-Window Pin-Window Unpin-Window Test-WindowPinned Pin-Application Unpin-Application Test-ApplicationPinned Get-ConsoleHandle Get-ActiveWindowHandle Find-WindowHandle

Dependencies

This module has no dependencies.

Release Notes

# 1.5.9 / 2024-09-01
- faster API call FindWindow
- Windows 11: animated switch to new desktop
# 1.5.8 / 2024-05-26
- changes for Win 11 24H2 and fixing of messages
# 1.5.7 / 2024-02-15
- changes for Win 11 3085 and up
# 1.5.6 / 2023-09-18
- bug fix for Win 11 Insider Canary
- Remove-AllDesktops for all versions
# 1.5.5 / 2023-09-02
- bug fix for Win 11 22H2 Build 22621.2215, 2023/09/02
# 1.5.4 / 2023-08-27
- integration of Win 11 22H2 Build 22621.2215 and Insider versions
- Remove-AllDesktops without function on Win 11 22H2 Build 22621.2215 and Insider versions (will soon be fixed)
# 1.5.3 / 2023-06-11
- no flashing icons after switch desktops
# 1.5.2 / 2023-02-19
- support for Windows 11 Insider 25276+
# 1.5.1 / 2022-07-29
- bug fix: desktop for pinned windows and apps are recognized
# 1.5.0 / 2022-03-16
- support for Powershell Core
- support for Windows Server 2022
- support for Windows Terminal
# 1.4.1 / 2021-11-27
- support for Windows 11 Insider build 22449 and up
- version 1.3.2 should have been 1.4.0, so this is 1.4.1
# 1.3.2 / 2021-10-22
- support for Windows 10 21H2 and Windows 11
- Set-DesktopName works on current virtual desktop if parameter -desktop is missing
# 1.3.1 / 2021-02-28
- fixes for Get-DesktopIndex
# 1.3.0 / 2020-11-28
- compatible to Powershell Core 7.0 (but not 7.1 or up)
- parameter -PassThru for Set-DesktopName (by sirAndros)
# 1.2.0 / 2020-06-27
- support for desktop names introduced with Win 10 2004
- new functions Get-DesktopList, Get-DesktopName and Set-DesktopName
- desktop name as parameter for many functions
- support for verbose output
# 1.1.0 / 2019-09-04
- new function Find-WindowHandle
# 1.0.1 / 2019-08-22
- Fixed examples
# 1.0.0 / 2019-06-03
- First stable release (hope so)

FileList

Version History

Version Downloads Last updated
1.5.9 (current version) 17,451 9/21/2024
1.5.8 25,650 5/26/2024
1.5.7 13,546 2/15/2024
1.5.6 8,046 9/21/2023
1.5.5 443 9/2/2023
1.5.4 3,238 8/27/2023
1.5.3 937 6/17/2023
1.5.2 1,819 2/19/2023
1.5.1 1,887 7/30/2022
1.5.0 1,162 3/16/2022
1.4.1 1,066 11/28/2021
1.3.2 264 10/22/2021
1.3.1 1,388 2/28/2021
1.3.0 443 11/28/2020
1.2.0 657 6/27/2020
1.1.0 1,036 9/6/2019
1.0.1 59 8/22/2019
1.0.0 224 6/3/2019
0.0.0 73 5/20/2019
Show more