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

Add function: *-ServiceDeskTask #11

Closed
devynspencer opened this issue Dec 4, 2020 · 2 comments
Closed

Add function: *-ServiceDeskTask #11

devynspencer opened this issue Dec 4, 2020 · 2 comments
Labels
status: duplicate The issue is too similar or identical to an existing issue.

Comments

@devynspencer
Copy link
Owner

Add-ServiceDeskTask -Request 12345 -Title "Perform action xyz" -Priority High
Update-ServiceDeskTask -Request 12345 -Title "Perform action abc" -Priority Low
Remove-ServiceDeskTask -Request 12345 -Id 1
Resolve-ServiceDeskTask -Request 12345 -Id 1
@devynspencer
Copy link
Owner Author

Unsure whether to identify parent request with -Request or -Id. Obviously -Id would allow for better pipeline integration, but might be less obvious as a standalone parameter.

Find examples.

@devynspencer
Copy link
Owner Author

Add is looking more like the verb to use for attaching tasks to a request:

Adds a resource to a container, or attaches an item to another item. For example, the Add-Content cmdlet adds content to a file. This verb is paired with Remove.

Get-ServiceDeskRequest -Id 12345 | Add-ServiceDeskTask -Id 67890, 12345

@devynspencer devynspencer added the status: duplicate The issue is too similar or identical to an existing issue. label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate The issue is too similar or identical to an existing issue.
Projects
None yet
Development

No branches or pull requests

1 participant