VirtualDesktop

1.5.7

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.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.7 (current version) 6,049 2/15/2024
1.5.6 8,037 9/21/2023
1.5.5 439 9/2/2023
1.5.4 3,235 8/27/2023
1.5.3 935 6/17/2023
1.5.2 1,817 2/19/2023
1.5.1 1,886 7/30/2022
1.5.0 1,158 3/16/2022
1.4.1 1,005 11/28/2021
1.3.2 259 10/22/2021
1.3.1 1,380 2/28/2021
1.3.0 426 11/28/2020
1.2.0 613 6/27/2020
1.1.0 1,032 9/6/2019
1.0.1 58 8/22/2019
1.0.0 223 6/3/2019
0.0.0 72 5/20/2019
Show more