Giter Club home page Giter Club logo

topdeskpsclient's Issues

Improvements to Get-IncidentList - Output Object

Is your feature request related to a problem? Please describe.
Improve Get-IncidentList for compatibility and usability

Describe the solution you'd like
All returns should be a pscutomobject to comply with signature.

Describe alternatives you've considered
N/A

Additional context
On error a string is returned instead of a pscustomobject, this would not be expected as it is a return value.

Improve Enum handling for sorting options - Get-IncidentList

Is your feature request related to a problem? Please describe.
Enum handling of sorting parameter works on string values and contains a large number of permutations (1023)

Describe the solution you'd like
Separate ascending and descending sorting parameters into 2 Enums.
This could be handled using Enums with only 31 permutations per parameter.

Describe alternatives you've considered
Continue parsing parameter as is with string manipulation.

Additional context

Improve Connect by testing URL connectivity

Is your feature request related to a problem? Please describe.
When calling connect, the attempt is made to connect and authenticate based on a valid formatted URL

Describe the solution you'd like
With a valid formatted URL, use Test-NetConnection to validate connectivity before connection/authentication attempt.

if(Test-NetConnection -ComputerName $url -InformationLevel Quiet) { ...

Describe alternatives you've considered
Allow connection attempts without testing.

Additional context
Reporting on the connection failure should be using Write-Warning instead of Write-Verbose.

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.