PsVsts provides a suite of PowerShell functions that help automate interaction with VisualStudio Online.
Install chocolatey (if you don't have it yet)
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
choco install PsVsts
Once installed all the cmdlets should be auto-loaded and ready to use. If not just run
PsVsts contains several cmdlets to automate some common operations. You can see details of each one through normal PowerShell docs.
Get-MyWorkItems Gets the work items that are assigned to or created by you. Provides easy way to filter by open vs finished items.
Get-WorkItems Gets the work items given a query.
Open-WorkItems Opens work items in your web browser.
Takes a local git repo, creates a corresponding repo in your VSTS project, adds that repo as a remote origin and pushes your local repo to it.
Submit-PullRequest Submits a pull request
Get-Builds Gets a list of builds
Set-VstsConfig Sets a config value for use in other PsVsts functions
Get-VstsConfig Gets the config values