Skip to content

Commit 3866ed5

Browse files
authored
Update Doc Issue #20625 (#21563)
* Update Doc Issue * Update ExampleIssues
1 parent 4018513 commit 3866ed5

File tree

5 files changed

+16
-14
lines changed

5 files changed

+16
-14
lines changed

src/ApiManagement/ApiManagement/help/Restore-AzApiManagement.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ This command restores an API Management service from Azure storage blob.
3939

4040
### Example 2: Restore an API Management service using Managed Identity Credentials
4141
```powershell
42-
PS D:> $storageContext=New-AzStorageContext -StorageAccountName apimbackupmsi
43-
PS D:> $resourceGroupName="ContosoGroup02";
44-
PS D:> $apiManagementName="contosoapi";
45-
PS D:> $containerName="apimbackupcontainer";
46-
PS D:> $backupName="test-sdk-backup-1";
47-
PS D:> $msiClientId="a6270d0c-7d86-478b-8cbe-dc9047ba54f7"
48-
PS D:> Restore-AzApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -StorageContext $storageContext -SourceContainerName $containerName -SourceBlobName $backupName -AccessType "UserAssignedManagedIdentity" -IdentityClientId $msiClientId -PassThru
42+
$storageContext=New-AzStorageContext -StorageAccountName apimbackupmsi
43+
$resourceGroupName="ContosoGroup02";
44+
$apiManagementName="contosoapi";
45+
$containerName="apimbackupcontainer";
46+
$backupName="test-sdk-backup-1";
47+
$msiClientId="a6270d0c-7d86-478b-8cbe-dc9047ba54f7"
48+
Restore-AzApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -StorageContext $storageContext -SourceContainerName $containerName -SourceBlobName $backupName -AccessType "UserAssignedManagedIdentity" -IdentityClientId $msiClientId -PassThru
4949
```
5050

5151
```output

src/Batch/Batch/help/Get-AzBatchTaskSlotCount.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Task slot counts provide a count of slots by active, running or completed task s
3333

3434
### Example 1: Get task counts by ID
3535
```powershell
36-
Get-AzBatchTaskSlotCounts -JobId "Job01" -BatchContext $Context
36+
Get-AzBatchTaskSlotCount -JobId "Job01" -BatchContext $Context
3737
```
3838

3939
```output

src/FrontDoor/FrontDoor/help/New-AzFrontDoorBackendPoolsSettingObject.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ New-AzFrontDoorBackendPoolsSettingObject [-EnforceCertificateNameCheck <PSEnable
1818
```
1919

2020
## DESCRIPTION
21-
The **New-AzFrontDoorBackendpoolsSettingObject** cmdlet creates a new PSBackendPoolsSettings object for Front Door creation.
21+
The **New-AzFrontDoorBackendPoolsSettingObject** cmdlet creates a new PSBackendPoolsSettings object for Front Door creation.
2222

2323
## EXAMPLES
2424

2525
### Example 1: Create BackendPoolsSettings object using defaults
2626
```powershell
27-
New-AzFrontDoorBackendpoolsSettingObject
27+
New-AzFrontDoorBackendPoolsSettingObject
2828
```
2929

3030
```output
@@ -37,7 +37,7 @@ Type :
3737

3838
### Example 2: Create BackendPoolsSettings object with user specified values
3939
```powershell
40-
New-AzFrontDoorBackendpoolsSettingObject -SendRecvTimeoutInSeconds 60 -EnforceCertificateNameCheck Enabled
40+
New-AzFrontDoorBackendPoolsSettingObject -SendRecvTimeoutInSeconds 60 -EnforceCertificateNameCheck Enabled
4141
```
4242

4343
```output

src/HPCCache/HPCCache/help/Get-AzHpcCache.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ The **Get-AzHpcCache** cmdlet gets a single cache, cache(s) in a specific resour
2424

2525
### Example 1
2626
```powershell
27-
Get-AzHPCCache -ResourceGroupName rgtest -CacheName cachetest
27+
Get-AzHpcCache -ResourceGroupName rgtest -CacheName cachetest
2828
```
2929

3030
### Example 2
3131
```powershell
32-
Get-AzHPCCache -ResourceGroupName rgtest
32+
Get-AzHpcCache -ResourceGroupName rgtest
3333
```
3434

3535
### Example 3
3636
```powershell
37-
Get-AzHPCCache
37+
Get-AzHpcCache
3838
```
3939

4040
## PARAMETERS
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"Module","Cmdlet","Example","Line","RuleName","ProblemId","Severity","Description","Extent","Remediation"
2+
"Az.Batch","Remove-AzBatchJob","3","10","Unbinded_Expression","5014","1","Write-Host $element.Id is not explicitly assigned to a parameter.","$element.Id","Assign $element.Id explicitly to the parameter."

0 commit comments

Comments
 (0)