Skip to content

PSGSuite v2.23.1

Compare
Choose a tag to compare
@scrthq scrthq released this 05 Mar 19:05
929d347

Changelog

2.23.1

This update changes the output of Get-GSUsageReport -- please review the output changes before updating if you have scripts that use that function!!

  • Fixed: Get-GSUsageReport wasn't displaying critical report information (such as the Entity info) due to Select-Object being hardcoded. Function has been updated to parse the resulting Parameters and Entity info out to the top-level object.
    • Added: Flat switch to specify that the parsed properties match what GAM returns, i.e. 'gmail:num_outbound_unencrypted_emails' = 6. Normal behavior would be to parse that into an ordered dictionary, i.e. gmail['num_outbound_unencrypted_emails'] = 6, so that only gmail is seen from the top level object and all relevant report data is captured in the underlying dictionary.
    • Added: Raw switch to allow the raw UsageReportsValue to be returned instead of parsing it out.

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