- Obtain GitLab Personal Access Token key via Profile -> Preferences -> Access tokens
- Import module:
import-module mm-gitlab
- Initialize session:
Initialize-GitlabSession -Url 'https://gitlab...' -Token '<token>'
You can use any module function now. To get a list of available functions invoke: Get-Command -Module mm-gitlab
.
Use $VerbosePreference = 'Continue'
on the top of the script or -Verbose
option on any function to see detailed low level communication with GitLab.
Nothing particular is required. Works with PowerShell 3+.