Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Accounts/Accounts/help/Add-AzEnvironment.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ The built-in environments AzureCloud and AzureChinaCloud target existing public
## EXAMPLES

### Example 1: Creating and modifying a new environment
<!-- Skip: Output cannot be splitted from code -->
```powershell
Add-AzEnvironment -Name TestEnvironment `
-ActiveDirectoryEndpoint TestADEndpoint `
Expand Down Expand Up @@ -107,7 +108,7 @@ ExtendedProperties : {}
BatchEndpointResourceId :
```

In this example we are creating a new Azure environment with sample endpoints using Add-AzEnvironment, and then we are changing the value of the ActiveDirectoryEndpoint and GraphEndpoint attributes of the created environment using the cmdlet Set-AzEnvironment.
In this example we are creating a new Azure environment with sample endpoints using Add-AzEnvironment, and then we are changing the value of the ActiveDirectoryEndpoint and GraphEndpoint attributes of the created environment using the cmdlet Set-AzEnvironment.

### Example 2: Discovering a new environment via Uri
```powershell
Expand Down
1 change: 1 addition & 0 deletions src/Accounts/Accounts/help/Remove-AzEnvironment.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ The Remove-AzEnvironment cmdlet removes endpoints and metadata information for c
## EXAMPLES

### Example 1: Creating and removing a test environment
<!-- Skip: Output cannot be splitted from code -->
```powershell
Add-AzEnvironment -Name TestEnvironment `
-ActiveDirectoryEndpoint TestADEndpoint `
Expand Down
1 change: 1 addition & 0 deletions src/Accounts/Accounts/help/Set-AzEnvironment.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ The Set-AzEnvironment cmdlet sets endpoints and metadata for connecting to an in
## EXAMPLES

### Example 1: Creating and modifying a new environment
<!-- Skip: Output cannot be splitted from code -->
```powershell
Add-AzEnvironment -Name TestEnvironment `
-ActiveDirectoryEndpoint TestADEndpoint `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Gets the Network status of their Api Management service
## EXAMPLES

### Example 1
<!-- Skip: Output cannot be splitted from code -->
```powershell
Get-AzApiManagementNetworkStatus -ResourceGroupName powershelltest -Name powershellsdkservice

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,17 @@ Restore-AzApiManagement -ResourceGroupName "ContosoGroup" -Name "RestoredContoso
This command restores an API Management service from Azure storage blob.

### Example 2: Restore an API Management service using Managed Identity Credentials

```powershell
PS D:> $storageContext=New-AzStorageContext -StorageAccountName apimbackupmsi
PS D:> $resourceGroupName="ContosoGroup02";
PS D:> $apiManagementName="contosoapi";
PS D:> $containerName="apimbackupcontainer";
PS D:> $backupName="test-sdk-backup-1";
PS D:> $msiClientId="a6270d0c-7d86-478b-8cbe-dc9047ba54f7"

PS D:> Restore-AzApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -StorageContext $storageContext -SourceContainerName $containerName -SourceBlobName $backupName -AccessType "UserAssignedManagedIdentity" -IdentityClientId $msiClientId -PassThru
```


```output
PublicIPAddresses : {52.143.79.150}
PrivateIPAddresses :
Id : /subscriptions/4f5285a3-9fd7-40ad-91b1-d8fc3823983d/resourceGroups/ContosoGroup02/providers/Microsoft.ApiManagement/service/contosoapi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Set-AzApiManagement -InputObject $apim -PassThru
```

### Example 5: Add Managed Certificate to an APIM Service
<!-- Skip: Output cannot be splitted from code -->

```powershell
$gateway=New-AzApiManagementCustomHostnameConfiguration -Hostname freecertCanary.contoso.api -HostnameType Proxy -ManagedCertificate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ The cmdlet **Set-AzApiManagementDiagnostic** updates the diagnostics which is co
## EXAMPLES

### Example 1: Modify a diagnostic at the Global scope
<!-- Skip: Output cannot be splitted from code -->
```powershell
$context =New-AzApiManagementContext -ResourceGroupName Api-Default-WestUS -ServiceName contoso
$diagnostic=Get-AzApiManagementDiagnostic -Context $context -DiagnosticId "applicationinsights"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ The **Get-AzAutomationDscNodeConfigurationDeployment** cmdlet deploys an APS Des
## EXAMPLES

### Example 1: Get a node configuration deployment
<!-- Skip: Output cannot be splitted from code -->
```powershell
$deployment = Get-AzAutomationDscNodeConfigurationDeployment `
-JobId 35b14eb4-52b7-4a1d-ad62-8e9f84adc657 `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ RunbookName : Deploy-NodeConfigurationToAutomationDscNodesV1
```

