How do I switch and rename windows multi-desktop from command line

Borrelli, F Pat 0 Reputation points
2024-01-09T13:48:54.92+00:00

In windows 10 I've automated most of my startup after a reboot and many other things. I am always using at least six desktops and would like to do some more automation for those. So I need to find command line commands to jump to "Desktop 4" or even a jump to desktop right (Ctrl+Win+ ->) and left (Ctrl+Win+ <-). It would also be helpful to be able to rename the desktop by command (while on it)

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-01-10T03:46:23.8633333+00:00

    Hi Borrelli, F Pat,

    Thank you for posting on the Q&A forum.

    Please give a try to the PowerShell module VirtualDesktop.

    https://github.com/MScholtes/PSVirtualDesktop

    You can rename a desktop with the Set-DesktopName cmdlet and jump to a desktop with the Switch-Desktop cmdlet.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.