Giter Site home page Giter Site logo

devynspencer / powershell-sdp-cloud Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 2.0 153 KB

Interact with the ManageEngine ServiceDeskPlus OnDemand (cloud) API using PowerShell.

License: MIT License

PowerShell 100.00%
manage-engine servicedeskplus zoho

powershell-sdp-cloud's Introduction

Oh, Hello ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working on building APIs to help me keep track of everything.
  • ๐ŸŒฑ Iโ€™m currently learning Flask.
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on anything!
  • ๐Ÿ’ฌ Ask me about PowerShell - I've written tools for everything under then sun.
  • โšก Fun fact: Wish I had a fun fact.

powershell-sdp-cloud's People

Contributors

devynspencer avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

powershell-sdp-cloud's Issues

Add function: Send-ServiceDeskMessage

There doesn't appear to be a built-in way to send messages via the API. That said, an email with the correct subject could be generated, and the ticket email determined and included as well.

Get-ServiceDeskRequest -Id 12345 | Send-ServiceDeskMessage -Text "Here is an email update to a specific user. It will be added to the ticket conversation." -To devyn.spencer@example.com -Cc worker.bee@example.com

Pass boilerplate API parameters via the pipeline

Get-ServiceDeskRequest -AccessToken $AccessToken -Portal "helpdesk" -Id 12345 | Suspend-ServiceDeskRequest -Until "12/11/2020"

Get-ServiceDeskRequest -AccessToken $AccessToken -Portal "helpdesk" -Id 12345
    | Set-ServiceDeskRequest -Subject "New subject" | Resolve-ServiceDeskRequest

Add function: *-ServiceDeskProblem

New-ServiceDeskProblem
Remove-ServiceDeskProblem

# Unsure of correct verb to attach request(s) to a problem
Add-ServiceDeskRequest
Add-ServiceDeskProblem
Connect-ServiceDeskProblem
Join-ServiceDeskProblem
Push-ServiceDeskRequest

Add function: *-ServiceDeskTask

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

Add function: Rename-ServiceDeskRequest

Not a direct consumer of an API resource - more of a convenience function.

# Rename a ticket
Get-ServiceDeskRequest -Id 12345 | Rename-ServiceDeskRequest -Subject "New subject here"

# Add a prefix to an existing ticket
Get-ServiceDeskRequest -Id 12345 | Rename-ServiceDeskRequest -Prefix "FIX: "

# Add a suffix to an existing ticket
Get-ServiceDeskRequest -Id 12345 | Rename-ServiceDeskRequest -Suffix "- DUPLICATE"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.