### Example 2: Get a deployment schedule
<!-- Skip: Output cannot be splitted from code -->
```powershell
$js = Get-AzAutomationDscNodeConfigurationDeploymentSchedule `
-AutomationAccountName "Contoso01" `
Expand Down
1 change: 1 addition & 0 deletions src/Batch/Batch/help/Get-AzBatchAccountKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ $Context = Get-AzBatchAccountKey -AccountName myaccount
This command gets the account details and stores it in a `$Context` object for use later.

### Example 2: Get batch account keys and display them
<!-- Skip: Output cannot be splitted from code -->
```powershell
$Context = Get-AzBatchAccountKey -AccountName myaccount
$Context.PrimaryAccountKey
Expand Down
1 change: 1 addition & 0 deletions src/Batch/Batch/help/Get-AzBatchPoolNodeCount.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ contosopool2 Idle: 1, Rebooting: 1, Total: 2
List node counts per node state for pools under current batch account context.

### Example 2
<!-- Skip: Output cannot be splitted from code -->

```powershell
Get-AzBatchPoolNodeCount -BatchContext $batchContext -PoolId "contosopool1"
Expand Down
1 change: 1 addition & 0 deletions src/CloudService/help/Get-AzCloudServiceInstanceView.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Gets the status of a cloud service.
## EXAMPLES

### Example 1: Get cloud service instance view
<!-- Skip: Output cannot be splitted from code -->
```powershell
$cloudServiceInstanceView = Get-AzCloudServiceInstanceView -ResourceGroupName "ContosOrg" -CloudServiceName "ContosoCS"

Expand Down
2 changes: 1 addition & 1 deletion src/CloudService/help/New-AzCloudService.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ $networkProfile = @{loadBalancerConfiguration = $loadBalancerConfig}

# Read Configuration File
$cscfgFile = "<Path to cscfg configuration file>"
= Get-Content $cscfgFile | Out-String
$cscfgContent = Get-Content $cscfgFile | Out-String

# Create cloud service
$cloudService = New-AzCloudService `
Expand Down
1 change: 1 addition & 0 deletions src/Compute/Compute/help/Invoke-AzVMRunCommand.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Invoke-AzVMRunCommand -ResourceGroupName 'rgname' -VMName 'vmname' -CommandId 'R
Invoke a run command 'RunPowerShellScript' with overriding the script 'sample.ps1' on a Windows VM named 'vmname' in resource group 'rgname'. Var1 and var2 are defined as parameters in the sample.ps1. Parameter value can be string type only and script is responsible for converting them to other types if needed.

### Example 2: Invoke a command on Linux
<!-- Skip: Output cannot be splitted from code -->
```powershell
export param1=var1 param2=var2
set -- var1 var2 var3
Expand Down
1 change: 1 addition & 0 deletions src/Compute/Compute/help/New-AzDiskConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ set the disk encryption key and key encryption key settings for the disk object.
takes the disk object and creates a disk with name 'Disk01' in resource group 'ResourceGroup01'.

### Example 2
<!-- Skip: Output cannot be splitted from code -->
```powershell
$diskconfig = New-AzDiskConfig -Location 'Central US' -DiskSizeGB 1023 -SkuName Standard_LRS -OsType Windows -CreateOption Upload -DiskIOPSReadWrite 500 -DiskMBpsReadWrite 8;
New-AzDisk -ResourceGroupName 'ResourceGroup01' -DiskName 'Disk01' -Disk $diskconfig;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ To update other fields use the CreateOrUpdate method.
## EXAMPLES

### Example 1: Update the tags of a private link scope
<!-- Skip: Output cannot be splitted from code -->
```powershell
$scope = Update-AzConnectedPrivateLinkScopeTag -ResourceGroupName $resourceGroupName -ScopeName $scopeName -Tag $tags2

Expand Down
2 changes: 2 additions & 0 deletions src/CosmosDB/CosmosDB/help/Get-AzCosmosDBLocation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ List Azure Cosmos DB locations with their location properties. It includes Locat
## EXAMPLES

### Example 1: Get Azure Cosmos DB Account Location Properties for Given Location
<!-- Skip: Output cannot be splitted from code -->
```powershell
Get-AzCosmosDBLocation -Location "Central US"

Expand All @@ -49,6 +50,7 @@ Get-AzCosmosDBLocation -Location "Central US" | ConvertTo-Json
```

