GithubHelp home page GithubHelp logo

calebalbers / it-glue-api-powershell-wrapper Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 4.0 27 KB

This PowerShell module acts as a wrapper for the IT Glue (http://itglue.com) API.

License: MIT License

PowerShell 100.00%
api api-wrapper automation glue it itglue module powershell powershell-module

it-glue-api-powershell-wrapper's People

Contributors

calebalbers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

it-glue-api-powershell-wrapper's Issues

Enhance documentation

Better function documentation needs to be created. Additionally, examples of usage, screenshots, and a guide on what style of output to expect should be added to make it easier for people to get started.

Support `Set-` (Update) Functionality

Support functionality for updating objects, as supported by the IT Glue API. These would take the form of Set- verbs.

This would also include bulk update functionality for resources that support it.

Having troubles getting this working

I have set the base uri.
I have added my api key.
I've exported settings.

When I run a cmdlet to test, it errors out:

PS C:\Users\dlee> Get-ITGlueUsers
Invoke-RestMethod : Specified value has invalid Control characters.
Parameter name: value
At C:\Users\dlee\Documents\WindowsPowerShell\Modules\ITGlueAPI\Resources\Users.ps1:48 char:20

  • ... st_output = Invoke-RestMethod -method "GET" -uri ($ITGlue_Base_URI + ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Invoke-RestMethod], ArgumentException
    • FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

It doesn't seem like it's an api key issue. As I have ran the command without an api key and the error is different.

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.