Skip to content

Commit 0ee2de3

Browse files
authored
Merge pull request #54 from WeAreInSpark/docs/add-docs
docs: fixing docs
2 parents f982a64 + 30878bf commit 0ee2de3

File tree

54 files changed

+58
-5494
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+58
-5494
lines changed

AzureDevOpsPowerShell/Public/Api/Build/GeneralSettings/Set-AzDOProjectSetting.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ function Set-AzDoProjectSetting {
77
.EXAMPLE
88
$params = @{
99
CollectionUri = "https://dev.azure.com/contoso"
10-
PAT = "***"
1110
ProjectName = "Project01"
1211
EnforceJobAuthScope = $true
1312
EnforceJobAuthScopeForReleases = $true

AzureDevOpsPowerShell/Public/Api/Core/Projects/Get-AzDoProject.ps1

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ function Get-AzDoProject {
77
.EXAMPLE
88
$Params = @{
99
CollectionUri = "https://dev.azure.com/contoso"
10-
PAT = "***"
1110
}
1211
Get-AzDoProject @params
1312
@@ -16,7 +15,6 @@ function Get-AzDoProject {
1615
.EXAMPLE
1716
$Params = @{
1817
CollectionUri = "https://dev.azure.com/contoso"
19-
PAT = "***"
2018
ProjectName = 'Project1'
2119
}
2220
Get-AzDoProject @params
@@ -26,7 +24,6 @@ function Get-AzDoProject {
2624
.EXAMPLE
2725
$params = @{
2826
collectionuri = "https://dev.azure.com/contoso"
29-
PAT = "***"
3027
}
3128
$somedifferentobject = [PSCustomObject]@{
3229
ProjectName = 'Project1'
@@ -38,7 +35,6 @@ function Get-AzDoProject {
3835
.EXAMPLE
3936
$params = @{
4037
collectionuri = "https://dev.azure.com/contoso"
41-
PAT = "***"
4238
}
4339
@(
4440
'Project1',

AzureDevOpsPowerShell/Public/Api/Core/Projects/Remove-AzDoProject.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ function Remove-AzDoProject {
55
.DESCRIPTION
66
Function to create an Azure DevOps project
77
.EXAMPLE
8-
New-AzDoProject -CollectionUri "https://dev.azure.com/contoso" -PAT "***" -ProjectName "Project 1"
8+
New-AzDoProject -CollectionUri "https://dev.azure.com/contoso" -ProjectName "Project 1"
99
1010
This example creates a new private Azure DevOps project
1111
.EXAMPLE
12-
New-AzDoProject -CollectionUri "https://dev.azure.com/contoso" -PAT "***" -ProjectName "Project 1" -Visibility 'public'
12+
New-AzDoProject -CollectionUri "https://dev.azure.com/contoso" -ProjectName "Project 1" -Visibility 'public'
1313
1414
This example creates a new public Azure DevOps project
1515
.EXAMPLE
16-
@("MyProject1","Myproject2") | New-AzDoProject -CollectionUri "https://dev.azure.com/contoso" -PAT "***"
16+
@("MyProject1","Myproject2") | New-AzDoProject -CollectionUri "https://dev.azure.com/contoso"
1717
1818
This example creates two new Azure DevOps projects using the pipeline.
1919

AzureDevOpsPowerShell/Public/Api/DistributedTask/VariableGroups/Add-AzDoVariableGroupVariable.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ function Add-AzDoVariableGroupVariable {
99
$splat = @{
1010
CollectionUri = 'https://dev.azure.com/ChristianPiet0452/'
1111
ProjectName = 'Ditproject'
12-
PAT = '*******************'
1312
VariableGroupName = @('Group1', 'Group2')
1413
Variables = @{
1514
test = @{

AzureDevOpsPowerShell/Public/Api/DistributedTask/VariableGroups/Get-AzDoVariableGroup.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ function Get-AzDoVariableGroup {
88
.EXAMPLE
99
$params = @{
1010
Collectionuri = 'https://dev.azure.com/weareinspark/'
11-
PAT = '*******************'
1211
ProjectName = 'Project 1'
1312
VariableGroupName = 'VariableGroup1','VariableGroup2'
1413
}

AzureDevOpsPowerShell/Public/Api/DistributedTask/VariableGroups/New-AzDoVariableGroup.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ function New-AzDoVariableGroup {
88
.EXAMPLE
99
$params = @{
1010
Collectionuri = 'https://dev.azure.com/weareinspark/'
11-
PAT = '*******************'
1211
ProjectName = 'Project 1'
1312
VariableGroupName = 'VariableGroup1'
1413
Variables = @{ test = @{ value = 'test' } }

AzureDevOpsPowerShell/Public/Api/Environments/Environments/Get-AzDoEnvironment.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ function Get-AzDoEnvironment {
77
.EXAMPLE
88
$params = @{
99
CollectionUri = "https://dev.azure.com/contoso"
10-
PAT = "***"
1110
Name = "Policy 1"
1211
RepoName = "Repo 1"
1312
ProjectName = "Project 1"

AzureDevOpsPowerShell/Public/Api/Environments/Environments/New-AzDoEnvironment.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ function New-AzDoEnvironment {
77
.EXAMPLE
88
$params = @{
99
CollectionUri = "https://dev.azure.com/contoso"
10-
PAT = "***"
1110
Name = "Policy 1"
1211
RepoName = "Repo 1"
1312
ProjectName = "Project 1"

AzureDevOpsPowerShell/Public/Api/Git/Pushes/Add-FilesToRepo.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ function Add-FilesToRepo {
77
.EXAMPLE
88
$params = @{
99
CollectionUri = "https://dev.azure.com/contoso"
10-
PAT = "***"
1110
Name = "Repo 1"
1211
ProjectName = "Project 1"
1312
}

AzureDevOpsPowerShell/Public/Api/Git/Repositories/Get-AzDoRepo.ps1

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ function Get-AzDoRepo {
77
.EXAMPLE
88
$Params = @{
99
CollectionUri = "https://dev.azure.com/contoso"
10-
PAT = "***"
1110
ProjectName = "Project 1"
1211
Name "Repo 1"
1312
}
@@ -17,7 +16,6 @@ function Get-AzDoRepo {
1716
.EXAMPLE
1817
$Params = @{
1918
CollectionUri = "https://dev.azure.com/contoso"
20-
PAT = "***"
2119
ProjectName = "Project 1"
2220
Name "Repo 1"
2321
}
@@ -27,7 +25,6 @@ function Get-AzDoRepo {
2725
.EXAMPLE
2826
$Params = @{
2927
CollectionUri = "https://dev.azure.com/contoso"
30-
PAT = "***"
3128
Name "Repo 1"
3229
}
3330
get-AzDoProject -pat $pat -CollectionUri $collectionuri | Get-AzDoRepo -PAT $PAT

0 commit comments

Comments
 (0)