Coder Social home page Coder Social logo

Comments (8)

scrthq avatar scrthq commented on May 28, 2024 1

@wesleykirkland also, generating the config like that wouldn't have worked with the current version of PSGSuite, single-file nested configs are something I've built into this release 🗡

from psgsuite.

scrthq avatar scrthq commented on May 28, 2024

@wesleykirkland adding this for continued discussion around v2.0.0 testing/dev

from psgsuite.

wesleykirkland avatar wesleykirkland commented on May 28, 2024

@scrthq I got started with your example, for some reason generating the config like that never occurred to me. Just putting this out there but I'm nuking the conf file each time it runs and rebuilding it on the fly to bypass the encryption settings.

The functions I needed most were these and their working perfectly!
get-gsgrouplist
get-gsgroupmemberlist
get-gsuserlist

from psgsuite.

scrthq avatar scrthq commented on May 28, 2024

@wesleykirkland awesome! Sure, if you know the values to begin with, being able to read the config is kind of irrelevant at that point because you already have the secrets. The main thing to keep locked are your P12 keys, which should hopefully have filesystem permissions protecting them as well. Once you're done testing and you have a config built out, delete your test script with your secrets on it.

And yup! those functions (really, all Directory API functions) are done. The only things I have left to wrap up are Drive and Sheets API functions, then she should be good to ship!

Let me know if you hit any snags! You should be able to get pretty good pipeline support also, even from AD User objects (all User params accept ValueFromPipelineByPropertyName with mail aliased)

Cheers!

from psgsuite.

scrthq avatar scrthq commented on May 28, 2024

@wesleykirkland little update to those *List functions as well: if you take off the "List" portion of the function name, they should work the exact same (working on cleaning up the *List files into a single file).

I.e.

Get-GSUser will behave the same as Get-GSUserList if you pass no args. The short version has the same parameters as the long version though, so you should find perfect interoperability. Also, Get-GSUser has been built out to be syntactically similar to Get-ADUser, if you're familiar with running AD commands:

Get-GSUser -Filter "IsAdmin -eq '$true'" -SearchBase '/Users' -SearchScope OneLevel

That would get you all Admin users in the Users OU and one level deeper.

from psgsuite.

scrthq avatar scrthq commented on May 28, 2024

confirmed PS4.0 works fine with the module, the dependency module Configuration 1.2.0 seems to break though in PS3.0 due to not following -ErrorAction Ignore used withing it (it's still throwing a Terminating Error).

PS 3.0 incompatibility isn't a huge loss, so it'll be backburnered until I can get Configuration + PSGSuite working in PS 3.0.

from psgsuite.

scrthq avatar scrthq commented on May 28, 2024

Drive file upload functions done and all previously existing and relevant functions converted for v2.0.0.

Prepping the remaining items to gear up for release!

from psgsuite.

scrthq avatar scrthq commented on May 28, 2024

PSGSuite 2.0.0 released!

Wiki has been updated, 100% of functions also have comment based help as well so the documentation is at your fingertips while using the module directly.

Please check out the README for any breaking changes!

PowerShell Gallery link: https://www.powershellgallery.com/packages/PSGSuite/2.0.0

Cheers!

from psgsuite.

Related Issues (20)

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.