-
Notifications
You must be signed in to change notification settings - Fork 3
Setup
dfinke edited this page Mar 28, 2021
·
2 revisions
You'll require:
- PowerShell
- Git
- A GitHub personal access token
Once you've got basic environment ready:
- Installing the PSAdvantage module
Simply run the command to get your setup up and running:
Install-Module -Name PSAdvantage
- Setup the access token
There are three ways to pass the GitHub public access token to PSAdvantage:
Each function supports the parameter -AccessToken
Get-GHRepo dfinke pstest -AccessToken 234234bc234245345a1232342345b5989cba989000a
Copy the public access token from GitHub and paste it in the AccessToken
value Line 2 in config.ps1
. It should look like:
@{
AccessToken = '234234bc234245345a1232342345b5989cba989000a'
}
Set the $env:PSAdvantageGHToken
variable. This can be set at the cli or in your PowerShell $PROFILE
$env:PSAdvantageGHToken = '234234bc234245345a1232342345b5989cba989000a'
- That's it you're all set!
Now, take a look at the Usage section for more info on how to use this tool.
- Home Welcome to PSAdvantage Wiki!
- Getting Started Getting started and setting up PSAdvantage.
- General Usage Basics of using PSAdvantage.
- Templates All about the templating engine.
- Use Cases Few exemplary use cases on how PSAdvantage could be used.