MScholtes / PSVirtualDesktop

VirtualDesktop is a Powershell module that provides commandlets to manage virtual desktops of Windows 10.
MIT License
294 stars 18 forks source link

feat: add `-PassThru` switch to retrieve desktop after name changing #4

Closed sirAndros closed 3 years ago

sirAndros commented 3 years ago

Hello! I think that it's pretty for me to write New-Desktop | Set-DesktopName $DesktopName -PassThru | Switch-Desktop instead of dealing with new variable. P.S. Thank you for this module - it's awesome!

sirAndros commented 3 years ago

I was trying to write code in your style, but if I misunderstood some - feel free to edit.