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

Set-AMTDevice removes tags if parameter is not specified #6

Open
michaelmumenthaler opened this issue Nov 28, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@michaelmumenthaler
Copy link
Contributor

Issue

When using the Set-AMTDevice command without specifying the -Tags parameter all tags are removed from the device.

Steps to reproduce

PS> Set-AMTDevice Device01 -Tags "London","Store12"

PS> Set-AMTDevice Device01 -Name DeviceNewName

PS> Get-AMTDevice DeviceNewName

Expected behaviour

The tags should only be removed if the -Tags parameter is set with the value $null or "".

@michaelmumenthaler michaelmumenthaler added the bug Something isn't working label Nov 28, 2022
@michaelmumenthaler michaelmumenthaler self-assigned this Nov 28, 2022
@michaelmumenthaler michaelmumenthaler removed their assignment Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant