Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kb5035942 2024-03 cumulative update preview - minor breakage . #42

Closed
chrisloup opened this issue Mar 27, 2024 · 3 comments
Closed

kb5035942 2024-03 cumulative update preview - minor breakage . #42

chrisloup opened this issue Mar 27, 2024 · 3 comments

Comments

@chrisloup
Copy link

its minor cos i just have to rewrite the script

new-desktop | Set-desktopname -name "abc" | switch-desktop will fail

new-desktop | Set-desktopname -name "abc" | switch-desktop "abc" will pass

Get-Desktop abc| Switch-Desktop "will pass"

image
image
image

image

@MScholtes
Copy link
Owner

Hello @chrisloup,

to use the virtual desktop object in a pipeline after Set-DesktopName you have to apply the additional parameter -PassThru, for example

New-Desktop | Set-DesktopName -Name "abc" -PassThru | Switch-Desktop

Greetings

Markus

@chrisloup
Copy link
Author

whoops.. i thought something changed cos i never saw that error message before.
all good then

@MScholtes
Copy link
Owner

You're welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants