Public/Set-VSTeamAlias.ps1
function Set-VSTeamAlias { [CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = "Low")] param( [switch] $Force ) if ($Force -or $pscmdlet.ShouldProcess("Set Alias")) { New-Alias ata Set-VSTeamAccount -Scope Global New-Alias sta Set-VSTeamAccount -Scope Global New-Alias gti Get-VSTeamInfo -Scope Global New-Alias ivr Invoke-VSTeamRequest -Scope Global New-Alias Get-ServiceEndpoint Get-VSTeamServiceEndpoint -Scope Global New-Alias Add-AzureRMServiceEndpoint Add-VSTeamAzureRMServiceEndpoint -Scope Global New-Alias Remove-ServiceEndpoint Remove-VSTeamServiceEndpoint -Scope Global New-Alias Add-SonarQubeEndpoint Add-VSTeamSonarQubeEndpoint -Scope Global New-Alias Add-KubernetesEndpoint Add-VSTeamKubernetesEndpoint -Scope Global New-Alias Add-ServiceEndpoint Add-VSTeamServiceEndpoint -Scope Global New-Alias Update-ServiceEndpoint Update-VSTeamServiceEndpoint -Scope Global New-Alias Add-ServiceFabricEndpoint Add-VSTeamServiceFabricEndpoint -Scope Global New-Alias Remove-ServiceFabricEndpoint Remove-VSTeamServiceFabricEndpoint -Scope Global New-Alias Remove-AzureRMServiceEndpoint Remove-VSTeamAzureRMServiceEndpoint -Scope Global New-Alias Remove-SonarQubeEndpoint Remove-VSTeamSonarQubeEndpoint -Scope Global New-Alias Get-Build Get-VSTeamBuild -Scope Global New-Alias Show-Build Show-VSTeamBuild -Scope Global New-Alias Get-BuildLog Get-VSTeamBuildLog -Scope Global New-Alias Get-BuildTag Get-VSTeamBuildTag -Scope Global New-Alias Get-BuildArtifact Get-VSTeamBuildArtifact -Scope Global New-Alias Add-Build Add-VSTeamBuild -Scope Global New-Alias Add-BuildTag Add-VSTeamBuildTag -Scope Global New-Alias Remove-Build Remove-VSTeamBuild -Scope Global New-Alias Remove-BuildTag Remove-VSTeamBuildTag -Scope Global New-Alias Update-Build Update-VSTeamBuild -Scope Global New-Alias Get-BuildDefinition Get-VSTeamBuildDefinition -Scope Global New-Alias Add-BuildDefinition Add-VSTeamBuildDefinition -Scope Global New-Alias Show-BuildDefinition Show-VSTeamBuildDefinition -Scope Global New-Alias Remove-BuildDefinition Remove-VSTeamBuildDefinition -Scope Global New-Alias Show-Approval Show-VSTeamApproval -Scope Global New-Alias Get-Approval Get-VSTeamApproval -Scope Global New-Alias Set-Approval Set-VSTeamApproval -Scope Global New-Alias Get-CloudSubscription Get-VSTeamCloudSubscription -Scope Global New-Alias Get-GitRepository Get-VSTeamGitRepository -Scope Global New-Alias Show-GitRepository Show-VSTeamGitRepository -Scope Global New-Alias Add-GitRepository Add-VSTeamGitRepository -Scope Global New-Alias Remove-GitRepository Remove-VSTeamGitRepository -Scope Global New-Alias Get-Pool Get-VSTeamPool -Scope Global New-Alias Get-Project Get-VSTeamProject -Scope Global New-Alias Show-Project Show-VSTeamProject -Scope Global New-Alias Update-Project Update-VSTeamProject -Scope Global New-Alias Add-Project Add-VSTeamProject -Scope Global New-Alias Remove-Project Remove-VSTeamProject -Scope Global New-Alias Get-Queue Get-VSTeamQueue -Scope Global New-Alias Get-ReleaseDefinition Get-VSTeamReleaseDefinition -Scope Global New-Alias Show-ReleaseDefinition Show-VSTeamReleaseDefinition -Scope Global New-Alias Add-ReleaseDefinition Add-VSTeamReleaseDefinition -Scope Global New-Alias Remove-ReleaseDefinition Remove-VSTeamReleaseDefinition -Scope Global New-Alias Get-Release Get-VSTeamRelease -Scope Global New-Alias Show-Release Show-VSTeamRelease -Scope Global New-Alias Add-Release Add-VSTeamRelease -Scope Global New-Alias Remove-Release Remove-VSTeamRelease -Scope Global New-Alias Set-ReleaseStatus Set-VSTeamReleaseStatus -Scope Global New-Alias Add-ReleaseEnvironment Add-VSTeamReleaseEnvironment -Scope Global New-Alias Get-TeamInfo Get-VSTeamInfo -Scope Global New-Alias Add-TeamAccount Set-VSTeamAccount -Scope Global New-Alias Remove-TeamAccount Remove-VSTeamAccount -Scope Global New-Alias Get-TeamOption Get-VSTeamOption -Scope Global New-Alias Get-TeamResourceArea Get-VSTeamResourceArea -Scope Global New-Alias Clear-DefaultProject Clear-VSTeamDefaultProject -Scope Global New-Alias Set-DefaultProject Set-VSTeamDefaultProject -Scope Global New-Alias Get-TeamMember Get-VSTeamMember -Scope Global New-Alias Get-Team Get-VSTeam -Scope Global New-Alias Add-Team Add-VSTeam -Scope Global New-Alias Update-Team Update-VSTeam -Scope Global New-Alias Remove-Team Remove-VSTeam -Scope Global New-Alias Add-Profile Add-VSTeamProfile -Scope Global New-Alias Remove-Profile Remove-VSTeamProfile -Scope Global New-Alias Get-Profile Get-VSTeamProfile -Scope Global New-Alias Set-APIVersion Set-VSTeamAPIVersion -Scope Global New-Alias Add-UserEntitlement Add-VSTeamUserEntitlement -Scope Global New-Alias Remove-UserEntitlement Remove-VSTeamUserEntitlement -Scope Global New-Alias Get-UserEntitlement Get-VSTeamUserEntitlement -Scope Global New-Alias Update-UserEntitlement Update-VSTeamUserEntitlement -Scope Global New-Alias Set-EnvironmentStatus Set-VSTeamEnvironmentStatus -Scope Global New-Alias Get-ServiceEndpointType Get-VSTeamServiceEndpointType -Scope Global New-Alias Update-BuildDefinition Update-VSTeamBuildDefinition -Scope Global New-Alias Get-TfvcRootBranch Get-VSTeamTfvcRootBranch -Scope Global New-Alias Get-TfvcBranch Get-VSTeamTfvcBranch -Scope Global New-Alias Get-WorkItemType Get-VSTeamWorkItemType -Scope Global New-Alias Add-WorkItem Add-VSTeamWorkItem -Scope Global New-Alias Get-WorkItem Get-VSTeamWorkItem -Scope Global New-Alias Show-WorkItem Show-VSTeamWorkItem -Scope Global New-Alias Get-Policy Get-VSTeamPolicy -Scope Global New-Alias Get-PolicyType Get-VSTeamPolicyType -Scope Global New-Alias Add-Policy Add-VSTeamPolicy -Scope Global New-Alias Update-Policy Update-VSTeamPolicy -Scope Global New-Alias Remove-Policy Remove-VSTeamPolicy -Scope Global New-Alias Get-GitRef Get-VSTeamGitRef -Scope Global New-Alias Get-Agent Get-VSTeamAgent -Scope Global New-Alias Remove-Agent Remove-VSTeamAgent -Scope Global New-Alias Enable-Agent Enable-VSTeamAgent -Scope Global New-Alias Disable-Agent Disable-VSTeamAgent -Scope Global New-Alias Update-Profile Update-VSTeamProfile -Scope Global New-Alias Get-APIVersion Get-VSTeamAPIVersion -Scope Global New-Alias Add-NuGetEndpoint Add-VSTeamNuGetEndpoint -Scope Global New-Alias Get-Feed Get-VSTeamFeed -Scope Global New-Alias Add-Feed Add-VSTeamFeed -Scope Global New-Alias Show-Feed Show-VSTeamFeed -Scope Global New-Alias Remove-Feed Remove-VSTeamFeed -Scope Global New-Alias Get-PullRequest Get-VSTeamPullRequest -Scope Global New-Alias Show-PullRequest Show-VSTeamPullRequest -Scope Global New-Alias Add-Extension Add-VSTeamExtension -Scope Global New-Alias Get-Extension Get-VSTeamExtension -Scope Global New-Alias Update-Extension Update-VSTeamExtension -Scope Global New-Alias Remove-Extension Remove-VSTeamExtension -Scope Global New-Alias Update-WorkItem Update-VSTeamWorkItem -Scope Global } } |