### Example 2: List Azure Cosmos DB Account Locations and their properties
<!-- Skip: Output cannot be splitted from code -->
```powershell
Get-AzCosmosDBLocation

Expand Down
1 change: 1 addition & 0 deletions src/DataBox/help/Get-AzDataBoxJobCredential.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ This method gets the unencrypted secrets related to the job.
## EXAMPLES

### Example 1: Get databoxHeavy job credential
<!-- Skip: Output cannot be splitted from code -->
```powershell
Get-AzDataBoxJobCredential -Name "DtbxPowershell" -ResourceGroupName "resourceGroupName"

Expand Down
1 change: 1 addition & 0 deletions src/DataBox/help/New-AzDataBoxJob.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Existing job cannot be updated with this API and should instead be updated with
## EXAMPLES

### Example 1: Create a databox import job
<!-- Skip: Output cannot be splitted from code -->
```powershell
$dataAccount = New-AzDataBoxStorageAccountDetailsObject -DataAccountType "StorageAccount" -StorageAccountId "/subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
$contactDetail = New-AzDataBoxContactDetailsObject -ContactName "random" -EmailList @("emailId") -Phone "1234567891"
Expand Down
2 changes: 2 additions & 0 deletions src/DataBox/help/Update-AzDataBoxJob.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Updates the properties of an existing job.
## EXAMPLES

### Example 1: Update databox job encryption from microsoft managed to customer managed with user assigned identities
<!-- Skip: Output cannot be splitted from code -->
```powershell
$keyEncryptionDetails = New-AzDataBoxKeyEncryptionKeyObject -KekType "CustomerManaged" -IdentityProperty @{Type = "UserAssigned"; UserAssignedResourceId = "/subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName"} -KekUrl "keyIdentifier" -KekVaultResourceId "/subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"

Expand Down Expand Up @@ -55,6 +56,7 @@ Powershell10 WestUS DeviceOrdered ImportToAzure DataBox UserAssigned NonSchedu
Update databox job encryption from microsoft managed to customer managed with user assigned identities.

### Example 2: Update databox job encryption from microsoft managed to customer managed with system identities in 2 updates
<!-- Skip: Output cannot be splitted from code -->
```powershell
$databoxUpdate = Update-AzDataBoxJob -Name "pwshTestSAssigned" -ResourceGroupName "resourceGroupName" -ContactDetail $contactDetail -ShippingAddress $ShippingDetails -IdentityType "SystemAssigned"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ The PowerShell command sequence for data flow debug workflow should be:
## EXAMPLES

### Example 1
<!-- Skip: Output cannot be splitted from code -->
```powershell
$result = Invoke-AzDataFactoryV2DataFlowDebugSessionCommand -ResourceGroupName adf -DataFactoryName WiKiADF -Command executePreviewQuery -SessionId fd76cd0d-8b37-4dc0-a370-3f9d43ac686d -StreamName source1 -RowLimit 100 -AsJob
$result
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ The PowerShell command sequence for data flow debug workflow should be:
## EXAMPLES

### Example 1
<!-- Skip: Output cannot be splitted from code -->
```powershell
$job = Start-AzDataFactoryV2DataFlowDebugSession -ResourceGroupName adf -DataFactoryName jikma0601sea -AsJob
$job
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ the database level settings for migration.
## EXAMPLES

### Example 1
<!-- Skip: Output cannot be splitted from code -->
```powershell
$x = New-AzDataMigrationMongoDbCollectionSetting -Name myCollection -TargetRequestUnit 1000 -CanDelete -ShardKey "_id:-1,age:1,name"
$x
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Use cmdlet "New-AzFrontDoorHeaderActionObject" to create PSHeaderObjects to pass
## EXAMPLES

### Example 1
<!-- Skip: Output cannot be splitted from code -->
```powershell
$headerActions = New-AzFrontDoorHeaderActionObject -HeaderActionType "Append" -HeaderName "X-Content-Type-Options" -Value "nosniff"
$headerActions
Expand All @@ -69,6 +70,7 @@ RequestHeaderActions ResponseHeaderActions RouteConfigurationOverride
Create a rules engine action that append response header value and show how to view the properties of the rules engine action created.

### Example 2
<!-- Skip: Output cannot be splitted from code -->
```powershell
$rulesEngineAction = New-AzFrontDoorRulesEngineActionObject -RequestHeaderAction $headerActions -ForwardingProtocol HttpsOnly -BackendPoolName mybackendpool -ResourceGroupName Jessicl-Test-RG -FrontDoorName jessicl-test-myappfrontend -QueryParameterStripDirective StripNone -DynamicCompression Disabled -EnableCaching $true
$rulesEngineAction
Expand Down Expand Up @@ -99,6 +101,7 @@ EnableCaching : True
Create a rules engine action that forwards the requests to a speicific backend pool and show how to view the properties of the rules engine action created.

