Skip to content

hanneshayashi/gsm-powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This module provides you with PowerShell functions for all GSM commands.

Before using the module, make sure you have installed the GSM executable to somewhere in your PATH and set up GSM with a working configuration (see https://gsm.hayashi-ke.online/setup for instructions).

You can load the module by simply invoking

Import-Module ./GSM.psm1

Afterwards, you should have PowerShell commandlets for all GSM commands, like

List-GSMUsers
Delete-GSMFile -FileId <FileId>
SignOut-GSMUsersRecursive -OrgUnit <OrgUnit>

etc.

To get a list of the available commands, you can call

Get-Command -Module GSM

or, to get help for a specific function:

Get-Help Create-GSMDrives

The module is written so you can pipe the output of the commands like so:

List-GSMUsers | % {$_.primaryEmail <# or something useful#>}

This module is automatically generated with https://github.com/hanneshayashi/crescengo and https://github.com/PowerShell/crescendo.

About

A PowerShell module for GSM (Google Workspace CLI)

Resources

Stars

Watchers

Forks

Packages

No packages published