Skip to content

PSGSuite v2.25.0

Compare
Choose a tag to compare
@scrthq scrthq released this 20 Mar 06:23
0553e1f

Changelog

2.25.0

  • Issue #162
    • Updated: New-GoogleService now caches Service objects created during the current session. This means that repeated calls will attempt to use an existing Service object from the cache if present, otherwise it will create the Service as usual.
    • Updated: New-GoogleService Verbose output. To cut down on verbose noisiness, the following verbose output is set:
      • New Service created = Building ServiceAccountCredential from....
      • First use of existing Service = Using matching cached service for user....
      • Re-use of existing Service = No verbose output (helps cut down on pipeline verbosity where service re-use is expected)
    • Added: Get-PSGSuiteServiceCache to get the current Service Cache for inspection.
  • Issue #163
    • Added: Get-GSCalendar to get the CalendarList of a user.
    • Added: Remove-GSCalendarAcl to remove Access Control List rules from Google Calendars.
  • Miscellaneous
    • Improved pipeline support for Gmail *Message functions and Calendar functions.
    • Added tab completion to Switch-PSGSuiteConfig for the ConfigName parameter.

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.25.0\PSGSuite.psd1