### Example 3
<!-- Skip: Output cannot be splitted from code -->
```powershell
$rulesEngineAction = New-AzFrontDoorRulesEngineActionObject -RedirectType Moved -RedirectProtocol MatchRequest -CustomHost www.contoso.com
$rulesEngineAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Use cmdlet "New-AzFrontDoorRulesEngineMatchConditionObject" to create PSRulesEng
## EXAMPLES

### Example 1
<!-- Skip: Output cannot be splitted from code -->
```powershell
New-AzFrontDoorRulesEngineRuleObject -Name rules1 -Priority 0 -Action $rulesEngineAction -MatchProcessingBehavior Stop -MatchCondition $rulesEngineMatchCondition

Expand Down
1 change: 1 addition & 0 deletions src/FrontDoor/FrontDoor/help/Set-AzFrontDoorRulesEngine.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Update a Rules Engine.
## EXAMPLES

### Example 1
<!-- Skip: Output cannot be splitted from code -->
```powershell
Get-AzFrontDoorRulesEngine -ResourceGroupName $resourceGroupName -FrontDoorName $frontDoorName -Name myRulesEngine

Expand Down
1 change: 1 addition & 0 deletions src/KeyVault/KeyVault/help/Add-AzKeyVaultCertificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ The **Add-AzKeyVaultCertificate** cmdlet starts the process of enrolling for a c
## EXAMPLES

### Example 1: Add a certificate
<!-- Skip: Output cannot be splitted from code -->
```powershell
$Policy = New-AzKeyVaultCertificatePolicy -SecretContentType "application/x-pkcs12" -SubjectName "CN=contoso.com" -IssuerName "Self" -ValidityInMonths 6 -ReuseKeyOnRenewal
Add-AzKeyVaultCertificate -VaultName "ContosoKV01" -Name "TestCert01" -CertificatePolicy $Policy
Expand Down
1 change: 1 addition & 0 deletions src/KeyVault/KeyVault/help/Get-AzKeyVaultRoleDefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Managed HSM Backup 1 permission(s)
The example lists all the roles at "/keys" scope.

### Example 2
<!-- Skip: Output cannot be splitted from code -->
```powershell
$backupRole = Get-AzKeyVaultRoleDefinition -HsmName myHsm -RoleDefinitionName "Managed HSM Backup User"

Expand Down
1 change: 1 addition & 0 deletions src/KeyVault/KeyVault/help/Set-AzKeyVaultAccessPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ The cmdlet may call below Microsoft Graph API according to input parameters:
## EXAMPLES

### Example 1: Grant permissions to a user for a key vault and modify the permissions
<!-- Skip: Output cannot be splitted from code -->
```powershell
Set-AzKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -UserPrincipalName '[email protected]' -PermissionsToKeys create,import,delete,list -PermissionsToSecrets set,delete -PassThru

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Please do provide the "-AgreementType" parameter to specify whether X12 or Edifa
## EXAMPLES

### Example 1
<!-- Skip: Output cannot be splitted from code -->
```powershell
Get-AzIntegrationAccountReceivedIcn -AgreementType "X12" -ResourceGroupName "groupName" -Name "accountName" -AgreementName "X12AgreementName" -ControlNumberValue "000000641"

Expand All @@ -53,6 +54,7 @@ Removes the received X12 interchange control number.
Confirms the received X12 interchange control number was removed by attempting to get it again.

### Example 2
<!-- Skip: Output cannot be splitted from code -->
```powershell
Get-AzIntegrationAccountReceivedIcn -AgreementType "Edifact" -ResourceGroupName "groupName" -Name "accountName" -AgreementName "EdifactAgreementName" -ControlNumberValue "000000641"

Expand Down
1 change: 1 addition & 0 deletions src/Monitor/Monitor/help/New-AzDiagnosticSetting.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ for
## EXAMPLES

