PSGSuite v2.23.1
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 onlygmail
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.
- Added:
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!!
- Click here to download the PSGSuite.zip file attached to the release.
- 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.
- Unzip the archive.
- (Optional) Place the module folder somewhere in your
PSModulePath
.You can view the paths listed by running the environment variable
$env:PSModulePath
- Import the module, using the full path to the PSD1 file in place of
PSGSuite
if the unzipped module folder is not in yourPSModulePath
:# In $env:PSModulePath Import-Module PSGSuite # Otherwise, provide the path to the manifest: Import-Module -Path C:\MyPSModules\PSGSuite\2.23.1\PSGSuite.psd1