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

Remove break on warnings in Get-MSIntuneAuthToken #33

Open
wants to merge 123 commits into
base: master
Choose a base branch
from

Conversation

onerstam
Copy link

Break statements can cause callers to exit execution when placed outside of a loop, switch, or trap. Resolves issue #32

NickolajA and others added 28 commits February 22, 2021 14:56
Correcting consistent use of "Group Tag" vs "GroupTag" vs "group tag".
Update Set-AutopilotDeviceGroupTag.ps1
Break statement exits execution also for callers and there is no way for a caller to handle warning in a script because it is exited.
Break statements can cause callers to exit execution when placed outside of a loop, switch, or trap. Resolves issue MSEndpointMgr#32
@JankeSkanke JankeSkanke force-pushed the master branch 2 times, most recently from 987e4e9 to 0a274b7 Compare November 14, 2021 19:27
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

Successfully merging this pull request may close these issues.

5 participants