### Example 1
<!-- Skip: Output cannot be splitted from code -->
```powershell
$metric = New-AzDiagnosticDetailSetting -Metric -RetentionInDays 1 -RetentionEnabled -Category AllMetrics
$log = New-AzDiagnosticDetailSetting -Log -RetentionInDays 1 -RetentionEnabled -Category Audit -Enabled
Expand Down
1 change: 1 addition & 0 deletions src/Network/Network/help/Get-AzNatGateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Gets a Nat Gateway resource in a resource group by name OR NatGateway Id OR all
## EXAMPLES

### Example 1
<!-- Skip: Output cannot be splitted from code -->
```powershell
Get-AzNatGateway -ResourceGroupName "natgateway_test"

Expand Down
3 changes: 3 additions & 0 deletions src/Network/Network/help/Get-AzNetworkServiceTag.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ For example, even if you specify `-Location eastus2` you will get the list of se
## EXAMPLES

### Example 1
<!-- Skip: Output cannot be splitted from code -->
```powershell
$serviceTags = Get-AzNetworkServiceTag -Location eastus2
$serviceTags
Expand Down Expand Up @@ -73,6 +74,7 @@ Change Number : 2
The command gets the list of service tag information resources and stores it in variable `serviceTags`.

### Example 2: Get all address prefixes for AzureSQL
<!-- Skip: Output cannot be splitted from code -->
```powershell
$serviceTags = Get-AzNetworkServiceTag -Location eastus2
$sql = $serviceTags.Values | Where-Object { $_.Name -eq "Sql" }
Expand All @@ -98,6 +100,7 @@ The first command gets the list of service tag information resources and stores
The second command filters the list to select information resource for Sql.

### Example 3: Get Storage's service tag information resource for West US 2
<!-- Skip: Output cannot be splitted from code -->
```powershell
$serviceTags = Get-AzNetworkServiceTag -Location eastus2
$serviceTags.Values | Where-Object { $_.Name -eq "Storage.WestUS2" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Please note that the SAS url provided should be one for the **blob** (file) that
## EXAMPLES

### Example 1
<!-- Skip: Output cannot be splitted from code -->
```powershell
$blobSasUrl = New-AzStorageBlobSASToken -Container contp2stesting -Blob emptyfile.txt -Context $context -Permission "rwd" -StartTime $now.AddHours(-1) -ExpiryTime $now.AddDays(1) -FullUri
$blobSasUrl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ New-AzApplicationGatewayRewriteRuleCondition -Variable <String> [-Pattern <Strin
## EXAMPLES

### Example 1
<!-- Skip: Output cannot be splitted from code -->
```powershell
$condition = New-AzApplicationGatewayRewriteRuleCondition -Variable "var_request_uri" -Pattern "http" -IgnoreCase
$condition
Expand Down
3 changes: 2 additions & 1 deletion src/Network/Network/help/New-AzVHubRoute.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ The above command will create a VHubRoute object with nextHop as the specified h


### Example 3
<!-- Skip: Output cannot be splitted from code -->
```powershell
$hub = Get-AzVirtualHub -ResourceGroupName "rgname" -Name "virtual-hub-name"
$hubVnetConn = Get-AzVirtualHubVnetConnection -ParentObject $hub -Name "connection-name"
Expand Down Expand Up @@ -238,4 +239,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

[Remove-AzVHubRouteTable](./Remove-AzVHubRouteTable.md)

[Update-AzVHubRouteTable](./Update-AzVHubRouteTable.md)
[Update-AzVHubRouteTable](./Update-AzVHubRouteTable.md)
1 change: 1 addition & 0 deletions src/Network/Network/help/New-AzVirtualHubVnetConnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ New-AzVirtualHubVnetConnection -EnableInternetSecurity -Name 'testvnetconnection


### Example 3
<!-- Skip: Output cannot be splitted from code -->
```powershell
$rgName = "testRg"
$virtualHubName = "testHub"
Expand Down
3 changes: 2 additions & 1 deletion src/Network/Network/help/Remove-AzDdosProtectionPlan.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Remove-AzDdosProtectionPlan -ResourceGroupName ResourceGroupName -Name DdosProte
In this case, we remove a DDoS protection plan as specified.

### Example 2: Remove a DDoS protection plan associated with a virtual network
<!-- Skip: Output cannot be splitted from code -->
```powershell
$vnet = Get-AzVirtualNetwork -Name VnetName -ResourceGroupName ResourceGroupName
$vnet.DdosProtectionPlan = $null
Expand Down Expand Up @@ -196,4 +197,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

[Set-AzVirtualNetwork](./Set-AzVirtualNetwork.md)

[Get-AzVirtualNetwork](./Get-AzVirtualNetwork.md)
[Get-AzVirtualNetwork](./Get-AzVirtualNetwork.md)
Loading