VirtualDesktop

1.5.0

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, Remove-AllDesktops, Set-DesktopWallpaper and Set-AllDesktopWallpapers
and other commandlets

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

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

Author(s)

Markus Scholtes

Copyright

(c) Markus Scholtes 2022

Owners

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.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)

Version History

Version Downloads Last updated
1.5.0 (current version) 977 3/16/2022
1.4.1 842 11/28/2021
1.3.2 247 10/22/2021
1.3.1 1,358 2/28/2021
1.3.0 403 11/28/2020
1.2.0 539 6/27/2020
1.1.0 1,018 9/6/2019
1.0.1 49 8/22/2019
1.0.0 212 6/3/2019
0.0.0 59 5/20/2019