Comments (8)
@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.
@wesleykirkland adding this for continued discussion around v2.0.0 testing/dev
from psgsuite.
@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.
@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.
@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.
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.
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.
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)
- You don't have sufficient permissions to use the requested API HOT 1
- Additional Reports Since Last Edited HOT 1
- Send-GmailMessage: Special characters not displayed as expected in HTML Body HOT 1
- Inconsistent Get-GSUser "IsEnrolledIn2Sv" field results when multiple users are returned HOT 1
- Update-GSChromeOSDevice - Wipe devices User Profile Only HOT 6
- PowerShell Constrained Language mode HOT 1
- Setup Guide Unclear / Not up to Date HOT 5
- Dynamically Generating Functions for Slide/Doc/Sheet updates
- Create Documents and Presentations
- 2.37.0 release is too big for Azure Automation
- Add option to enable conversation history HOT 1
- Licensing Data out of date HOT 4
- Still being developed?
- Add Last Known Network to Get-GSChromeOSDevice HOT 8
- Get-GSGmailSignature ... Update-GSGmailSignature HOT 1
- Update-GSUser support for unarchiving HOT 2
- Update-GSUserSecuritySettings -User User -AllowLessSecureApps -$True
- Set group labels via CloudIdentity API
- I am getting error in gsuite assement
- Initial Setup Instructions Need Updating (Here's what worked for me) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psgsuite.