diff --git a/src/Batch/Batch/help/Get-AzBatchCertificate.md b/src/Batch/Batch/help/Get-AzBatchCertificate.md index b9b19af248db..21f5158c21ca 100644 --- a/src/Batch/Batch/help/Get-AzBatchCertificate.md +++ b/src/Batch/Batch/help/Get-AzBatchCertificate.md @@ -34,7 +34,7 @@ Specify the *Filter* parameter to get the certificates that match an Open Data P ### Example 1: Get a certificate by thumbprint ```powershell -Get-AzBatchCertificate -ThumbprintAlgorithm "sha1" - Thumbprint "C1E494A415149C5F211C4778B52F2E834A07247C" -BatchContext $Context +Get-AzBatchCertificate -ThumbprintAlgorithm "sha1" -Thumbprint "C1E494A415149C5F211C4778B52F2E834A07247C" -BatchContext $Context ``` ```output diff --git a/src/Batch/Batch/help/Get-AzBatchComputeNodeExtension.md b/src/Batch/Batch/help/Get-AzBatchComputeNodeExtension.md index 775ef59ccb73..b82883c326b8 100644 --- a/src/Batch/Batch/help/Get-AzBatchComputeNodeExtension.md +++ b/src/Batch/Batch/help/Get-AzBatchComputeNodeExtension.md @@ -33,8 +33,10 @@ If an extension name is provided, a single extension with a matching name is ret ### Example 1 Get all extensions from a compute node. ```powershell -PS C:\> Get-AzBatchComputeNodeExtension "testPool" "testNode" -BatchContext $context +Get-AzBatchComputeNodeExtension "testPool" "testNode" -BatchContext $context +``` +```output InstanceView ProvisioningState VmExtension ------------ ----------------- ----------- Microsoft.Azure.Commands.Batch.Models.PSVMExtensionInstanceView Succeeded Microsoft.Azure.Commands.Batch.Models.PSVMExtension @@ -44,8 +46,10 @@ Microsoft.Azure.Commands.Batch.Models.PSVMExtensionInstanceView Failed ### Example 2 Get a specific extension from a compute node. ```powershell -PS C:\> Get-AzBatchComputeNodeExtension "testPool" "testNode" "secretext" -BatchContext $context +Get-AzBatchComputeNodeExtension "testPool" "testNode" "secretext" -BatchContext $context +``` +```output InstanceView ProvisioningState VmExtension ------------ ----------------- ----------- Microsoft.Azure.Commands.Batch.Models.PSVMExtensionInstanceView Failed Microsoft.Azure.Commands.Batch.Models.PSVMExtension diff --git a/src/Batch/Batch/help/Get-AzBatchSupportedVirtualMachineSku.md b/src/Batch/Batch/help/Get-AzBatchSupportedVirtualMachineSku.md index 6b4a0c7a7e3b..dbf723954c67 100644 --- a/src/Batch/Batch/help/Get-AzBatchSupportedVirtualMachineSku.md +++ b/src/Batch/Batch/help/Get-AzBatchSupportedVirtualMachineSku.md @@ -23,8 +23,10 @@ Get-AzBatchSupportedVirtualMachineSku [-Location] [[-MaxResultCount] Get-AzBatchSupportedVirtualMachineSku eastus +Get-AzBatchSupportedVirtualMachineSku eastus +``` +```output Name FamilyName Capabilities ---- ---------- ------------ Basic_A1 basicAFamily {MaxResourceVolumeMB, OSVhdSizeMB, vCPUs, MemoryPreservingMaintenanceSupporte... diff --git a/src/Batch/Batch/help/New-AzBatchTask.md b/src/Batch/Batch/help/New-AzBatchTask.md index aeb989f77381..fa467a2ea9de 100644 --- a/src/Batch/Batch/help/New-AzBatchTask.md +++ b/src/Batch/Batch/help/New-AzBatchTask.md @@ -126,7 +126,8 @@ New-AzBatchTask -JobId "Job-000001" -Id "Task23" -CommandLine "cmd /c dir /s" -A ### Example 7: Add a task which runs in a container ```powershell -New-AzBatchTask -JobId "Job-000001" -Id "Task23" -CommandLine "cmd /c dir /s" -ContainerSettings New-Object Microsoft.Azure.Commands.Batch.Models.PSTaskContainerSettings "containerImageName" +$Context = Get-AzBatchAccountKey -AccountName "ContosoBatchAccount" +New-AzBatchTask -JobId "Job-000001" -Id "Task23" -CommandLine "cmd /c dir /s" -ContainerSettings (New-Object Microsoft.Azure.Commands.Batch.Models.PSTaskContainerSettings "containerImageName") -BatchContext $Context ``` ## PARAMETERS