Skip to content

PSGSuite v2.21.1

Compare
Choose a tag to compare
@scrthq scrthq released this 21 Dec 08:30
fd498ba

Changelog

2.21.1

  • Issue #131 - Free/standard Google Account support
    • Fixed: Handling of scopes in New-GoogleService for authentication when a client_secrets.json file is used instead of the typical .p12 key.
    • Updated: Documentation to show how to use an account that is not a G Suite admin or G Suite user at all with PSGSuite
    • Updated: *-PSGSuiteConfig commands now store the client_secrets.json string contents directly on the encrypted config once provided either the path or the string contents directly, allowing users to remove any plain text credentials once loaded into the encrypted config.
    • Updated: Get-GSToken now uses New-GoogleService under the hood, so client_secrets.json will work with Contacts API.

Instructions

IMPORTANT: You MUST have the module 'Configuration' installed as a prerequisite! Installing the module from the repo source or the release page does not automatically install dependencies!!

  1. Click here to download the PSGSuite.zip file attached to the release.
  2. If on Windows: Right-click the downloaded zip, select Properties, then unblock the file.

    This is to prevent having to unblock each file individually after unzipping.

  3. Unzip the archive.
  4. (Optional) Place the module folder somewhere in your PSModulePath.

    You can view the paths listed by running the environment variable $env:PSModulePath

  5. Import the module, using the full path to the PSD1 file in place of PSGSuite if the unzipped module folder is not in your PSModulePath:
    # In $env:PSModulePath
    Import-Module PSGSuite
    
    # Otherwise, provide the path to the manifest:
    Import-Module -Path C:\MyPSModules\PSGSuite\2.21.1\PSGSuite.psd1