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

some fixes #466

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

some fixes #466

wants to merge 3 commits into from

Conversation

Xento
Copy link

@Xento Xento commented Mar 17, 2023

No description provided.

Copy link

@ITsVeritas ITsVeritas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will result in the while loop continuously running since the BitsTransfer job no longer exists and therefore the JobState will never match "Transferred|Suspended". Any instances of "Remove-BitsTransfer" inside the Invoke-BitsJobMonitor function should be changed to "Suspend-BitsTransfer" so the status will become "Suspended" and the remainder of the script can handle the removal of the bitsjob gracefully.

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.

2 participants