PSGSuite Versions Save

Powershell module for Google / G Suite API calls wrapped in handy functions. Authentication is established using a service account via P12 key to negate the consent popup and allow for greater handsoff automation capabilities

v2.36.4

4 years ago

Changelog

2.36.4 - 2020-03-20

  • Issue #270
    • Corrected inaccurate warning that no licenses were found for a user when using the CheckAll switch on Get-GSUserLicense.

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

v2.36.3

4 years ago

Changelog

2.36.3 - 2020-03-20

  • Issue #270
    • Added CheckAll switch parameter to Get-GSUserLicense
    • Updated User parameter aliases for all *-GSUserLicense functions to include UserId for better pipeline support.
  • Miscellaneous
    • Updated GitHub Release section in psake.ps1 to POST the release to the Org URL due to failures.

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

v2.36.2

4 years ago

Changelog

2.36.2 - 2020-03-02

  • Issue #263
    • Cleaned up decryption logic for encrypted config.

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

v2.36.1

4 years ago

Changelog

2.36.1 - 2020-03-02

  • Issue #263
    • Fixed [SecureString] decryption on Unix machines running PowerShell 7 (found additional bugs)
    • Migrated private Encrypt and Decrypt to EncryptionHelpers.ps1 in the Private folder to allow a single place to update.

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

v2.36.0

4 years ago

Changelog

2.36.0 - 2020-02-28

  • PR #255 - Thanks, @FISHMANPET!
    • Added support for [ScriptBlock] values on the config, allowing you to provide a script to run that will pull in a configuration value (vs embedded the value directly on the config)
  • PR #255 - Thanks, @vaskotoo!
    • Added support for an array of Users on Get-GSGmailMessageList
  • PR #261 - Thanks, @Foggy2!
    • Added support for all license types including undocumented ones.
    • Closed out Issue #252 as well.
  • PR #262 - Thanks, @nwls-hermesj!
    • Added support for pipeline input of Drive file objects to Remove-GSDriveFile.
  • Issue #256
    • Cleaned up docs on Send-GSChatMessage.
  • Issue #258
    • Removed URL Shortener functions due to Google deprecation.
  • Issue #263
    • Fixed [SecureString] decryption on Unix machines running PowerShell 7
  • Miscellaneous
    • Removed the Tasks API functions. Google has not pushed an update to the Tasks .NET SDK in over 2 months, so it is now behind the current release versions of the core Google.Apis assemblies, resulting in failure to import.

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

v2.35.1

4 years ago

Changelog

2.35.1 - 2019-12-29

  • Issue #57
    • Updated New-GSGmailSMIMEInfo to cast Pkcs12 to URLSafeBase64 without removing the trailing padding =, based on GAMs process in Python. Confirmed replication of the resultant value being sent from GAM in PowerShell, ready to validate.

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

v2.35.0

4 years ago

Changelog

2.35.0 - 2019-12-29

  • Issue #216 - Thank you, @WJurecki!
    • Added Add-GSSheetValues to use the native Append() method instead of BatchUpdate() to prevent needing to calculate the last row like you do with Export-GSSheet. Since the input for this method has additional options and the output differs from what Export-GSSheet outputs, this has been moved to a unique function to prevent introducing breaking changes to Export-GSSheet.
  • Issue #221
    • Added: Invoke-GSUserOffboarding function to wrap common offboarding tasks for ease of access management automation.
  • Issue #248
    • Fixed Get-GSSheetInfo so it no longer defaults -IncludeGridData to $true if not specified in $PSBoundParameters.
  • Issue #249
    • Updated private function Resolve-Email with new IsGroup switch, then cleaned up all *-GSGroup* functions to use it so that Group ID's are respected based on RegEx match.
  • Issue #252
    • Added: Archived parameter to Update-GSUser to enable setting of Archived User licenses.
  • Miscellaneous
    • Swapped instances of Get-StoragePath for Get-ConfigurationPath in Import-SpecificConfiguration and Set-PSGSuiteConfig to avoid alias related issues with PowerShell 4.0

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

v2.34.0

4 years ago

Changelog

2.34.0 - 2019-11-02

  • Issue #245 + PR #246 - Thank you, @devblackops!
    • Added: Optional -CreateMeetEvent switch parameter to New-GSCalendarEvent to create a Google Meet conference and attach it to the calendar event.

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

v2.33.2

4 years ago

Changelog

2.33.2 - 2019-10-06

  • Issue #242
    • Fixed: Error handling around [System.Console]::CursorVisible on Start-GSDriveFileUpload, Wait-GSDriveFileUpload and Write-InlineProgress
    • Cleaned up verbose handling on Stop-GSDriveFileUpload due to file uploads showing as Failed even though they were successful.
  • Miscellaneous
    • Updated build.ps1 script for better verbose output

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

v2.33.1

4 years ago

Changelog

2.33.1 - 2019-10-06

  • Issue #235
    • Removed: Name parameter from Start-GSDriveFileUpload as it was unused in the function and doesnt make sense when uploading an array of files.
  • Issue #238
    • Added: Get-GSDataTransfer to Get/List current Data Transfers
  • Issue #239
    • Removed: Update-GSResource Id parameter as it was non-applicable (duplicate of ResourceId and not writable per API docs)
    • Cleaned up function help and examples to match changes
  • Issue #240
    • Fixed: Get-GSCalendar now properly resolves single calendar metadata retrieval and passes List requests to Get-GSCalendarSubscription since the Calendars service does not support List requests.
  • Miscellaneous
    • Updated Google .NET SDKs to latest versions
    • Cleaned up build.ps1 script

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