We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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"
The text was updated successfully, but these errors were encountered:
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
Sorry, something went wrong.
whoops.. i thought something changed cos i never saw that error message before. all good then
You're welcome
No branches or pull requests
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"
The text was updated successfully, but these errors were encountered: