From 344958fff1c038a3a83abd5456fd7b3dc7704233 Mon Sep 17 00:00:00 2001 From: "Mike F. Robbins" Date: Wed, 1 Jun 2022 00:03:48 -0500 Subject: [PATCH] Moved Aladdin example note outside of code block (#18357) Co-authored-by: Mike F. Robbins --- .../help/Disable-AzContextAutosave.md | 3 +- .../Accounts/help/Enable-AzContextAutosave.md | 3 +- .../Accounts/help/Select-AzContext.md | 5 +-- .../help/New-AzApiManagementApi.md | 2 +- .../New-AzApiManagementAuthorizationServer.md | 6 ++-- .../help/New-AzApiManagementCertificate.md | 4 +-- .../help/New-AzApiManagementGroup.md | 2 +- .../help/New-AzApiManagementLogger.md | 4 +-- ...ew-AzApiManagementOpenIdConnectProvider.md | 2 +- .../New-AzApiManagementSamplingSetting.md | 2 +- .../help/New-AzApiManagementUserToken.md | 2 +- .../help/Remove-AzApiManagementApiRevision.md | 2 +- .../help/Remove-AzApiManagementApiSchema.md | 2 +- .../help/Set-AzApiManagementApiSchema.md | 2 +- .../Set-AzApiManagementAuthorizationServer.md | 6 ++-- .../help/Set-AzApiManagementBackend.md | 2 +- .../help/Set-AzApiManagementDiagnostic.md | 2 +- .../Set-AzApiManagementIdentityProvider.md | 2 +- .../help/Set-AzApiManagementLogger.md | 2 +- .../help/Set-AzApiManagementNamedValue.md | 2 +- ...et-AzApiManagementOpenIdConnectProvider.md | 2 +- .../help/Set-AzApiManagementOperation.md | 2 +- .../help/Set-AzApiManagementUser.md | 2 +- .../help/Update-AzApiManagementRegion.md | 2 +- .../help/Disable-AzVmssDiskEncryption.md | 3 +- .../Compute/help/Get-AzVMADDomainExtension.md | 3 +- .../help/Get-AzVMDiagnosticsExtension.md | 3 +- .../help/Get-AzVMDscExtensionStatus.md | 2 +- .../help/New-AzProximityPlacementGroup.md | 3 +- .../Compute/help/New-AzSnapshotConfig.md | 2 +- src/Compute/Compute/help/New-AzVMDataDisk.md | 3 +- src/Compute/Compute/help/New-AzVmssConfig.md | 2 +- .../help/Remove-AzProximityPlacementGroup.md | 3 +- .../help/Remove-AzVMAccessExtension.md | 3 +- .../help/Remove-AzVMCustomScriptExtension.md | 3 +- .../Compute/help/Set-AzVMAccessExtension.md | 2 +- .../help/Set-AzVMCustomScriptExtension.md | 3 +- src/Compute/Compute/help/Set-AzVMDataDisk.md | 3 +- src/Compute/Compute/help/Set-AzVmss.md | 2 +- src/Compute/Compute/help/Update-AzVmssVM.md | 2 +- .../help/Get-AzDataFactorySlice.md | 35 ++++++++++--------- .../help/Invoke-AzDataFactoryV2Pipeline.md | 2 +- ...ctoryV2LinkedServiceEncryptedCredential.md | 3 +- ...e-AzDataFactoryV2IntegrationRuntimeNode.md | 3 +- .../help/Resume-AzDataFactoryPipeline.md | 5 +-- ...taFactoryV2IntegrationRuntimeCredential.md | 3 +- .../help/Get-AzDtlAutoShutdownPolicy.md | 3 +- .../help/Get-AzDtlAutoStartPolicy.md | 3 +- .../help/Set-AzDtlAutoShutdownPolicy.md | 3 +- .../help/Set-AzDtlAutoStartPolicy.md | 3 +- .../EventHub/help/Set-AzEventHubNamespace.md | 23 ++++++------ .../help/New-AzKeyVaultCertificatePolicy.md | 6 ++-- .../help/Update-AzKeyVaultCertificate.md | 2 +- .../Update-AzKeyVaultManagedStorageAccount.md | 2 +- .../help/Update-AzKeyVaultNetworkRuleSet.md | 6 ++-- .../help/New-AzIntegrationAccountAgreement.md | 7 ++-- .../help/New-AzIntegrationAccountMap.md | 5 +-- .../help/Set-AzIntegrationAccountAgreement.md | 5 +-- .../help/Set-AzIntegrationAccountMap.md | 3 +- .../help/Set-AzIntegrationAccountPartner.md | 3 +- src/LogicApp/LogicApp/help/Test-AzLogicApp.md | 3 +- src/Monitor/Monitor/help/Add-AzLogProfile.md | 17 ++++----- .../Monitor/help/New-AzAutoscaleRule.md | 5 +-- .../Monitor/help/New-AzAutoscaleWebhook.md | 3 +- .../help/New-AzScheduledQueryRuleSource.md | 3 +- .../Monitor/help/Remove-AzAutoscaleSetting.md | 3 +- .../Monitor/help/Remove-AzLogProfile.md | 3 +- .../Backup-AzRecoveryServicesBackupItem.md | 8 ++--- ...-AzRecoveryServicesBackupAutoProtection.md | 3 +- ...able-AzRecoveryServicesBackupProtection.md | 6 ++-- ...e-AzRecoveryServicesBackupRPMountScript.md | 2 +- .../Edit-AzRecoveryServicesAsrRecoveryPlan.md | 5 +-- ...-AzRecoveryServicesBackupAutoProtection.md | 6 ++-- ...able-AzRecoveryServicesBackupProtection.md | 4 +-- .../help/Get-AzRecoveryServicesAsrJob.md | 5 +-- ...veryServicesAsrReplicationProtectedItem.md | 4 +-- ...t-AzRecoveryServicesAsrServicesProvider.md | 3 +- ...t-AzRecoveryServicesBackupRPMountScript.md | 2 +- ...zRecoveryServicesBackupRecoveryLogChain.md | 6 ++-- .../Get-AzRecoveryServicesBackupStatus.md | 4 +-- ...eryServicesBackupWorkloadRecoveryConfig.md | 2 +- ...AzRecoveryServicesBackupProtectableItem.md | 5 +-- ...ew-AzRecoveryServicesAsrProtectableItem.md | 2 +- .../help/New-AzRecoveryServicesAsrvCenter.md | 3 +- ...zRecoveryServicesBackupProtectionPolicy.md | 13 +++---- .../Remove-AzRecoveryServicesAsrvCenter.md | 3 +- ...zRecoveryServicesBackupProtectionPolicy.md | 2 +- .../Set-AzRecoveryServicesAsrAlertSetting.md | 5 +-- ...-AzRecoveryServicesAsrCancelFailoverJob.md | 2 +- ...-AzRecoveryServicesAsrCommitFailoverJob.md | 3 +- ...coveryServicesAsrTestFailoverCleanupJob.md | 3 +- ...rt-AzRecoveryServicesAsrTestFailoverJob.md | 2 +- ...RecoveryServicesAsrUnplannedFailoverJob.md | 2 +- ...do-AzRecoveryServicesBackupItemDeletion.md | 6 ++-- ...ister-AzRecoveryServicesBackupContainer.md | 4 +-- ...zRecoveryServicesBackupManagementServer.md | 4 +-- .../ServiceBus/help/New-AzServiceBusQueue.md | 3 +- .../ServiceBus/help/New-AzServiceBusTopic.md | 5 +-- ...nable-AzSqlInstanceAdvancedDataSecurity.md | 2 +- .../Enable-AzSqlServerAdvancedDataSecurity.md | 2 +- .../help/Get-AzSqlDatabaseGeoBackupPolicy.md | 2 +- .../help/Get-AzSqlDatabaseReplicationLink.md | 2 +- src/Sql/Sql/help/Get-AzSqlElasticJob.md | 2 +- .../Sql/help/Get-AzSqlElasticJobExecution.md | 2 +- .../help/Get-AzSqlSyncAgentLinkedDatabase.md | 2 +- src/Sql/Sql/help/New-AzSqlDatabaseCopy.md | 2 +- .../New-AzSqlDatabaseInstanceFailoverGroup.md | 4 +-- src/Sql/Sql/help/New-AzSqlElasticJob.md | 2 +- src/Sql/Sql/help/New-AzSqlElasticPool.md | 2 +- src/Sql/Sql/help/Remove-AzSqlElasticJob.md | 2 +- .../Sql/help/Remove-AzSqlElasticJobStep.md | 2 +- .../help/Remove-AzSqlElasticJobTargetGroup.md | 4 +-- .../help/Set-AzSqlDatabaseDataMaskingRule.md | 2 +- src/Sql/Sql/help/Set-AzSqlElasticJob.md | 2 +- src/Sql/Sql/help/Set-AzSqlElasticJobStep.md | 2 +- src/Sql/Sql/help/Set-AzSqlElasticPool.md | 2 +- ...ceDatabaseBackupLongTermRetentionPolicy.md | 2 +- src/Sql/Sql/help/Set-AzSqlServer.md | 2 +- src/Sql/Sql/help/Stop-AzSqlElasticJob.md | 2 +- ...qlServerAdvancedThreatProtectionSetting.md | 2 +- .../help/Edit-AzWebAppBackupConfiguration.md | 2 +- .../Websites/help/New-AzWebAppBackup.md | 2 +- .../help/New-AzWebAppDatabaseBackupSetting.md | 2 +- .../Websites/help/New-AzWebAppSSLBinding.md | 12 +++---- .../help/Reset-AzWebAppPublishingProfile.md | 2 +- .../Websites/help/Restore-AzWebAppBackup.md | 2 +- .../Websites/help/Set-AzAppServicePlan.md | 4 +-- src/Websites/Websites/help/Set-AzWebApp.md | 2 +- .../Websites/help/Set-AzWebAppSlot.md | 2 +- .../help/Set-AzWebAppSlotConfigName.md | 2 +- .../Update-AzWebAppAccessRestrictionConfig.md | 2 +- 131 files changed, 263 insertions(+), 215 deletions(-) diff --git a/src/Accounts/Accounts/help/Disable-AzContextAutosave.md b/src/Accounts/Accounts/help/Disable-AzContextAutosave.md index e7b278baad83..206557574fd1 100644 --- a/src/Accounts/Accounts/help/Disable-AzContextAutosave.md +++ b/src/Accounts/Accounts/help/Disable-AzContextAutosave.md @@ -33,7 +33,8 @@ Disable autosave for the current user. Turn off autosaving Azure credentials in this powershell session. (autogenerated) -```powershell + +```powershell Disable-AzContextAutosave -Scope Process ``` diff --git a/src/Accounts/Accounts/help/Enable-AzContextAutosave.md b/src/Accounts/Accounts/help/Enable-AzContextAutosave.md index bb619aa94466..9a7efc79173f 100644 --- a/src/Accounts/Accounts/help/Enable-AzContextAutosave.md +++ b/src/Accounts/Accounts/help/Enable-AzContextAutosave.md @@ -46,7 +46,8 @@ Enable-AzContextAutosave Allow the Azure credential, account, and subscription information, to be saved and automatically loaded when you open a PowerShell window in this PowerShell session. (autogenerated) -```powershell + +```powershell Enable-AzContextAutosave -Scope Process ``` diff --git a/src/Accounts/Accounts/help/Select-AzContext.md b/src/Accounts/Accounts/help/Select-AzContext.md index cb16f6ef3e2f..c2adea15fc37 100644 --- a/src/Accounts/Accounts/help/Select-AzContext.md +++ b/src/Accounts/Accounts/help/Select-AzContext.md @@ -25,7 +25,7 @@ Select-AzContext [-Scope ] [-DefaultProfile + +```powershell Select-AzContext -Name TestEnvironment -Scope Process ``` diff --git a/src/ApiManagement/ApiManagement/help/New-AzApiManagementApi.md b/src/ApiManagement/ApiManagement/help/New-AzApiManagementApi.md index af34cbe55283..5b89d7cd7ef0 100644 --- a/src/ApiManagement/ApiManagement/help/New-AzApiManagementApi.md +++ b/src/ApiManagement/ApiManagement/help/New-AzApiManagementApi.md @@ -78,8 +78,8 @@ This command creates an API `echoapiv3` in ApiVersionSet `xmsVersionSet` and cop Creates an API. (autogenerated) -```powershell +```powershell New-AzApiManagementApi -ApiId '0001' -Context -Name 'Echo api' -Path 'echov3' -Protocols Http -ServiceUrl 'https://contoso.com/apis/echo' ``` diff --git a/src/ApiManagement/ApiManagement/help/New-AzApiManagementAuthorizationServer.md b/src/ApiManagement/ApiManagement/help/New-AzApiManagementAuthorizationServer.md index 9cb37b1852e6..6946ebd7678a 100644 --- a/src/ApiManagement/ApiManagement/help/New-AzApiManagementAuthorizationServer.md +++ b/src/ApiManagement/ApiManagement/help/New-AzApiManagementAuthorizationServer.md @@ -42,8 +42,8 @@ This command creates an authorization server. Creates an authorization server. (autogenerated) + ```powershell - New-AzApiManagementAuthorizationServer -AccessTokenSendingMethods AuthorizationHeader -AuthorizationEndpointUrl 'https://contoso/auth' -AuthorizationRequestMethods Get -ClientAuthenticationMethods Basic -ClientId 'clientid' -ClientRegistrationPageUrl 'https://contoso/signup' -ClientSecret '0000000000000000000000000000000000000' -Context -GrantTypes AuthorizationCode -Name 'Contoso OAuth2 server' -ServerId '0123456789' -TokenBodyParameters @{'par1'='val1'} -TokenEndpointUrl 'https://contoso/token' ``` @@ -225,8 +225,8 @@ Accept wildcard characters: False Specifies an array of grant types. psdx_paramvalues - AuthorizationCode -- ClientCredentials -- Implicit +- ClientCredentials +- Implicit - ResourceOwnerPassword ```yaml diff --git a/src/ApiManagement/ApiManagement/help/New-AzApiManagementCertificate.md b/src/ApiManagement/ApiManagement/help/New-AzApiManagementCertificate.md index 5cfb7a5c2c1b..2f15b3940a05 100644 --- a/src/ApiManagement/ApiManagement/help/New-AzApiManagementCertificate.md +++ b/src/ApiManagement/ApiManagement/help/New-AzApiManagementCertificate.md @@ -44,15 +44,15 @@ This command uploads a certificate to Api Management. This certificate can be us Creates an API Management certificate to be used during Authentication with Backend. (autogenerated) + ```powershell - New-AzApiManagementCertificate -CertificateId '0123456789' -Context -PfxFilePath 'C:\contoso\certificates\apimanagement.pfx' -PfxPassword '1111' ``` ### Example 3 : Create a keyVault Certificate ```powershell $secretIdentifier = 'https://contoso.vault.azure.net/secrets/xxxx' -$keyvault = New-AzApiManagementKeyVaultObject -SecretIdentifier $secretIdentifier +$keyvault = New-AzApiManagementKeyVaultObject -SecretIdentifier $secretIdentifier $keyVaultcert = New-AzApiManagementCertificate -Context $context -CertificateId $kvcertId -KeyVault $keyvault ``` diff --git a/src/ApiManagement/ApiManagement/help/New-AzApiManagementGroup.md b/src/ApiManagement/ApiManagement/help/New-AzApiManagementGroup.md index 802758f23952..2da18578c924 100644 --- a/src/ApiManagement/ApiManagement/help/New-AzApiManagementGroup.md +++ b/src/ApiManagement/ApiManagement/help/New-AzApiManagementGroup.md @@ -36,8 +36,8 @@ This command creates a management group. Creates an API management group. (autogenerated) + ```powershell - New-AzApiManagementGroup -Context -Description 'Create Echo Api V4' -GroupId '0001' -Name 'Group0001' -Type Custom ``` diff --git a/src/ApiManagement/ApiManagement/help/New-AzApiManagementLogger.md b/src/ApiManagement/ApiManagement/help/New-AzApiManagementLogger.md index cb92802a9e03..a324bbecc3c2 100644 --- a/src/ApiManagement/ApiManagement/help/New-AzApiManagementLogger.md +++ b/src/ApiManagement/ApiManagement/help/New-AzApiManagementLogger.md @@ -43,15 +43,15 @@ This command creates a logger named ContosoSdkEventHub by using the specified co Creates an API Management Logger. (autogenerated) + ```powershell - New-AzApiManagementLogger -Context -InstrumentationKey -LoggerId 'Logger123' ``` ## PARAMETERS ### -ConnectionString -Specifies an Azure Event Hubs connection string that starts with the following: +Specifies an Azure Event Hubs connection string that starts with the following: `Endpoint=endpoint and key from Azure classic portal` The Key with Send Rights in the connection string must be configured. diff --git a/src/ApiManagement/ApiManagement/help/New-AzApiManagementOpenIdConnectProvider.md b/src/ApiManagement/ApiManagement/help/New-AzApiManagementOpenIdConnectProvider.md index bd0c953f73df..f00dfe64f869 100644 --- a/src/ApiManagement/ApiManagement/help/New-AzApiManagementOpenIdConnectProvider.md +++ b/src/ApiManagement/ApiManagement/help/New-AzApiManagementOpenIdConnectProvider.md @@ -36,8 +36,8 @@ This command creates an OpenID Connect **Provider** named Contoso OpenID Connect Creates an OpenID Connect provider. (autogenerated) + ```powershell - New-AzApiManagementOpenIdConnectProvider -ClientId '12432143' -ClientSecret '000000000000000000000000000000000000000000' -Context -Description 'OpenID Connect provider description' -MetadataEndpointUri 'https://openid.provider/configuration' -Name 'Contoso OpenID Connect Provider' -OpenIdConnectProviderId 'OICProvider01' ``` diff --git a/src/ApiManagement/ApiManagement/help/New-AzApiManagementSamplingSetting.md b/src/ApiManagement/ApiManagement/help/New-AzApiManagementSamplingSetting.md index 5ec1f47923c9..aceddd8464cb 100644 --- a/src/ApiManagement/ApiManagement/help/New-AzApiManagementSamplingSetting.md +++ b/src/ApiManagement/ApiManagement/help/New-AzApiManagementSamplingSetting.md @@ -39,8 +39,8 @@ Creates a sampling setting of `Fixed` type with logging for 100% of the requests Create a new sampling setting for the Diagnostic. (autogenerated) + ```powershell - New-AzApiManagementSamplingSetting -SamplingPercentage 100 -SamplingType fixed ``` diff --git a/src/ApiManagement/ApiManagement/help/New-AzApiManagementUserToken.md b/src/ApiManagement/ApiManagement/help/New-AzApiManagementUserToken.md index 759f19198bc1..4b39fff722bd 100644 --- a/src/ApiManagement/ApiManagement/help/New-AzApiManagementUserToken.md +++ b/src/ApiManagement/ApiManagement/help/New-AzApiManagementUserToken.md @@ -43,8 +43,8 @@ This script get the Git user configured in ApiManagement service and generates a Generates a Shared Access Token for the User. (autogenerated) + ```powershell - New-AzApiManagementUserToken -Context -Expiry -UserId ``` diff --git a/src/ApiManagement/ApiManagement/help/Remove-AzApiManagementApiRevision.md b/src/ApiManagement/ApiManagement/help/Remove-AzApiManagementApiRevision.md index cb15f9ef37e8..44f616957863 100644 --- a/src/ApiManagement/ApiManagement/help/Remove-AzApiManagementApiRevision.md +++ b/src/ApiManagement/ApiManagement/help/Remove-AzApiManagementApiRevision.md @@ -41,8 +41,8 @@ This command removes the `2` revision of the API `echo-api` from API Management This command removes the 2 revision of the API echo-api from API Management service. (autogenerated) + ```powershell - Remove-AzApiManagementApiRevision -ApiId '0001' -ApiRevision 6 -Context ``` diff --git a/src/ApiManagement/ApiManagement/help/Remove-AzApiManagementApiSchema.md b/src/ApiManagement/ApiManagement/help/Remove-AzApiManagementApiSchema.md index 59e5c3fe9af0..8a018a964716 100644 --- a/src/ApiManagement/ApiManagement/help/Remove-AzApiManagementApiSchema.md +++ b/src/ApiManagement/ApiManagement/help/Remove-AzApiManagementApiSchema.md @@ -47,8 +47,8 @@ The script removes the Schema `2` from the Api `echo-api` if it is not reference The script removes the Schema 2 from the Api echo-api if it is not referenced. (autogenerated) + ```powershell - Remove-AzApiManagementApiSchema -ApiId '0001' -Context -SchemaId 5cc9cf67e6ed3b1154e638bd ``` diff --git a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementApiSchema.md b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementApiSchema.md index a8c0c4a01d92..f6bfa3a12a82 100644 --- a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementApiSchema.md +++ b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementApiSchema.md @@ -50,8 +50,8 @@ The example updates the Api Schema Modifies an API Schema. (autogenerated) + ```powershell - Set-AzApiManagementApiSchema -ApiId 'echo-api' -Context -SchemaDocumentContentType swaggerdefinition -SchemaDocumentFilePath C:\Users\sasolank\Downloads\petstoreschema.json -SchemaId '2' ``` diff --git a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementAuthorizationServer.md b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementAuthorizationServer.md index 60b30bae728e..917e11af04da 100644 --- a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementAuthorizationServer.md +++ b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementAuthorizationServer.md @@ -42,8 +42,8 @@ This command modifies the specified API Management authorization server. Modifies an authorization server. (autogenerated) + ```powershell - Set-AzApiManagementAuthorizationServer -AccessTokenSendingMethods AuthorizationHeader -AuthorizationEndpointUrl 'https://contoso/authv2' -AuthorizationRequestMethods Get -ClientAuthenticationMethods Basic -ClientId 'clientid' -ClientRegistrationPageUrl 'https://contoso/signupv2' -ClientSecret '0000000000000000000000000000000000000' -Context -DefaultScope -GrantTypes AuthorizationCode -Name 'Contoso OAuth2 server' -ServerId 0123456789 -TokenEndpointUrl 'https://contoso/tokenv2' ``` @@ -225,8 +225,8 @@ Accept wildcard characters: False Specifies an array of grant types. psdx_paramvalues - AuthorizationCode -- ClientCredentials -- Implicit +- ClientCredentials +- Implicit - ResourceOwnerPassword ```yaml diff --git a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementBackend.md b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementBackend.md index f093762a8117..e844b6bbc376 100644 --- a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementBackend.md +++ b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementBackend.md @@ -46,8 +46,8 @@ Set-AzApiManagementBackend -Context $apimContext -BackendId 123 -Description "up Updates a Backend. (autogenerated) + ```powershell - Set-AzApiManagementBackend -BackendId 123 -Context -Credential -Protocol http -ResourceId /subscriptions/subid/resourceGroups/Api-Default-West-US/providers/Microsoft.ApiManagement/service/contoso -Url 'https://contoso.com/awesomeapi' ``` diff --git a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementDiagnostic.md b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementDiagnostic.md index 0f1aa17d66fa..debb8a7a8f7f 100644 --- a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementDiagnostic.md +++ b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementDiagnostic.md @@ -83,8 +83,8 @@ This command modifies the specified diagnostic Sampling Percentage from 100 to 5 Modifies an API Management diagnostic at the Global or Api scope. (autogenerated) + ```powershell - Set-AzApiManagementDiagnostic -AlwaysLog allErrors -ApiId '0001' -Context -DiagnosticId 'applicationinsights' -LoggerId 'Logger123' -SamplingSetting ``` diff --git a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementIdentityProvider.md b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementIdentityProvider.md index 7d992d8f9068..b40f2face506 100644 --- a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementIdentityProvider.md +++ b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementIdentityProvider.md @@ -47,8 +47,8 @@ The cmdlet updates the Client Secret of the Facebook Identity Provider; Updates the Configuration of an existing Identity Provider. (autogenerated) + ```powershell - Set-AzApiManagementIdentityProvider -AllowedTenants 'samirtestbc.onmicrosoft.com' -Authority -ClientId 'clientid' -ClientSecret 'updatedSecret' -Context -PasswordResetPolicyName -ProfileEditingPolicyName -SigninPolicyName -SignupPolicyName B2C_1_signup-policy -Type Facebook ``` diff --git a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementLogger.md b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementLogger.md index 2a1a9988fb7c..c3c911f04f4a 100644 --- a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementLogger.md +++ b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementLogger.md @@ -44,8 +44,8 @@ This command modifies a logger that has the ID Logger123. Modifies an API Management Logger. (autogenerated) + ```powershell - Set-AzApiManagementLogger -Confirm -Context -InstrumentationKey -LoggerId 'Logger123' ``` diff --git a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementNamedValue.md b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementNamedValue.md index 554122ceb382..056ad1f52805 100644 --- a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementNamedValue.md +++ b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementNamedValue.md @@ -46,8 +46,8 @@ This command changes the named value to be Encrypted. Modifies an API Management Named Value. (autogenerated) + ```powershell - Set-AzApiManagementNamedValue -Context -Name 'ContosoApi' -NamedValueId 'Property11' -Secret $true -Tag -Value 'Property Value' ``` diff --git a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementOpenIdConnectProvider.md b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementOpenIdConnectProvider.md index 38d9718b8147..18627fdfa801 100644 --- a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementOpenIdConnectProvider.md +++ b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementOpenIdConnectProvider.md @@ -38,8 +38,8 @@ The command specifies a client secret for the provider. Modifies an OpenID Connect provider. (autogenerated) + ```powershell - Set-AzApiManagementOpenIdConnectProvider -ClientId 'clientid' -ClientSecret 'q2w3e43r45' -Context -OpenIdConnectProviderId 'OICProvider01' -PassThru ``` diff --git a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementOperation.md b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementOperation.md index 31aa020d97da..1f1abe5630ee 100644 --- a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementOperation.md +++ b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementOperation.md @@ -38,8 +38,8 @@ This command sets the operation details for API management. Sets API operation details. (autogenerated) + ```powershell - Set-AzApiManagementOperation -ApiId '0001' -Context -Method 'GET' -Name 'ContosoApi' -OperationId 'Operation003' -UrlTemplate '/newresource' ``` diff --git a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementUser.md b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementUser.md index 241884f22bcf..f32aae0c1fd8 100644 --- a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementUser.md +++ b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementUser.md @@ -38,8 +38,8 @@ This command sets a new user password and email address and blocks the user. Sets user details. (autogenerated) + ```powershell - Set-AzApiManagementUser -Context -Email 'patti.fuller@contoso.com' -FirstName 'Patti' -LastName 'Fuller' -Password -State Active -UserId '0123456789' ``` diff --git a/src/ApiManagement/ApiManagement/help/Update-AzApiManagementRegion.md b/src/ApiManagement/ApiManagement/help/Update-AzApiManagementRegion.md index 334fccbfc720..a867419cac6a 100644 --- a/src/ApiManagement/ApiManagement/help/Update-AzApiManagementRegion.md +++ b/src/ApiManagement/ApiManagement/help/Update-AzApiManagementRegion.md @@ -40,8 +40,8 @@ This command gets the API Management Premium SKU service, having regions in Sout Updates existing deployment region in PsApiManagement instance. (autogenerated) + ```powershell - Update-AzApiManagementRegion -ApiManagement -Capacity 2 -Location 'North Central US' -Sku Developer -VirtualNetwork ``` diff --git a/src/Compute/Compute/help/Disable-AzVmssDiskEncryption.md b/src/Compute/Compute/help/Disable-AzVmssDiskEncryption.md index 278aa78d90cd..86e0f986013a 100644 --- a/src/Compute/Compute/help/Disable-AzVmssDiskEncryption.md +++ b/src/Compute/Compute/help/Disable-AzVmssDiskEncryption.md @@ -34,7 +34,8 @@ Disables disk encryption on the VM scale set named VMSS001 that belongs to the r Disables disk encryption on a VM scale set. (autogenerated) -```powershell + +```powershell Disable-AzVmssDiskEncryption -ResourceGroupName 'Group001' -VMScaleSetName 'VMSS001' -VolumeType OS ``` diff --git a/src/Compute/Compute/help/Get-AzVMADDomainExtension.md b/src/Compute/Compute/help/Get-AzVMADDomainExtension.md index 8538774b20e9..8f7f972f9470 100644 --- a/src/Compute/Compute/help/Get-AzVMADDomainExtension.md +++ b/src/Compute/Compute/help/Get-AzVMADDomainExtension.md @@ -27,7 +27,8 @@ The **Get-AzVMADDomainExtension** cmdlet gets information about the specified Az Gets information about an AD domain extension. (autogenerated) -```powershell + +```powershell Get-AzVMADDomainExtension -Name 'AgentPool01' -ResourceGroupName myresourcegroup -VMName 'VM01' ``` diff --git a/src/Compute/Compute/help/Get-AzVMDiagnosticsExtension.md b/src/Compute/Compute/help/Get-AzVMDiagnosticsExtension.md index 51eea3096002..c0582f6c67ef 100644 --- a/src/Compute/Compute/help/Get-AzVMDiagnosticsExtension.md +++ b/src/Compute/Compute/help/Get-AzVMDiagnosticsExtension.md @@ -34,7 +34,8 @@ This command gets the diagnostics extension applied to the virtual machine named Gets the settings of the Diagnostics extension on a virtual machine. (autogenerated) -```powershell + +```powershell Get-AzVMDiagnosticsExtension -Name 'AgentPool01' -ResourceGroupName 'ResourceGroup11' -Status -VMName 'ContosoVM22' ``` diff --git a/src/Compute/Compute/help/Get-AzVMDscExtensionStatus.md b/src/Compute/Compute/help/Get-AzVMDscExtensionStatus.md index 35759ebfbbb3..800a726b6917 100644 --- a/src/Compute/Compute/help/Get-AzVMDscExtensionStatus.md +++ b/src/Compute/Compute/help/Get-AzVMDscExtensionStatus.md @@ -35,8 +35,8 @@ When a configuration is applied this cmdlet produces output consistent with the Gets the status of the DSC extension handler for a virtual machine. (autogenerated) + ```powershell - Get-AzVMDscExtensionStatus -Name 'AgentPool01' -ResourceGroupName myresourcegroup -VMName 'VM01' ``` diff --git a/src/Compute/Compute/help/New-AzProximityPlacementGroup.md b/src/Compute/Compute/help/New-AzProximityPlacementGroup.md index 3316509f6fe2..8e409a393f67 100644 --- a/src/Compute/Compute/help/New-AzProximityPlacementGroup.md +++ b/src/Compute/Compute/help/New-AzProximityPlacementGroup.md @@ -44,7 +44,8 @@ This command creates a proximity place group in the given location. Create Proximity Placement Group resource. (autogenerated) -```powershell + +```powershell New-AzProximityPlacementGroup -Location westus -Name 'AgentPool01' -ProximityPlacementGroupType -ResourceGroupName myresourcegroup ``` diff --git a/src/Compute/Compute/help/New-AzSnapshotConfig.md b/src/Compute/Compute/help/New-AzSnapshotConfig.md index e91d6a48b3f9..77a98ed57202 100644 --- a/src/Compute/Compute/help/New-AzSnapshotConfig.md +++ b/src/Compute/Compute/help/New-AzSnapshotConfig.md @@ -50,8 +50,8 @@ The last command takes the snapshot object and creates a snapshot with name 'Sna Creates a configurable snapshot object. (autogenerated) + ```powershell - New-AzSnapshotConfig -CreateOption Empty -Location 'Central US' -SourceUri 'https://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd' ``` diff --git a/src/Compute/Compute/help/New-AzVMDataDisk.md b/src/Compute/Compute/help/New-AzVMDataDisk.md index eb516c349836..c108e7c04658 100644 --- a/src/Compute/Compute/help/New-AzVMDataDisk.md +++ b/src/Compute/Compute/help/New-AzVMDataDisk.md @@ -49,7 +49,8 @@ The final command updates the Vmss VM by adding a new data disk. Creates a local data disk object for a virtual machine or a Vmss VM. (autogenerated) -```powershell + +```powershell New-AzVMDataDisk -Caching None -CreateOption Attach -DiskSizeInGB 1 -Lun 2 -Name 'AgentPool01' ``` diff --git a/src/Compute/Compute/help/New-AzVmssConfig.md b/src/Compute/Compute/help/New-AzVmssConfig.md index 8eb31bf174f9..856e7f7ab237 100644 --- a/src/Compute/Compute/help/New-AzVmssConfig.md +++ b/src/Compute/Compute/help/New-AzVmssConfig.md @@ -84,8 +84,8 @@ uses the VMSS configuration object created in the first command. Creates a VMSS configuration object. (autogenerated) + ```powershell - New-AzVmssConfig -Location -Overprovision $false -SkuCapacity 2 -SkuName 'Standard_A0' -Tag @{key0="value0";key1=$null;key2="value2"} -UpgradePolicyMode Automatic; ``` diff --git a/src/Compute/Compute/help/Remove-AzProximityPlacementGroup.md b/src/Compute/Compute/help/Remove-AzProximityPlacementGroup.md index 7cdf9bc13fd2..dc1c3e6301ee 100644 --- a/src/Compute/Compute/help/Remove-AzProximityPlacementGroup.md +++ b/src/Compute/Compute/help/Remove-AzProximityPlacementGroup.md @@ -46,7 +46,8 @@ This command removes the given proximity placement group. This command removes the given proximity placement group. (autogenerated) -```powershell + +```powershell Remove-AzProximityPlacementGroup -Name 'AgentPool01' -ResourceGroupName myresourcegroup ``` diff --git a/src/Compute/Compute/help/Remove-AzVMAccessExtension.md b/src/Compute/Compute/help/Remove-AzVMAccessExtension.md index f02f28de8702..41ac85435735 100644 --- a/src/Compute/Compute/help/Remove-AzVMAccessExtension.md +++ b/src/Compute/Compute/help/Remove-AzVMAccessExtension.md @@ -27,7 +27,8 @@ The **Remove-AzVMAccessExtension** cmdlet removes the Virtual Machine Access (VM Removes the VMAccess extension from a virtual machine. (autogenerated) -```powershell + +```powershell Remove-AzVMAccessExtension -Name 'AgentPool01' -ResourceGroupName myresourcegroup -VMName 'VM01' ``` diff --git a/src/Compute/Compute/help/Remove-AzVMCustomScriptExtension.md b/src/Compute/Compute/help/Remove-AzVMCustomScriptExtension.md index 01d9c7dc7ab6..4ad2c026baaf 100644 --- a/src/Compute/Compute/help/Remove-AzVMCustomScriptExtension.md +++ b/src/Compute/Compute/help/Remove-AzVMCustomScriptExtension.md @@ -27,7 +27,8 @@ The **Remove-AzVMCustomScriptExtension** cmdlet removes a custom script Virtual Removes a custom script extension from a virtual machine. (autogenerated) -```powershell + +```powershell Remove-AzVMCustomScriptExtension -Name 'AgentPool01' -ResourceGroupName myresourcegroup -VMName 'VM01' ``` diff --git a/src/Compute/Compute/help/Set-AzVMAccessExtension.md b/src/Compute/Compute/help/Set-AzVMAccessExtension.md index aa35c6a680eb..51030a22eaba 100644 --- a/src/Compute/Compute/help/Set-AzVMAccessExtension.md +++ b/src/Compute/Compute/help/Set-AzVMAccessExtension.md @@ -37,8 +37,8 @@ The command specifies the name and type handler version for VMAccess. Adds the VMAccess extension to a virtual machine. (autogenerated) + ```powershell - Set-AzVMAccessExtension -Credential -Location 'Central US' -Name 'ContosoTest' -ResourceGroupName 'ResourceGroup11' -TypeHandlerVersion '2.4' -VMName 'VirtualMachine07' ``` diff --git a/src/Compute/Compute/help/Set-AzVMCustomScriptExtension.md b/src/Compute/Compute/help/Set-AzVMCustomScriptExtension.md index 0e0155a189cd..5db3ac083a98 100644 --- a/src/Compute/Compute/help/Set-AzVMCustomScriptExtension.md +++ b/src/Compute/Compute/help/Set-AzVMCustomScriptExtension.md @@ -99,7 +99,8 @@ The script file is contososcript.exe. Adds a custom script extension to a virtual machine. (autogenerated) -```powershell + +```powershell Set-AzVMCustomScriptExtension -Argument -ContainerName 'Scripts' -DefaultProfile -FileName 'ContosoScript.exe' -Location 'Central US' -Name 'ContosoTest' -ResourceGroupName 'ResourceGroup11' -Run 'myScript.ps1' -SecureExecution -StorageAccountKey -StorageAccountName 'Contoso' -TypeHandlerVersion '1.1' -VMName 'VirtualMachine07' ``` diff --git a/src/Compute/Compute/help/Set-AzVMDataDisk.md b/src/Compute/Compute/help/Set-AzVMDataDisk.md index b3c2de9eb11e..44e73544e6ac 100644 --- a/src/Compute/Compute/help/Set-AzVMDataDisk.md +++ b/src/Compute/Compute/help/Set-AzVMDataDisk.md @@ -48,7 +48,8 @@ A change to the cashing mode causes the virtual machine to restart. Modifies properties of a virtual machine data disk. (autogenerated) -```powershell + +```powershell Set-AzVMDataDisk -Caching None -Lun 1 -VM ``` diff --git a/src/Compute/Compute/help/Set-AzVmss.md b/src/Compute/Compute/help/Set-AzVmss.md index 7ff1d3691dbb..af4ebf0bb999 100644 --- a/src/Compute/Compute/help/Set-AzVmss.md +++ b/src/Compute/Compute/help/Set-AzVmss.md @@ -55,8 +55,8 @@ This command reimages the VMSS named ContosoVMSS that belongs to the resource gr Sets specific actions on a specified VMSS. (autogenerated) + ```powershell - Set-AzVmss -ReimageAll -ResourceGroupName 'ContosoGroup' -VMScaleSetName 'ContosoVMSS' ``` diff --git a/src/Compute/Compute/help/Update-AzVmssVM.md b/src/Compute/Compute/help/Update-AzVmssVM.md index 8d9e80f0113c..026a43639cd8 100644 --- a/src/Compute/Compute/help/Update-AzVmssVM.md +++ b/src/Compute/Compute/help/Update-AzVmssVM.md @@ -69,8 +69,8 @@ The final command updates the Vmss VM with added data disk. Updates the state of a Vmss VM. (autogenerated) + ```powershell - Update-AzVmssVM -InstanceId 0 -ProtectFromScaleIn $false -ProtectFromScaleSetAction $false -ResourceGroupName 'myrg' -VMScaleSetName 'myvmss' ``` diff --git a/src/DataFactory/DataFactoryV2/help/Get-AzDataFactorySlice.md b/src/DataFactory/DataFactoryV2/help/Get-AzDataFactorySlice.md index e13f62ca2c92..67f73e4c816e 100644 --- a/src/DataFactory/DataFactoryV2/help/Get-AzDataFactorySlice.md +++ b/src/DataFactory/DataFactoryV2/help/Get-AzDataFactorySlice.md @@ -29,26 +29,26 @@ Get-AzDataFactorySlice [[-EndDateTime] ] [-DataFactory] + +```powershell Get-AzDataFactorySlice -DataFactoryName 'WikiADF' -DatasetName 'DAWikiAggregatedData' -EndDateTime 2014-05-22T16:00:00Z -ResourceGroupName 'ADF' -StartDateTime 2014-05-20T10:00:00Z ``` @@ -187,10 +188,10 @@ Accept wildcard characters: False Specifies the end of a time period as a **DateTime** object. This cmdlet gets slices produced before the time that this parameter specifies. For more information about **DateTime** objects, type `Get-Help Get-Date`. -*EndDateTime* must be specified in the ISO8601 format as in the following examples: -2015-01-01Z -2015-01-01T00:00:00Z -2015-01-01T00:00:00.000Z (UTC) +*EndDateTime* must be specified in the ISO8601 format as in the following examples: +2015-01-01Z +2015-01-01T00:00:00Z +2015-01-01T00:00:00.000Z (UTC) 2015-01-01T00:00:00-08:00 (Pacific Standard Time) The default time zone designator is UTC. diff --git a/src/DataFactory/DataFactoryV2/help/Invoke-AzDataFactoryV2Pipeline.md b/src/DataFactory/DataFactoryV2/help/Invoke-AzDataFactoryV2Pipeline.md index 5f5b54599b2a..7b0de66e859a 100644 --- a/src/DataFactory/DataFactoryV2/help/Invoke-AzDataFactoryV2Pipeline.md +++ b/src/DataFactory/DataFactoryV2/help/Invoke-AzDataFactoryV2Pipeline.md @@ -62,8 +62,8 @@ This command starts a run for "DPWikisample" pipeline in the "WikiADF" factory. Invokes a pipeline to start a run for it. (autogenerated) + ```powershell - Invoke-AzDataFactoryV2Pipeline -DataFactoryName 'WikiADF' -Parameter -PipelineName 'DPWikisample' -ResourceGroupName 'ADF' ``` diff --git a/src/DataFactory/DataFactoryV2/help/New-AzDataFactoryV2LinkedServiceEncryptedCredential.md b/src/DataFactory/DataFactoryV2/help/New-AzDataFactoryV2LinkedServiceEncryptedCredential.md index dee03cbe069e..4dba9f5661c5 100644 --- a/src/DataFactory/DataFactoryV2/help/New-AzDataFactoryV2LinkedServiceEncryptedCredential.md +++ b/src/DataFactory/DataFactoryV2/help/New-AzDataFactoryV2LinkedServiceEncryptedCredential.md @@ -39,7 +39,8 @@ Please ensure the following prerequisites are met: This command encrypts credential in file C:\samples\WikiSample\TaxiDemo1.json with the integration runtime named test-selfhost-ir. -```powershell + +```powershell New-AzDataFactoryV2LinkedServiceEncryptedCredential -DataFactoryName WikiADF -DefinitionFile 'C:\samples\WikiSample\TaxiDemo1.json' -IntegrationRuntimeName 'test-selfhost-ir' -ResourceGroupName MyResourceGroup ``` diff --git a/src/DataFactory/DataFactoryV2/help/Remove-AzDataFactoryV2IntegrationRuntimeNode.md b/src/DataFactory/DataFactoryV2/help/Remove-AzDataFactoryV2IntegrationRuntimeNode.md index 507455a69d29..941fd7228fb5 100644 --- a/src/DataFactory/DataFactoryV2/help/Remove-AzDataFactoryV2IntegrationRuntimeNode.md +++ b/src/DataFactory/DataFactoryV2/help/Remove-AzDataFactoryV2IntegrationRuntimeNode.md @@ -40,7 +40,8 @@ The Remove-AzDataFactoryV2IntegrationRuntimeNode cmdlet removes a node in an int Remove a node with the given name on an integration runtime. (autogenerated) -```powershell + +```powershell Remove-AzDataFactoryV2IntegrationRuntimeNode -DataFactoryName 'test-df-eu2' -IntegrationRuntimeName 'test-selfhost-ir' -NodeName 'Node_1' -ResourceGroupName 'rg-test-dfv2' ``` diff --git a/src/DataFactory/DataFactoryV2/help/Resume-AzDataFactoryPipeline.md b/src/DataFactory/DataFactoryV2/help/Resume-AzDataFactoryPipeline.md index 6958da69b224..dc347a576eb2 100644 --- a/src/DataFactory/DataFactoryV2/help/Resume-AzDataFactoryPipeline.md +++ b/src/DataFactory/DataFactoryV2/help/Resume-AzDataFactoryPipeline.md @@ -37,7 +37,7 @@ Resume-AzDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -Data ```output Confirm -Are you sure you want to resume pipeline 'DPWikisample' in data factory 'WikiADF'? +Are you sure you want to resume pipeline 'DPWikisample' in data factory 'WikiADF'? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y True ``` @@ -50,7 +50,8 @@ The command returns a value of $True. Resumes a suspended pipeline in Data Factory. (autogenerated) -```powershell + +```powershell Resume-AzDataFactoryPipeline -DataFactory $DataFactory -Name 'DPWikisample' ``` diff --git a/src/DataFactory/DataFactoryV2/help/Sync-AzDataFactoryV2IntegrationRuntimeCredential.md b/src/DataFactory/DataFactoryV2/help/Sync-AzDataFactoryV2IntegrationRuntimeCredential.md index ffc154d70821..c803f444afd4 100644 --- a/src/DataFactory/DataFactoryV2/help/Sync-AzDataFactoryV2IntegrationRuntimeCredential.md +++ b/src/DataFactory/DataFactoryV2/help/Sync-AzDataFactoryV2IntegrationRuntimeCredential.md @@ -40,7 +40,8 @@ The **Sync-AzDataFactoryV2IntegrationRuntimeCredential** cmdlet synchronizes on- Synchronizes credentials among integration runtime nodes. (autogenerated) -```powershell + +```powershell Sync-AzDataFactoryV2IntegrationRuntimeCredential -DataFactoryName 'test-df-eu2' -IntegrationRuntimeName 'test-selfhost-ir' -ResourceGroupName 'rg-test-dfv2' ``` diff --git a/src/DevTestLabs/DevTestLabs/help/Get-AzDtlAutoShutdownPolicy.md b/src/DevTestLabs/DevTestLabs/help/Get-AzDtlAutoShutdownPolicy.md index df41a6990ad9..4682ab37787d 100644 --- a/src/DevTestLabs/DevTestLabs/help/Get-AzDtlAutoShutdownPolicy.md +++ b/src/DevTestLabs/DevTestLabs/help/Get-AzDtlAutoShutdownPolicy.md @@ -28,7 +28,8 @@ The cmdlet returns whether the status of the policy is enabled, and the time of Gets the auto shutdown policy of a lab in DevTest Labs. (autogenerated) -```powershell + +```powershell Get-AzDtlAutoShutdownPolicy -LabName -ResourceGroupName MyResourceGroup ``` diff --git a/src/DevTestLabs/DevTestLabs/help/Get-AzDtlAutoStartPolicy.md b/src/DevTestLabs/DevTestLabs/help/Get-AzDtlAutoStartPolicy.md index 9b6240760536..341beefeb658 100644 --- a/src/DevTestLabs/DevTestLabs/help/Get-AzDtlAutoStartPolicy.md +++ b/src/DevTestLabs/DevTestLabs/help/Get-AzDtlAutoStartPolicy.md @@ -28,7 +28,8 @@ The cmdlet returns the enabled or disabled status of the policy and the days of Gets the auto start policy of a lab in DevTest Labs. (autogenerated) -```powershell + +```powershell Get-AzDtlAutoStartPolicy -LabName -ResourceGroupName MyResourceGroup ``` diff --git a/src/DevTestLabs/DevTestLabs/help/Set-AzDtlAutoShutdownPolicy.md b/src/DevTestLabs/DevTestLabs/help/Set-AzDtlAutoShutdownPolicy.md index 43a52e35ef8f..c6f96fd3c92a 100644 --- a/src/DevTestLabs/DevTestLabs/help/Set-AzDtlAutoShutdownPolicy.md +++ b/src/DevTestLabs/DevTestLabs/help/Set-AzDtlAutoShutdownPolicy.md @@ -35,7 +35,8 @@ The cmdlet uses the specified resource group and name of the lab to set the poli Sets the auto shutdown policy of a lab DevTest Labs. (autogenerated) -```powershell + +```powershell Set-AzDtlAutoShutdownPolicy -Enable -LabName -ResourceGroupName MyResourceGroup -Time ``` diff --git a/src/DevTestLabs/DevTestLabs/help/Set-AzDtlAutoStartPolicy.md b/src/DevTestLabs/DevTestLabs/help/Set-AzDtlAutoStartPolicy.md index d83f840063aa..fd1f4daff906 100644 --- a/src/DevTestLabs/DevTestLabs/help/Set-AzDtlAutoStartPolicy.md +++ b/src/DevTestLabs/DevTestLabs/help/Set-AzDtlAutoStartPolicy.md @@ -37,7 +37,8 @@ The cmdlet uses the specified resource group and name of the lab to set the poli Sets the auto start policy of a lab in DevTest Labs. (autogenerated) -```powershell + +```powershell Set-AzDtlAutoStartPolicy -Days Sunday -Enable -LabName -ResourceGroupName MyResourceGroup -Time ``` diff --git a/src/EventHub/EventHub/help/Set-AzEventHubNamespace.md b/src/EventHub/EventHub/help/Set-AzEventHubNamespace.md index 95bb361a7e88..e62ea4ee5106 100644 --- a/src/EventHub/EventHub/help/Set-AzEventHubNamespace.md +++ b/src/EventHub/EventHub/help/Set-AzEventHubNamespace.md @@ -62,7 +62,7 @@ Updates the Tags for namespace \`MyNamespaceName\` to Created . ### Example 2 ```powershell -Set-AzEventHubNamespace -ResourceGroupName MyResourceGroupName -NamespaceName MyNamespaceName -Location "WestUS" -State Created -EnableAutoInflate -MaximumThroughputUnits 10 +Set-AzEventHubNamespace -ResourceGroupName MyResourceGroupName -NamespaceName MyNamespaceName -Location "WestUS" -State Created -EnableAutoInflate -MaximumThroughputUnits 10 ``` ```output @@ -90,7 +90,8 @@ Updates the state of namespace \`MyNamespaceName\` with AutoInflate = enabled an Updates the specified Event Hubs namespace. (autogenerated) -```powershell + +```powershell Set-AzEventHubNamespace -Location 'WestUS' -Name MyNamespaceName -ResourceGroupName MyResourceGroupName -SkuName Basic ``` @@ -129,19 +130,19 @@ Encryption.KeySource : MicrosoftKeyVault Identity : PrinicipalId : 000000, TenantId: 000000, Type: SystemAssigned, - UserAssignedIdentity: + UserAssignedIdentity: IdentityType : SystemAssigned -IdentityId : +IdentityId : EncryptionConfig : {{ KeyName: key1, KeyVaultUri: https://myvaultname.vault.azure.net, KeyVersion: , - UserAssignedIdentity: + UserAssignedIdentity: }, { KeyName: key2, KeyVaultUri: https://myvaultname.vault.azure.net, KeyVersion: , - UserAssignedIdentity: + UserAssignedIdentity: }} ``` @@ -182,25 +183,25 @@ Encryption.KeySource : MicrosoftKeyVault Identity : PrinicipalId : 000000, TenantId: 000000, Type: SystemAssigned, - UserAssignedIdentity: + UserAssignedIdentity: IdentityType : SystemAssigned -IdentityId : +IdentityId : EncryptionConfig : {{ KeyName: key1, KeyVaultUri: https://myvaultname.vault.azure.net, KeyVersion: , - UserAssignedIdentity: + UserAssignedIdentity: }, { KeyName: key2, KeyVaultUri: https://myvaultname.vault.azure.net, KeyVersion: , - UserAssignedIdentity: + UserAssignedIdentity: }, { KeyName: key3, KeyVaultUri: https://myvaultname.vault.azure.net, KeyVersion: , - UserAssignedIdentity: + UserAssignedIdentity: }} ``` diff --git a/src/KeyVault/KeyVault/help/New-AzKeyVaultCertificatePolicy.md b/src/KeyVault/KeyVault/help/New-AzKeyVaultCertificatePolicy.md index c01b4601e555..8a2f28209d26 100644 --- a/src/KeyVault/KeyVault/help/New-AzKeyVaultCertificatePolicy.md +++ b/src/KeyVault/KeyVault/help/New-AzKeyVaultCertificatePolicy.md @@ -77,8 +77,8 @@ This command creates a certificate policy that is valid for six months and reuse Creates an in-memory certificate policy object. (autogenerated) + ```powershell - New-AzKeyVaultCertificatePolicy -IssuerName 'Self' -KeyType RSA -RenewAtNumberOfDaysBeforeExpiry -SecretContentType application/x-pkcs12 -SubjectName 'CN=contoso.com' -ValidityInMonths 6 ``` @@ -413,10 +413,10 @@ Accept wildcard characters: False ``` ### -SubjectName -Specifies the subject name of the certificate. +Specifies the subject name of the certificate. > [!NOTE] -> If you must use a comma (,) or a period (.) within a property in the `SubjectName` parameter, +> If you must use a comma (,) or a period (.) within a property in the `SubjectName` parameter, > you must enclose the property field in quotation marks. For example, you may use O="Contoso, Ltd." in the Organization Name field. ```yaml diff --git a/src/KeyVault/KeyVault/help/Update-AzKeyVaultCertificate.md b/src/KeyVault/KeyVault/help/Update-AzKeyVaultCertificate.md index 7ab097e2ced8..f1fc5bdfc65e 100644 --- a/src/KeyVault/KeyVault/help/Update-AzKeyVaultCertificate.md +++ b/src/KeyVault/KeyVault/help/Update-AzKeyVaultCertificate.md @@ -74,8 +74,8 @@ The second command sets the tags value of the certificate named TestCert01 to be Modifies editable attributes of a certificate. (autogenerated) + ```powershell - Update-AzKeyVaultCertificate -Enable $true -Name 'TestCert01' -VaultName 'ContosoKV01' ``` diff --git a/src/KeyVault/KeyVault/help/Update-AzKeyVaultManagedStorageAccount.md b/src/KeyVault/KeyVault/help/Update-AzKeyVaultManagedStorageAccount.md index f7e198cbd7f9..8b5dd7226c5e 100644 --- a/src/KeyVault/KeyVault/help/Update-AzKeyVaultManagedStorageAccount.md +++ b/src/KeyVault/KeyVault/help/Update-AzKeyVaultManagedStorageAccount.md @@ -59,8 +59,8 @@ generate SAS tokens after this update. Update editable attributes of a Key Vault managed Azure Storage Account. (autogenerated) + ```powershell - Update-AzKeyVaultManagedStorageAccount -AccountName 'mystorageaccount' -AutoRegenerateKey $false -RegenerationPeriod $regenerationPeriod -VaultName 'myvault' ``` diff --git a/src/KeyVault/KeyVault/help/Update-AzKeyVaultNetworkRuleSet.md b/src/KeyVault/KeyVault/help/Update-AzKeyVaultNetworkRuleSet.md index ef5994feca2f..1f2c0cdf7597 100644 --- a/src/KeyVault/KeyVault/help/Update-AzKeyVaultNetworkRuleSet.md +++ b/src/KeyVault/KeyVault/help/Update-AzKeyVaultNetworkRuleSet.md @@ -40,13 +40,13 @@ Update-AzKeyVaultNetworkRuleSet [-ResourceId] ``` ## DESCRIPTION -The **Update-AzKeyVaultNetworkRuleSet** command updates the network rules in effect on the specified key vault. +The **Update-AzKeyVaultNetworkRuleSet** command updates the network rules in effect on the specified key vault. ## EXAMPLES ### Example 1 ```powershell -$frontendSubnet = New-AzVirtualNetworkSubnetConfig -Name frontendSubnet -AddressPrefix "10.0.1.0/24" -ServiceEndpoint Microsoft.KeyVault +$frontendSubnet = New-AzVirtualNetworkSubnetConfig -Name frontendSubnet -AddressPrefix "10.0.1.0/24" -ServiceEndpoint Microsoft.KeyVault $virtualNetwork = New-AzVirtualNetwork -Name myVNet -ResourceGroupName myRG -Location westus -AddressPrefix "10.0.0.0/16" -Subnet $frontendSubnet $myNetworkResId = (Get-AzVirtualNetwork -Name myVNet -ResourceGroupName myRG).Subnets[0].Id Update-AzKeyVaultNetworkRuleSet -VaultName 'myVault' -ResourceGroupName myRG -Bypass AzureServices -IpAddressRange "10.0.1.0/24" -VirtualNetworkResourceId $myNetworkResId -PassThru @@ -98,8 +98,8 @@ This command updates the network ruleset on the vault named 'myVault' for the sp Updates the network rule set on a key vault. (autogenerated) + ```powershell - Update-AzKeyVaultNetworkRuleSet -DefaultAction Allow -VaultName 'myVault' ``` diff --git a/src/LogicApp/LogicApp/help/New-AzIntegrationAccountAgreement.md b/src/LogicApp/LogicApp/help/New-AzIntegrationAccountAgreement.md index e472658f8ed1..dc48303dab3f 100644 --- a/src/LogicApp/LogicApp/help/New-AzIntegrationAccountAgreement.md +++ b/src/LogicApp/LogicApp/help/New-AzIntegrationAccountAgreement.md @@ -63,7 +63,8 @@ This command creates an integration account agreement in the specified Azure res Creates an integration account agreement. (autogenerated) -```powershell + +```powershell New-AzIntegrationAccountAgreement -AgreementContent -AgreementName 'IntegrationAccountAgreement06' -AgreementType X12 -GuestIdentityQualifier 'BB' -GuestIdentityQualifierValue -GuestPartner 'GuestPartner' -HostIdentityQualifier 'AA' -HostIdentityQualifierValue -HostPartner 'HostPartner' -Name 'IntegrationAccount31' -ResourceGroupName 'ResourceGroup11' ``` @@ -117,9 +118,9 @@ Accept wildcard characters: False ``` ### -AgreementType -Specifies the integration account agreement type. +Specifies the integration account agreement type. The acceptable values for this parameter are: -- X12 +- X12 - AS2 - Edifact diff --git a/src/LogicApp/LogicApp/help/New-AzIntegrationAccountMap.md b/src/LogicApp/LogicApp/help/New-AzIntegrationAccountMap.md index 22f1bd1b4b43..83bcae2573ef 100644 --- a/src/LogicApp/LogicApp/help/New-AzIntegrationAccountMap.md +++ b/src/LogicApp/LogicApp/help/New-AzIntegrationAccountMap.md @@ -56,7 +56,8 @@ The command specifies a map definition stored in the $MapContent variable by a p Creates an integration account map. (autogenerated) -```powershell + +```powershell New-AzIntegrationAccountMap -MapFilePath -MapName 'IntegrationAccountMap47' -MapType Xslt -Name 'IntegrationAccount31' -ResourceGroupName 'ResourceGroup11' ``` @@ -110,7 +111,7 @@ Accept wildcard characters: False ``` ### -MapFilePath -Specifies the file path of a definition for the integration account map. +Specifies the file path of a definition for the integration account map. Specify either this parameter or the *MapDefinition* parameter. ```yaml diff --git a/src/LogicApp/LogicApp/help/Set-AzIntegrationAccountAgreement.md b/src/LogicApp/LogicApp/help/Set-AzIntegrationAccountAgreement.md index dd0f53c717fa..9b0b0988ebd8 100644 --- a/src/LogicApp/LogicApp/help/Set-AzIntegrationAccountAgreement.md +++ b/src/LogicApp/LogicApp/help/Set-AzIntegrationAccountAgreement.md @@ -63,7 +63,8 @@ This command updates an integration account agreement in the specified Azure res Modifies an integration account agreement. (autogenerated) -```powershell + +```powershell Set-AzIntegrationAccountAgreement -AgreementContentFilePath 'C:\temp\AgreementContent.json' -AgreementName 'IntegrationAccountAgreement06' -GuestIdentityQualifier 'BB' -GuestIdentityQualifierValue -GuestPartner 'GuestPartner' -HostIdentityQualifier 'AA' -HostIdentityQualifierValue -HostPartner 'HostPartner' -Metadata -Name 'IntegrationAccount31' -ResourceGroupName 'ResourceGroup11' ``` @@ -117,7 +118,7 @@ Accept wildcard characters: False ### -AgreementType Specifies the integration account agreement type. The acceptable values for this parameter are: -- X12 +- X12 - AS2 - Edifact diff --git a/src/LogicApp/LogicApp/help/Set-AzIntegrationAccountMap.md b/src/LogicApp/LogicApp/help/Set-AzIntegrationAccountMap.md index 3abf0c5096fd..37bcc518fc78 100644 --- a/src/LogicApp/LogicApp/help/Set-AzIntegrationAccountMap.md +++ b/src/LogicApp/LogicApp/help/Set-AzIntegrationAccountMap.md @@ -56,7 +56,8 @@ The command specifies a map definition stored in the $MapContent variable by a p Modifies an integration account map. (autogenerated) -```powershell + +```powershell Set-AzIntegrationAccountMap -MapFilePath -MapName 'IntegrationAccountMap47' -MapType Xslt -Name 'IntegrationAccount31' -ResourceGroupName 'ResourceGroup11' ``` diff --git a/src/LogicApp/LogicApp/help/Set-AzIntegrationAccountPartner.md b/src/LogicApp/LogicApp/help/Set-AzIntegrationAccountPartner.md index 6e8259632c24..f80722fbd945 100644 --- a/src/LogicApp/LogicApp/help/Set-AzIntegrationAccountPartner.md +++ b/src/LogicApp/LogicApp/help/Set-AzIntegrationAccountPartner.md @@ -53,7 +53,8 @@ This command modify the integration account partner named IntegrationAccountPart Modifies an integration account partner. (autogenerated) -```powershell + +```powershell Set-AzIntegrationAccountPartner -BusinessIdentities -Metadata -Name 'IntegrationAccount31' -PartnerName 'IntegrationAccountPartner22' -PartnerType B2B -ResourceGroupName 'ResourceGroup11' ``` diff --git a/src/LogicApp/LogicApp/help/Test-AzLogicApp.md b/src/LogicApp/LogicApp/help/Test-AzLogicApp.md index 2cbb073cd4d7..6d0c03234b92 100644 --- a/src/LogicApp/LogicApp/help/Test-AzLogicApp.md +++ b/src/LogicApp/LogicApp/help/Test-AzLogicApp.md @@ -57,7 +57,8 @@ The command specifies definition and parameter objects. Validates a logic app definition. (autogenerated) -```powershell + +```powershell Test-AzLogicApp -DefinitionFilePath 'd:\workflows\Definition.json' -IntegrationAccountId -Location 'westus' -Name 'LogicApp01' -ParameterFilePath 'd:\workflows\Parameters.json' -ResourceGroupName 'ResourceGroup11' ``` diff --git a/src/Monitor/Monitor/help/Add-AzLogProfile.md b/src/Monitor/Monitor/help/Add-AzLogProfile.md index 42f5ca1917ed..cdb632bb25a7 100644 --- a/src/Monitor/Monitor/help/Add-AzLogProfile.md +++ b/src/Monitor/Monitor/help/Add-AzLogProfile.md @@ -9,7 +9,7 @@ schema: 2.0.0 # Add-AzLogProfile ## SYNOPSIS -Creates a new activity log profile. This profile is used to either archive the activity log to an Azure storage account or stream it to an Azure event hub in the same subscription. +Creates a new activity log profile. This profile is used to either archive the activity log to an Azure storage account or stream it to an Azure event hub in the same subscription. ## SYNTAX @@ -22,10 +22,10 @@ Add-AzLogProfile -Name [-StorageAccountId ] [-ServiceBusRuleId ## DESCRIPTION The **Add-AzLogProfile** cmdlet creates a log profile. -- **Storage Account** - Only standard storage account (premium storage account is not supported) is supported. It could either be of type ARM or Classic. If it's logged to a storage account, the cost of storing the activity log is billed at normal standard storage rates. There could be only one log profile per subscription consequentially only one storage account per subscription can be used to export activity log. -- **Event Hub** - There could be only one log profile per subscription consequentially only one event hub per subscription can be used to export activity log. If activity log is streamed to an event hub, standard event hub pricing will apply. -In the activity log, events can pertain to a region or could be "Global". Global essentially means these events are region agnostics and are independent of region, in fact majority of events fall into this category. If the activity log profile is set from the portal, it implicitly adds "Global" along with any other region selected in the user interface. When using the cmdlet, the location as "Global" must be explicitly mentioned apart from any other region. -**Note** :- **Failing to set "Global" in the locations will result in a majority of activity log not getting exported.** +- **Storage Account** - Only standard storage account (premium storage account is not supported) is supported. It could either be of type ARM or Classic. If it's logged to a storage account, the cost of storing the activity log is billed at normal standard storage rates. There could be only one log profile per subscription consequentially only one storage account per subscription can be used to export activity log. +- **Event Hub** - There could be only one log profile per subscription consequentially only one event hub per subscription can be used to export activity log. If activity log is streamed to an event hub, standard event hub pricing will apply. +In the activity log, events can pertain to a region or could be "Global". Global essentially means these events are region agnostics and are independent of region, in fact majority of events fall into this category. If the activity log profile is set from the portal, it implicitly adds "Global" along with any other region selected in the user interface. When using the cmdlet, the location as "Global" must be explicitly mentioned apart from any other region. +**Note** :- **Failing to set "Global" in the locations will result in a majority of activity log not getting exported.** This cmdlet implements the ShouldProcess pattern, i.e. it might request confirmation from the user before actually creating, modifying, or removing the resource. ## EXAMPLES @@ -39,7 +39,8 @@ Add-AzLogProfile -Location "Global","West US" -Name ExportLogProfile -StorageAcc Creates a new activity log profile. (autogenerated) -```powershell + +```powershell Add-AzLogProfile -Location 'Global' -Name ExportLogProfile -RetentionInDays -ServiceBusRuleId -StorageAccountId /subscriptions/40gpe80s-9sb7-4f07-9042-b1b6a92ja9fk/resourceGroups/activitylogRG/providers/Microsoft.Storage/storageAccounts/activitylogstorageaccount ``` @@ -77,7 +78,7 @@ Accept wildcard characters: False ### -Location Specifies the location of the log profile. -Valid values: Run below cmdlet to get the latest list of locations. +Valid values: Run below cmdlet to get the latest list of locations. Get-AzLocation | Select DisplayName ```yaml @@ -138,7 +139,7 @@ Accept wildcard characters: False ``` ### -StorageAccountId -Specifies the ID of the Storage account. ID is the fully qualified Resource ID of the storage account for example +Specifies the ID of the Storage account. ID is the fully qualified Resource ID of the storage account for example /subscriptions/40gpe80s-9sb7-4f07-9042-b1b6a92ja9fk/resourceGroups/activitylogRG/providers/Microsoft.Storage/storageAccounts/activitylogstorageaccount ```yaml diff --git a/src/Monitor/Monitor/help/New-AzAutoscaleRule.md b/src/Monitor/Monitor/help/New-AzAutoscaleRule.md index 27fa6a3bcdee..3d6f7f286173 100644 --- a/src/Monitor/Monitor/help/New-AzAutoscaleRule.md +++ b/src/Monitor/Monitor/help/New-AzAutoscaleRule.md @@ -41,7 +41,7 @@ This command creates a rule. ### Example 2: Create two rules ```powershell -$Rule1 = New-AzAutoscaleRule -MetricName "Requests" -MetricResourceId "/subscriptions/b93fb07a-6f93-30be-bf3e-4f0deca15f4f/resourceGroups/Default-Web-EastUS/providers/microsoft.web/sites/mywebsite" -Operator GreaterThan -MetricStatistic Average -Threshold 10 -TimeGrain 00:01:00 -ScaleActionCooldown 00:05:00 -ScaleActionDirection Increase -ScaleActionScaleType ChangeCount -ScaleActionValue "1" +$Rule1 = New-AzAutoscaleRule -MetricName "Requests" -MetricResourceId "/subscriptions/b93fb07a-6f93-30be-bf3e-4f0deca15f4f/resourceGroups/Default-Web-EastUS/providers/microsoft.web/sites/mywebsite" -Operator GreaterThan -MetricStatistic Average -Threshold 10 -TimeGrain 00:01:00 -ScaleActionCooldown 00:05:00 -ScaleActionDirection Increase -ScaleActionScaleType ChangeCount -ScaleActionValue "1" $Rule2 = New-AzAutoscaleRule -MetricName "Requests" -MetricResourceId "/subscriptions/b93fb07a-6f93-30be-bf3e-4f0deca15f4f/resourceGroups/Default-Web-EastUS/providers/microsoft.web/sites/mywebsite" -Operator GreaterThan -MetricStatistic Average -Threshold 10 -TimeGrain 00:01:00 -ScaleActionCooldown 00:10:00 -ScaleActionDirection Increase -ScaleActionScaleType ChangeCount -ScaleActionValue "2" ``` @@ -60,7 +60,8 @@ The second command creates a second rule for the Requests metric, and then store Creates an Autoscale rule. (autogenerated) -```powershell + +```powershell New-AzAutoscaleRule -MetricName 'Requests' -MetricResourceId '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Web-EastUS/providers/microsoft.web/sites/mywebsite' -MetricStatistic Average -Operator Equals -ScaleActionCooldown 00:05:00 -ScaleActionDirection None -ScaleActionScaleType ChangeCount -ScaleActionValue '1' -Threshold 10 -TimeGrain 00:01:00 -TimeWindow ``` diff --git a/src/Monitor/Monitor/help/New-AzAutoscaleWebhook.md b/src/Monitor/Monitor/help/New-AzAutoscaleWebhook.md index 3ba5b5e0f6c6..7a3ab3c9b5ce 100644 --- a/src/Monitor/Monitor/help/New-AzAutoscaleWebhook.md +++ b/src/Monitor/Monitor/help/New-AzAutoscaleWebhook.md @@ -27,7 +27,8 @@ The **New-AzAutoscaleWebhook** cmdlet creates an Autoscale webhook. Creates an Autoscale webhook. (autogenerated) -```powershell + +```powershell New-AzAutoscaleWebhook -ServiceUri 'https://contoso.com' ``` diff --git a/src/Monitor/Monitor/help/New-AzScheduledQueryRuleSource.md b/src/Monitor/Monitor/help/New-AzScheduledQueryRuleSource.md index 88e47b241e94..76ca2fa2e0ff 100644 --- a/src/Monitor/Monitor/help/New-AzScheduledQueryRuleSource.md +++ b/src/Monitor/Monitor/help/New-AzScheduledQueryRuleSource.md @@ -34,7 +34,8 @@ $source = New-AzScheduledQueryRuleSource -Query "Heartbeat | summarize Aggregate Creates an object of type Source. (autogenerated) -```powershell + +```powershell New-AzScheduledQueryRuleSource -DataSourceId -Query 'Heartbeat | summarize AggregatedValue = count() by bin(TimeGenerated, 5m)' ``` diff --git a/src/Monitor/Monitor/help/Remove-AzAutoscaleSetting.md b/src/Monitor/Monitor/help/Remove-AzAutoscaleSetting.md index 944aba334fd2..dad608e58e36 100644 --- a/src/Monitor/Monitor/help/Remove-AzAutoscaleSetting.md +++ b/src/Monitor/Monitor/help/Remove-AzAutoscaleSetting.md @@ -29,7 +29,8 @@ This cmdlet implements the ShouldProcess pattern, i.e. it might request confirma Removes an Autoscale setting. (autogenerated) -```powershell + +```powershell Remove-AzAutoscaleSetting -Name 'LogAlertRule1' -ResourceGroupName MyResourceGroup ``` diff --git a/src/Monitor/Monitor/help/Remove-AzLogProfile.md b/src/Monitor/Monitor/help/Remove-AzLogProfile.md index 0e5c1044334c..125fd869af81 100644 --- a/src/Monitor/Monitor/help/Remove-AzLogProfile.md +++ b/src/Monitor/Monitor/help/Remove-AzLogProfile.md @@ -28,7 +28,8 @@ This cmdlet implements the ShouldProcess pattern, i.e. it might request confirma Removes a log profile. (autogenerated) -```powershell + +```powershell Remove-AzLogProfile -Name 'LogAlertRule1' ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Backup-AzRecoveryServicesBackupItem.md b/src/RecoveryServices/RecoveryServices/help/Backup-AzRecoveryServicesBackupItem.md index 44a5f4e79990..6ffdfe17e7f2 100644 --- a/src/RecoveryServices/RecoveryServices/help/Backup-AzRecoveryServicesBackupItem.md +++ b/src/RecoveryServices/RecoveryServices/help/Backup-AzRecoveryServicesBackupItem.md @@ -22,9 +22,9 @@ Backup-AzRecoveryServicesBackupItem -Item [-ExpiryDateTimeUTC ```powershell - Backup-AzRecoveryServicesBackupItem -ExpiryDateTimeUTC -Item $Item -VaultId $vault.ID ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Disable-AzRecoveryServicesBackupAutoProtection.md b/src/RecoveryServices/RecoveryServices/help/Disable-AzRecoveryServicesBackupAutoProtection.md index c8a023141ba2..61fe4dea374c 100644 --- a/src/RecoveryServices/RecoveryServices/help/Disable-AzRecoveryServicesBackupAutoProtection.md +++ b/src/RecoveryServices/RecoveryServices/help/Disable-AzRecoveryServicesBackupAutoProtection.md @@ -36,7 +36,8 @@ The first cmdlet gets the Backup container of type AzureVMAppContainer. The sec Disables auto backup for a protectable item. (autogenerated) -```powershell + +```powershell Disable-AzRecoveryServicesBackupAutoProtection -BackupManagementType AzureVM -InputItem -VaultId $vault.ID -WorkloadType AzureVM ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Disable-AzRecoveryServicesBackupProtection.md b/src/RecoveryServices/RecoveryServices/help/Disable-AzRecoveryServicesBackupProtection.md index 7bd9c502ad4d..40c4f27ee5a0 100644 --- a/src/RecoveryServices/RecoveryServices/help/Disable-AzRecoveryServicesBackupProtection.md +++ b/src/RecoveryServices/RecoveryServices/help/Disable-AzRecoveryServicesBackupProtection.md @@ -29,8 +29,8 @@ Set the vault context by using the Set-AzRecoveryServicesVaultContext cmdlet bef ### Example 1: Disable Backup protection ```powershell -$Cont = Get-AzRecoveryServicesBackupContainer -ContainerType AzureVM -Status Registered -$PI = Get-AzRecoveryServicesBackupItem -Container $Cont[0] -WorkloadType AzureVM +$Cont = Get-AzRecoveryServicesBackupContainer -ContainerType AzureVM -Status Registered +$PI = Get-AzRecoveryServicesBackupItem -Container $Cont[0] -WorkloadType AzureVM Disable-AzRecoveryServicesBackupProtection -Item $PI[0] ``` @@ -42,8 +42,8 @@ The last command disables Backup protection for the item in $PI\[0\], but retain Disables protection for a Backup-protected item. (autogenerated) + ```powershell - Disable-AzRecoveryServicesBackupProtection -Item $PI[0] -RemoveRecoveryPoints -VaultId $vault.ID ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Disable-AzRecoveryServicesBackupRPMountScript.md b/src/RecoveryServices/RecoveryServices/help/Disable-AzRecoveryServicesBackupRPMountScript.md index 5da18404fda5..5f42d4ca1935 100644 --- a/src/RecoveryServices/RecoveryServices/help/Disable-AzRecoveryServicesBackupRPMountScript.md +++ b/src/RecoveryServices/RecoveryServices/help/Disable-AzRecoveryServicesBackupRPMountScript.md @@ -49,8 +49,8 @@ Disable-AzRecoveryServicesBackupRPMountScript -RecoveryPoint $rp[0] Dismounts all the files of the recovery point. (autogenerated) + ```powershell - Disable-AzRecoveryServicesBackupRPMountScript -Confirm -RecoveryPoint $rp[0] -VaultId $vault.ID ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Edit-AzRecoveryServicesAsrRecoveryPlan.md b/src/RecoveryServices/RecoveryServices/help/Edit-AzRecoveryServicesAsrRecoveryPlan.md index df1cc5b67d1d..e013ecbc6e9f 100644 --- a/src/RecoveryServices/RecoveryServices/help/Edit-AzRecoveryServicesAsrRecoveryPlan.md +++ b/src/RecoveryServices/RecoveryServices/help/Edit-AzRecoveryServicesAsrRecoveryPlan.md @@ -48,13 +48,14 @@ The **Edit-AzRecoveryServicesAsrRecoveryPlan** cmdlet edits an Azure Site Recove $RP = Edit-AzRecoveryServicesAsrRecoveryPlan -RecoveryPlan $RP -AppendGroup ``` -Appends a group to existing Azure Site Recovery plan and returns the in-memory updated recovery plan. +Appends a group to existing Azure Site Recovery plan and returns the in-memory updated recovery plan. ### Example 2 Edits a Site Recovery plan. (autogenerated) -```powershell + +```powershell Edit-AzRecoveryServicesAsrRecoveryPlan -AddProtectedItem -Group -InputObject $RP ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Enable-AzRecoveryServicesBackupAutoProtection.md b/src/RecoveryServices/RecoveryServices/help/Enable-AzRecoveryServicesBackupAutoProtection.md index 9ae7ad1365d9..35524d6a3df4 100644 --- a/src/RecoveryServices/RecoveryServices/help/Enable-AzRecoveryServicesBackupAutoProtection.md +++ b/src/RecoveryServices/RecoveryServices/help/Enable-AzRecoveryServicesBackupAutoProtection.md @@ -27,7 +27,7 @@ This command allows users to automatically protect all existing unprotected SQL ### Example 1 ```powershell $Pol = Get-AzRecoveryServicesBackupProtectionPolicy -Name "DefaultSQLPolicy" -$SQLInstance = Get-AzRecoveryServicesBackupProtectableItem -workloadType MSSQL -ItemType SQLInstance -VaultId $targetVault.ID -Name "MSSQLInstance" -ServerName "TestSQLServer" +$SQLInstance = Get-AzRecoveryServicesBackupProtectableItem -workloadType MSSQL -ItemType SQLInstance -VaultId $targetVault.ID -Name "MSSQLInstance" -ServerName "TestSQLServer" Enable-AzRecoveryServicesBackupAutoProtection -InputItem $SQLInstance -BackupManagementType AzureWorkload -WorkloadType MSSQL -Policy $Pol -VaultId $targetvault.ID ``` @@ -38,8 +38,8 @@ The second cmdlet fetches the relevant SQLInstance which is a protectable item. This commands allows users to automatically protect all existing unprotected DBs and any DB which will be added later with the given policy. (autogenerated) + ```powershell - Enable-AzRecoveryServicesBackupAutoProtection -BackupManagementType AzureVM -InputItem -Policy $Pol -VaultId $vault.ID -WorkloadType AzureVM ``` @@ -77,7 +77,7 @@ Accept wildcard characters: False ``` ### -InputItem -Specifies the protectable item object that can be passed as an input. The current supported value is a protectableItem object of type "SQLInstance". +Specifies the protectable item object that can be passed as an input. The current supported value is a protectableItem object of type "SQLInstance". ```yaml Type: Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.ProtectableItemBase diff --git a/src/RecoveryServices/RecoveryServices/help/Enable-AzRecoveryServicesBackupProtection.md b/src/RecoveryServices/RecoveryServices/help/Enable-AzRecoveryServicesBackupProtection.md index aeef2486cf20..d5bec999e458 100644 --- a/src/RecoveryServices/RecoveryServices/help/Enable-AzRecoveryServicesBackupProtection.md +++ b/src/RecoveryServices/RecoveryServices/help/Enable-AzRecoveryServicesBackupProtection.md @@ -77,8 +77,8 @@ The third cmdlet sets the Backup protection policy for the ARM virtual machine n Enables backup for an item with a specified Backup protection policy. (autogenerated) + ```powershell - Enable-AzRecoveryServicesBackupProtection -Item $Item -Policy $Pol -VaultId $vault ``` @@ -313,7 +313,7 @@ Accept wildcard characters: False ``` ### -WhatIf -Shows what would happen if the cmdlet runs. +Shows what would happen if the cmdlet runs. ```yaml Type: System.Management.Automation.SwitchParameter diff --git a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesAsrJob.md b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesAsrJob.md index b7f5b615e31e..cd86b1af005c 100644 --- a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesAsrJob.md +++ b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesAsrJob.md @@ -39,13 +39,14 @@ You can use this cmdlet to view the ASR jobs in the Recovery Services vault. $jobs = Get-AzRecoveryServicesAsrJob -TargetObjectId $ASRObjectId ``` -Returns all the jobs on a particular ASR object(reference the ASR object such as replicated item or recovery plan by its ID.) +Returns all the jobs on a particular ASR object(reference the ASR object such as replicated item or recovery plan by its ID.) ### Example 2 Gets the details of the specified ASR job or the list of recent ASR jobs in the Recovery Services vault. (autogenerated) -```powershell + +```powershell Get-AzRecoveryServicesAsrJob -Job $Job ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesAsrReplicationProtectedItem.md b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesAsrReplicationProtectedItem.md index ab554ba86d5b..21e716aaa272 100644 --- a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesAsrReplicationProtectedItem.md +++ b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesAsrReplicationProtectedItem.md @@ -52,8 +52,8 @@ Lists all replication protected items in the specified ASR protection container. Gets the properties of an Azure Site Recovery Replication Protected Items. (autogenerated) + ```powershell - Get-AzRecoveryServicesAsrReplicationProtectedItem -FriendlyName XXXXXXXXXX -ProtectionContainer $PrimaryContainer ``` @@ -121,7 +121,7 @@ Accept wildcard characters: False ``` ### -ProtectionContainer -Specifies the ASR protection container object of the ASR protection container corresponding to the replication protected item. +Specifies the ASR protection container object of the ASR protection container corresponding to the replication protected item. ```yaml Type: Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectionContainer diff --git a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesAsrServicesProvider.md b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesAsrServicesProvider.md index 516ec73be691..90f744db9e92 100644 --- a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesAsrServicesProvider.md +++ b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesAsrServicesProvider.md @@ -46,7 +46,8 @@ List all ASR replication services providers registered to the Recovery Services Gets the details of the ASR recovery services providers registered to the Recovery Services vault. (autogenerated) -```powershell + +```powershell Get-AzRecoveryServicesAsrServicesProvider -Fabric $Fabric ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupRPMountScript.md b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupRPMountScript.md index b85ff4f51b1a..0dad7be3a34d 100644 --- a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupRPMountScript.md +++ b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupRPMountScript.md @@ -47,8 +47,8 @@ When the script is run, it will mount the files of the recovery point $rp\[0\] Downloads a script to mount all the files of the recovery point. (autogenerated) + ```powershell - Get-AzRecoveryServicesBackupRPMountScript -RecoveryPoint $rp[0] -VaultId $vault.ID ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupRecoveryLogChain.md b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupRecoveryLogChain.md index 9fa69417dcf8..0ac3e8e3c234 100644 --- a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupRecoveryLogChain.md +++ b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupRecoveryLogChain.md @@ -33,8 +33,8 @@ After an item has been backed up, an **AzRecoveryServicesBackupRecoveryLogChain* ### Example 1 ```powershell -$StartDate = (Get-Date).AddDays(-7) -$EndDate = Get-Date +$StartDate = (Get-Date).AddDays(-7) +$EndDate = Get-Date $Container = Get-AzRecoveryServicesBackupContainer -ContainerType AzureWorkload -Status Registered $RP = Get-AzRecoveryServicesBackupItem -Container $Container -WorkloadType MSSQL | Get-AzRecoveryServicesBackupRecoveryLogChain -StartDate $Startdate.ToUniversalTime() -EndDate $Enddate.ToUniversalTime() ``` @@ -49,8 +49,8 @@ The last command gets an array of recovery point time ranges for the item in $Ba This command lists the start and end points of the unbroken log chain of the given backup item. (autogenerated) + ```powershell - Get-AzRecoveryServicesBackupRecoveryLogChain -Item $Item -VaultId $vault.ID ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupStatus.md b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupStatus.md index e0d074d3ecf8..4b431481c4ba 100644 --- a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupStatus.md +++ b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupStatus.md @@ -31,7 +31,7 @@ Get-AzRecoveryServicesBackupStatus -ResourceId [-DefaultProfile ```powershell - Get-AzRecoveryServicesBackupStatus -Name 'myAzureVM' -ResourceGroupName 'myAzureVMRG' -Type AzureVM ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupWorkloadRecoveryConfig.md b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupWorkloadRecoveryConfig.md index e9a5b5935c88..be4b4d6c5930 100644 --- a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupWorkloadRecoveryConfig.md +++ b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupWorkloadRecoveryConfig.md @@ -50,8 +50,8 @@ Note: Parameter -TargetContainer is mandatory in case of AlternateLocationRestor This command constructs the recovery configuration of a backed up item such as SQL DB. (autogenerated) + ```powershell - Get-AzRecoveryServicesBackupWorkloadRecoveryConfig -AlternateWorkloadRestore -RecoveryPoint $rp[0] -TargetItem -TargetContainer $targetVMContainer -VaultId $vault.ID ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Initialize-AzRecoveryServicesBackupProtectableItem.md b/src/RecoveryServices/RecoveryServices/help/Initialize-AzRecoveryServicesBackupProtectableItem.md index 5997064fcb60..698a1f555883 100644 --- a/src/RecoveryServices/RecoveryServices/help/Initialize-AzRecoveryServicesBackupProtectableItem.md +++ b/src/RecoveryServices/RecoveryServices/help/Initialize-AzRecoveryServicesBackupProtectableItem.md @@ -34,7 +34,8 @@ The cmdlet executes a discovery operation for new protectable items. This command triggers the discovery of any unprotected items of the given workload type in the given container. (autogenerated) -```powershell + +```powershell Initialize-AzRecoveryServicesBackupProtectableItem -Container $Cont[0] -VaultId $vault.ID -WorkloadType AzureVM ``` @@ -132,7 +133,7 @@ Accept wildcard characters: False ``` ### -WhatIf -Shows what would happen if the cmdlet runs. +Shows what would happen if the cmdlet runs. ```yaml Type: System.Management.Automation.SwitchParameter diff --git a/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesAsrProtectableItem.md b/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesAsrProtectableItem.md index 2fa5a3909710..ca4219628a32 100644 --- a/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesAsrProtectableItem.md +++ b/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesAsrProtectableItem.md @@ -27,8 +27,8 @@ The **New-AzRecoveryServicesAsrProtectableItem** adds a new protectable item to Add(Discover) a physical server to the list of protectable items. (autogenerated) + ```powershell - New-AzRecoveryServicesAsrProtectableItem -FriendlyName XXXXXXXXXX -IPAddress $ipaddresss -OSType Windows -ProtectionContainer $pc ``` diff --git a/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesAsrvCenter.md b/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesAsrvCenter.md index 7c1747cd47bd..9185914f16ff 100644 --- a/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesAsrvCenter.md +++ b/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesAsrvCenter.md @@ -37,7 +37,8 @@ Adds a vCenter server to discover protectable items from. Adds a vCenter server to discover protectable items from. (autogenerated) -```powershell + +```powershell New-AzRecoveryServicesAsrvCenter -Account $fabric.FabricSpecificDetails.RunAsAccounts[0] -Fabric $Fabric -IpOrHostName -Name 'V2VM' -Port ``` diff --git a/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesBackupProtectionPolicy.md b/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesBackupProtectionPolicy.md index a54ccc285da7..999eddc6a46c 100644 --- a/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesBackupProtectionPolicy.md +++ b/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesBackupProtectionPolicy.md @@ -33,11 +33,11 @@ Set the vault context by using the Set-AzRecoveryServicesVaultContext cmdlet bef ### Example 1: Create a Backup protection policy ```powershell -$SchPol = Get-AzRecoveryServicesBackupSchedulePolicyObject -WorkloadType "AzureVM" +$SchPol = Get-AzRecoveryServicesBackupSchedulePolicyObject -WorkloadType "AzureVM" $SchPol.ScheduleRunTimes.Clear() $Dt = Get-Date $SchPol.ScheduleRunTimes.Add($Dt.ToUniversalTime()) -$RetPol = Get-AzRecoveryServicesBackupRetentionPolicyObject -WorkloadType "AzureVM" +$RetPol = Get-AzRecoveryServicesBackupRetentionPolicyObject -WorkloadType "AzureVM" $RetPol.DailySchedule.DurationCountInDays = 365 New-AzRecoveryServicesBackupProtectionPolicy -Name "NewPolicy" -WorkloadType AzureVM -RetentionPolicy $RetPol -SchedulePolicy $SchPol ``` @@ -66,7 +66,7 @@ New-AzRecoveryServicesBackupProtectionPolicy -Name "NewPolicy" -WorkloadType Azu The first command gets a base hourly **SchedulePolicyObject**, and then stores it in the $schedulePolicy variable. The second and third command fetches the timezone and updates the timezone in the $schedulePolicy. -The fourth and fifth command initializes the schedule window start time and updates the $schedulePolicy. Please note the start time must be in UTC even if the timezone is not UTC. +The fourth and fifth command initializes the schedule window start time and updates the $schedulePolicy. Please note the start time must be in UTC even if the timezone is not UTC. The sixth and seventh command updates the interval (in hours) after which the backup will be retriggered on the same day, duration (in hours) for which the schedule will run. The eighth command gets a base hourly **RetentionPolicy** object, and then stores it in the $retentionPolicy variable. The ninth command sets the retention duration policy to 10 days. @@ -76,7 +76,8 @@ The final command creates a **BackupProtectionPolicy** object based on the sched Creates a Backup protection policy. (autogenerated) -```powershell + +```powershell New-AzRecoveryServicesBackupProtectionPolicy -Name 'NewPolicy' -RetentionPolicy $RetPol -SchedulePolicy $SchPol -VaultId $vault.ID -WorkloadType AzureVM ``` @@ -84,7 +85,7 @@ New-AzRecoveryServicesBackupProtectionPolicy -Name 'NewPolicy' -RetentionPolicy ### -BackupManagementType The class of resources being protected. The acceptable values for this parameter are: -- AzureVM +- AzureVM - AzureStorage - AzureWorkload @@ -180,7 +181,7 @@ Accept wildcard characters: False ### -WorkloadType Workload type of the resource. The acceptable values for this parameter are: -- AzureVM +- AzureVM - AzureFiles - MSSQL diff --git a/src/RecoveryServices/RecoveryServices/help/Remove-AzRecoveryServicesAsrvCenter.md b/src/RecoveryServices/RecoveryServices/help/Remove-AzRecoveryServicesAsrvCenter.md index 826587d6550c..d21abe5b0bcb 100644 --- a/src/RecoveryServices/RecoveryServices/help/Remove-AzRecoveryServicesAsrvCenter.md +++ b/src/RecoveryServices/RecoveryServices/help/Remove-AzRecoveryServicesAsrvCenter.md @@ -46,7 +46,8 @@ Removes the vCenter server from the ASR fabric. Removes the vCenter server from the ASR fabric and stops discovery of virtual machines from the vCenter server. (autogenerated) -```powershell + +```powershell Remove-AzRecoveryServicesAsrvCenter -Fabric $Fabric -Name 'V2VM' ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Remove-AzRecoveryServicesBackupProtectionPolicy.md b/src/RecoveryServices/RecoveryServices/help/Remove-AzRecoveryServicesBackupProtectionPolicy.md index f7737c7c7902..2b2409108e40 100644 --- a/src/RecoveryServices/RecoveryServices/help/Remove-AzRecoveryServicesBackupProtectionPolicy.md +++ b/src/RecoveryServices/RecoveryServices/help/Remove-AzRecoveryServicesBackupProtectionPolicy.md @@ -47,8 +47,8 @@ The second command removes the policy object in $Pol. Deletes a Backup protection policy from a vault. (autogenerated) + ```powershell - Remove-AzRecoveryServicesBackupProtectionPolicy -Name 'V2VM' -VaultId $vault.ID ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesAsrAlertSetting.md b/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesAsrAlertSetting.md index 82423d10e7a2..4e9ced09cd90 100644 --- a/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesAsrAlertSetting.md +++ b/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesAsrAlertSetting.md @@ -71,7 +71,8 @@ Set notification for custom email address(s) and for subscription owner. Configure Azure Site Recovery notification settings (email notification) for the vault. (autogenerated) -```powershell + +```powershell Set-AzRecoveryServicesAsrAlertSetting -CustomEmailAddress 'abcxxxx@xxxx.com' -DisableEmailToSubscriptionOwner ``` @@ -153,7 +154,7 @@ Accept wildcard characters: False ``` ### -LocaleID -Email language of alert /notification to user(supported culture codes from microsoft). +Email language of alert /notification to user(supported culture codes from microsoft). ```yaml Type: System.String diff --git a/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrCancelFailoverJob.md b/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrCancelFailoverJob.md index 099f2d50a6b8..10c45960314f 100644 --- a/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrCancelFailoverJob.md +++ b/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrCancelFailoverJob.md @@ -40,8 +40,8 @@ Starts the cancel failover for the specified recovery plan and returns the ASR j Starts the cancel failover action for a Site Recovery object. (autogenerated) + ```powershell - Start-AzRecoveryServicesAsrCancelFailoverJob -ReplicationProtectedItem $ReplicationProtectedItem ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrCommitFailoverJob.md b/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrCommitFailoverJob.md index 3c3214a8dbef..4c0d723463d6 100644 --- a/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrCommitFailoverJob.md +++ b/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrCommitFailoverJob.md @@ -40,7 +40,8 @@ Starts the commit failover for the specified recovery plan and returns the ASR j Starts the commit failover action for a Site Recovery object. (autogenerated) -```powershell + +```powershell Start-AzRecoveryServicesAsrCommitFailoverJob -ReplicationProtectedItem $ReplicationProtectedItem ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrTestFailoverCleanupJob.md b/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrTestFailoverCleanupJob.md index 1952708ce822..09d95c9f4534 100644 --- a/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrTestFailoverCleanupJob.md +++ b/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrTestFailoverCleanupJob.md @@ -47,7 +47,8 @@ Start-AzRecoveryServicesAsrTestFailoverCleanupJob -RecoveryPlan $recoveryPlan -C Starts the test failover cleanup operation. (autogenerated) -```powershell + +```powershell Start-AzRecoveryServicesAsrTestFailoverCleanupJob -Comment 'testing done' -ReplicationProtectedItem $rpi ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrTestFailoverJob.md b/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrTestFailoverJob.md index e0dec9311010..f7ec3bdc0304 100644 --- a/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrTestFailoverJob.md +++ b/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrTestFailoverJob.md @@ -77,8 +77,8 @@ Starts the test failover operation for the recovery plan with the specified para Starts a test failover operation. (autogenerated) + ```powershell - Start-AzRecoveryServicesAsrTestFailoverJob -AzureVMNetworkId -Direction PrimaryToRecovery -RecoveryPlan $RP ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrUnplannedFailoverJob.md b/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrUnplannedFailoverJob.md index 65f03400e49d..0cbebf5466f8 100644 --- a/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrUnplannedFailoverJob.md +++ b/src/RecoveryServices/RecoveryServices/help/Start-AzRecoveryServicesAsrUnplannedFailoverJob.md @@ -53,8 +53,8 @@ Starts the unplanned failover operation for the recovery plan with the specified Starts an unplanned failover operation. (autogenerated) + ```powershell - Start-AzRecoveryServicesAsrUnplannedFailoverJob -Direction PrimaryToRecovery -RecoveryPoint $rp[0] -ReplicationProtectedItem $ReplicationProtectedItem ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Undo-AzRecoveryServicesBackupItemDeletion.md b/src/RecoveryServices/RecoveryServices/help/Undo-AzRecoveryServicesBackupItemDeletion.md index 56d19b27d238..35bffe50ddb6 100644 --- a/src/RecoveryServices/RecoveryServices/help/Undo-AzRecoveryServicesBackupItemDeletion.md +++ b/src/RecoveryServices/RecoveryServices/help/Undo-AzRecoveryServicesBackupItemDeletion.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Undo-AzRecoveryServicesBackupItemDeletion ## SYNOPSIS -If a backup item is deleted and present in a soft-deleted state, this command brings the item back to a state where the data is retained forever +If a backup item is deleted and present in a soft-deleted state, this command brings the item back to a state where the data is retained forever ## SYNTAX @@ -25,7 +25,7 @@ The Undo-AzRecoveryServicesBackupItemDeletion cmdlet reverts a soft-deleted item ### Example 1 ```powershell $Cont = Get-AzRecoveryServicesBackupContainer -ContainerType AzureVM -$PI = Get-AzRecoveryServicesBackupItem -Container $Cont[0] -WorkloadType AzureVM +$PI = Get-AzRecoveryServicesBackupItem -Container $Cont[0] -WorkloadType AzureVM Disable-AzRecoveryServicesBackupProtection -Item $PI[0] -RemoveRecoveryPoints $PI = Get-AzRecoveryServicesBackupItem -Container $Cont[0] -WorkloadType AzureVM | Where-Object {$_.DeleteState -eq "ToBeDeleted"} Undo-AzRecoveryServicesBackupItemDeletion -Item $PI[0] @@ -41,8 +41,8 @@ The last command brings the softdeleted VM to a state where the protection is st Rehydrates a soft-deleted Item. (autogenerated) + ```powershell - Undo-AzRecoveryServicesBackupItemDeletion -Item $PI[0] -VaultId $vault.ID ``` diff --git a/src/RecoveryServices/RecoveryServices/help/Unregister-AzRecoveryServicesBackupContainer.md b/src/RecoveryServices/RecoveryServices/help/Unregister-AzRecoveryServicesBackupContainer.md index aa7cbcdbca12..81d61d8f5bc1 100644 --- a/src/RecoveryServices/RecoveryServices/help/Unregister-AzRecoveryServicesBackupContainer.md +++ b/src/RecoveryServices/RecoveryServices/help/Unregister-AzRecoveryServicesBackupContainer.md @@ -40,8 +40,8 @@ The second command unregisters the specified Windows Server from the Azure Backu Unregisters a Windows Server or other container from the vault. (autogenerated) + ```powershell - Unregister-AzRecoveryServicesBackupContainer -Container $Cont -VaultId $vault.ID ``` @@ -139,7 +139,7 @@ Accept wildcard characters: False ``` ### -WhatIf -Shows what would happen if the cmdlet runs. +Shows what would happen if the cmdlet runs. ```yaml Type: System.Management.Automation.SwitchParameter diff --git a/src/RecoveryServices/RecoveryServices/help/Unregister-AzRecoveryServicesBackupManagementServer.md b/src/RecoveryServices/RecoveryServices/help/Unregister-AzRecoveryServicesBackupManagementServer.md index 52003c8a6f40..37fe3c656a2a 100644 --- a/src/RecoveryServices/RecoveryServices/help/Unregister-AzRecoveryServicesBackupManagementServer.md +++ b/src/RecoveryServices/RecoveryServices/help/Unregister-AzRecoveryServicesBackupManagementServer.md @@ -40,8 +40,8 @@ The second command unregisters the SCDPM server from the vault. Unregisters a SCDPM server or Backup server from the vault. (autogenerated) + ```powershell - Unregister-AzRecoveryServicesBackupManagementServer -AzureRmBackupManagementServer -VaultId $vault.ID ``` @@ -123,7 +123,7 @@ Accept wildcard characters: False ``` ### -WhatIf -Shows what would happen if the cmdlet runs. +Shows what would happen if the cmdlet runs. ```yaml Type: System.Management.Automation.SwitchParameter diff --git a/src/ServiceBus/ServiceBus/help/New-AzServiceBusQueue.md b/src/ServiceBus/ServiceBus/help/New-AzServiceBusQueue.md index e86f44060ab3..2c0ca10ee7a0 100644 --- a/src/ServiceBus/ServiceBus/help/New-AzServiceBusQueue.md +++ b/src/ServiceBus/ServiceBus/help/New-AzServiceBusQueue.md @@ -65,7 +65,8 @@ Creates a new Service Bus queue `SB-Queue_example1` in the specified Service Bus Creates a Service Bus queue in the specified Service Bus namespace. (autogenerated) -```powershell + +```powershell New-AzServiceBusQueue -EnablePartitioning $true -MaxSizeInMegabytes -Name SB-Queue_example1 -Namespace SB-Example1 -ResourceGroupName Default-ServiceBus-WestUS ``` diff --git a/src/ServiceBus/ServiceBus/help/New-AzServiceBusTopic.md b/src/ServiceBus/ServiceBus/help/New-AzServiceBusTopic.md index 41088173eb48..67c4528ed210 100644 --- a/src/ServiceBus/ServiceBus/help/New-AzServiceBusTopic.md +++ b/src/ServiceBus/ServiceBus/help/New-AzServiceBusTopic.md @@ -59,7 +59,8 @@ Creates a new Service Bus topic `SB-Topic_exampl1` in the specified Service Bus Creates a new Service Bus topic in the specified Service Bus namespace. (autogenerated) -```powershell + +```powershell New-AzServiceBusTopic -EnablePartitioning $true -MaxSizeInMegabytes -Name SB-Topic_exampl1 -Namespace SB-Example1 -ResourceGroupName Default-ServiceBus-WestUS ``` @@ -158,7 +159,7 @@ Accept wildcard characters: False ``` ### -EnablePartitioning -Specifies whether to enable the topic to be partitioned across multiple message brokers. +Specifies whether to enable the topic to be partitioned across multiple message brokers. ```yaml Type: System.Nullable`1[System.Boolean] diff --git a/src/Sql/Sql/help/Enable-AzSqlInstanceAdvancedDataSecurity.md b/src/Sql/Sql/help/Enable-AzSqlInstanceAdvancedDataSecurity.md index 21a8e54fce18..a569849354e0 100644 --- a/src/Sql/Sql/help/Enable-AzSqlInstanceAdvancedDataSecurity.md +++ b/src/Sql/Sql/help/Enable-AzSqlInstanceAdvancedDataSecurity.md @@ -55,8 +55,8 @@ IsEnabled : True Enables Advanced Data Security on a managed instance. (autogenerated) + ```powershell - Enable-AzSqlInstanceAdvancedDataSecurity -DoNotConfigureVulnerabilityAssessment -InstanceName 'ContosoManagedInstanceName' -ResourceGroupName MyResourceGroup ``` diff --git a/src/Sql/Sql/help/Enable-AzSqlServerAdvancedDataSecurity.md b/src/Sql/Sql/help/Enable-AzSqlServerAdvancedDataSecurity.md index 907b5ce51864..19d0a9b9b2c0 100644 --- a/src/Sql/Sql/help/Enable-AzSqlServerAdvancedDataSecurity.md +++ b/src/Sql/Sql/help/Enable-AzSqlServerAdvancedDataSecurity.md @@ -55,8 +55,8 @@ IsEnabled : True Enables Advanced Data Security on a server. (autogenerated) + ```powershell - Enable-AzSqlServerAdvancedDataSecurity -DoNotConfigureVulnerabilityAssessment -ResourceGroupName MyResourceGroup -ServerName s1 ``` diff --git a/src/Sql/Sql/help/Get-AzSqlDatabaseGeoBackupPolicy.md b/src/Sql/Sql/help/Get-AzSqlDatabaseGeoBackupPolicy.md index 38898fe15d37..5eaa35cdce6d 100644 --- a/src/Sql/Sql/help/Get-AzSqlDatabaseGeoBackupPolicy.md +++ b/src/Sql/Sql/help/Get-AzSqlDatabaseGeoBackupPolicy.md @@ -28,8 +28,8 @@ This is an Azure Backup resource that is used to define backup storage policy. Gets a database geo backup policy. (autogenerated) + ```powershell - Get-AzSqlDatabaseGeoBackupPolicy -DatabaseName db1 -ResourceGroupName MyResourceGroup -ServerName s1 ``` diff --git a/src/Sql/Sql/help/Get-AzSqlDatabaseReplicationLink.md b/src/Sql/Sql/help/Get-AzSqlDatabaseReplicationLink.md index 920874f00d7a..9c0d58ad7b50 100644 --- a/src/Sql/Sql/help/Get-AzSqlDatabaseReplicationLink.md +++ b/src/Sql/Sql/help/Get-AzSqlDatabaseReplicationLink.md @@ -29,8 +29,8 @@ It gets all geo-replication links between the specified Azure SQL Database and a Gets the geo-replication links between an Azure SQL Database and a resource group or SQL Server. (autogenerated) + ```powershell - Get-AzSqlDatabaseReplicationLink -DatabaseName db1 -PartnerResourceGroupName rg2 -ResourceGroupName MyResourceGroup -ServerName s1 ``` diff --git a/src/Sql/Sql/help/Get-AzSqlElasticJob.md b/src/Sql/Sql/help/Get-AzSqlElasticJob.md index e1beabd4d327..427da3acc97e 100644 --- a/src/Sql/Sql/help/Get-AzSqlElasticJob.md +++ b/src/Sql/Sql/help/Get-AzSqlElasticJob.md @@ -53,8 +53,8 @@ Gets a job Gets one or more jobs. (autogenerated) + ```powershell - Get-AzSqlElasticJob -AgentName agent -Name job1 -ResourceGroupName rg -ServerName elasticjobserver ``` diff --git a/src/Sql/Sql/help/Get-AzSqlElasticJobExecution.md b/src/Sql/Sql/help/Get-AzSqlElasticJobExecution.md index 89dc9a60b659..da21dc9957f9 100644 --- a/src/Sql/Sql/help/Get-AzSqlElasticJobExecution.md +++ b/src/Sql/Sql/help/Get-AzSqlElasticJobExecution.md @@ -89,8 +89,8 @@ Gets one or more job executions Gets one or more job executions. (autogenerated) + ```powershell - Get-AzSqlElasticJobExecution -JobExecutionId 00000000-0000-0000-0000-000000000000 -JobName job1 ``` diff --git a/src/Sql/Sql/help/Get-AzSqlSyncAgentLinkedDatabase.md b/src/Sql/Sql/help/Get-AzSqlSyncAgentLinkedDatabase.md index ae21c8900ada..cd73dbe822a1 100644 --- a/src/Sql/Sql/help/Get-AzSqlSyncAgentLinkedDatabase.md +++ b/src/Sql/Sql/help/Get-AzSqlSyncAgentLinkedDatabase.md @@ -26,8 +26,8 @@ The **Get-AzSqlSyncAgentLinkedDatabase** cmdlet returns information about SQL Se The following example returns the linked SQL Server databases linked by an Azure SQL sync agent. + ```powershell - Get-AzSqlSyncAgentLinkedDatabase -ResourceGroupName MyResourceGroup -ServerName s1 -SyncAgentName 'SyncAgent01' ``` diff --git a/src/Sql/Sql/help/New-AzSqlDatabaseCopy.md b/src/Sql/Sql/help/New-AzSqlDatabaseCopy.md index 02c6d6a07f58..fbe6ea91807b 100644 --- a/src/Sql/Sql/help/New-AzSqlDatabaseCopy.md +++ b/src/Sql/Sql/help/New-AzSqlDatabaseCopy.md @@ -44,8 +44,8 @@ This cmdlet is also supported by the SQL Server Stretch Database service on Azur Creates a copy of a SQL Database that uses the snapshot at the current time. (autogenerated) + ```powershell - New-AzSqlDatabaseCopy -CopyDatabaseName -CopyResourceGroupName -CopyServerName -DatabaseName db1 -ResourceGroupName MyResourceGroup -ServerName s1 ``` diff --git a/src/Sql/Sql/help/New-AzSqlDatabaseInstanceFailoverGroup.md b/src/Sql/Sql/help/New-AzSqlDatabaseInstanceFailoverGroup.md index add24337a124..99e6f443b584 100644 --- a/src/Sql/Sql/help/New-AzSqlDatabaseInstanceFailoverGroup.md +++ b/src/Sql/Sql/help/New-AzSqlDatabaseInstanceFailoverGroup.md @@ -68,7 +68,7 @@ PartnerManagedInstanceName : managedInstance2 ReplicationRole : Primary ReplicationState : CATCH_UP ReadWriteFailoverPolicy : Manual -FailoverWithDataLossGracePeriodHours : +FailoverWithDataLossGracePeriodHours : ReadOnlyFailoverPolicy : Disabled Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/rg/providers/Microsoft.Sql/locations/eastus/instanceFailoverGroups/fg ``` @@ -79,8 +79,8 @@ This command creates a new Instance Failover Group with failover policy 'Manual' This command creates a new Azure SQL Database Instance Failover Group. (autogenerated) + ```powershell - New-AzSqlDatabaseInstanceFailoverGroup -FailoverPolicy Automatic -GracePeriodWithDataLossHours 1 -Location location -Name fgName -PartnerManagedInstanceName $partnerManagedInstance.Name -PartnerRegion $partnerRegion -PartnerResourceGroupName rg2 -PrimaryManagedInstanceName $managedInstance.Name -ResourceGroupName rg ``` diff --git a/src/Sql/Sql/help/New-AzSqlElasticJob.md b/src/Sql/Sql/help/New-AzSqlElasticJob.md index 6322551c5a02..aa21388f8b33 100644 --- a/src/Sql/Sql/help/New-AzSqlElasticJob.md +++ b/src/Sql/Sql/help/New-AzSqlElasticJob.md @@ -97,8 +97,8 @@ Creates a new job Creates a new job. (autogenerated) + ```powershell - New-AzSqlElasticJob -Name job1 -RunOnce ``` diff --git a/src/Sql/Sql/help/New-AzSqlElasticPool.md b/src/Sql/Sql/help/New-AzSqlElasticPool.md index efd9379a25db..a936b64869a1 100644 --- a/src/Sql/Sql/help/New-AzSqlElasticPool.md +++ b/src/Sql/Sql/help/New-AzSqlElasticPool.md @@ -99,8 +99,8 @@ in. The command specifies the vCore property values for the pool and the databas Creates an elastic database pool for a SQL Database. (autogenerated) + ```powershell - New-AzSqlElasticPool -ComputeGeneration Gen5 -Edition 'GeneralPurpose' -ElasticPoolName 'ElasticPool01' -ResourceGroupName 'ResourceGroup01' -ServerName 'Server01' -StorageMB 2097152 -VCore 2 ``` diff --git a/src/Sql/Sql/help/Remove-AzSqlElasticJob.md b/src/Sql/Sql/help/Remove-AzSqlElasticJob.md index 9a7f41f6ddc1..51b18ca770c5 100644 --- a/src/Sql/Sql/help/Remove-AzSqlElasticJob.md +++ b/src/Sql/Sql/help/Remove-AzSqlElasticJob.md @@ -53,8 +53,8 @@ Removes a job Removes a job. (autogenerated) + ```powershell - Remove-AzSqlElasticJob -AgentName agent -Name job1 -ResourceGroupName MyResourceGroup -ServerName s1 ``` diff --git a/src/Sql/Sql/help/Remove-AzSqlElasticJobStep.md b/src/Sql/Sql/help/Remove-AzSqlElasticJobStep.md index 945a4e294c44..e01313c5e016 100644 --- a/src/Sql/Sql/help/Remove-AzSqlElasticJobStep.md +++ b/src/Sql/Sql/help/Remove-AzSqlElasticJobStep.md @@ -52,8 +52,8 @@ Removes a job step from a job ### Example 2 + ```powershell - Remove-AzSqlElasticJobStep -AgentName agent -JobName job1 -Name step1 -ResourceGroupName MyResourceGroup -ServerName s1 ``` diff --git a/src/Sql/Sql/help/Remove-AzSqlElasticJobTargetGroup.md b/src/Sql/Sql/help/Remove-AzSqlElasticJobTargetGroup.md index a1683de2acf7..b1889595f13d 100644 --- a/src/Sql/Sql/help/Remove-AzSqlElasticJobTargetGroup.md +++ b/src/Sql/Sql/help/Remove-AzSqlElasticJobTargetGroup.md @@ -37,7 +37,7 @@ The Remove-AzSqlElasticJobTargetGroup cmdlet removes a target group and it's tar ### Example 1 ```powershell -$agent = Get-AzSqlElasticJobAgent -ResourceGroupName rg -ServerName elasticjobserver -Name agent +$agent = Get-AzSqlElasticJobAgent -ResourceGroupName rg -ServerName elasticjobserver -Name agent $agent | Remove-AzSqlElasticJobTargetGroup -Name tg1 ``` @@ -53,8 +53,8 @@ Removes a target group and it's targets Removes the target group. (autogenerated) + ```powershell - Remove-AzSqlElasticJobTargetGroup -AgentName agent -Name tg1 -ResourceGroupName MyResourceGroup -ServerName s1 ``` diff --git a/src/Sql/Sql/help/Set-AzSqlDatabaseDataMaskingRule.md b/src/Sql/Sql/help/Set-AzSqlDatabaseDataMaskingRule.md index 271507544d01..6cf36c43e110 100644 --- a/src/Sql/Sql/help/Set-AzSqlDatabaseDataMaskingRule.md +++ b/src/Sql/Sql/help/Set-AzSqlDatabaseDataMaskingRule.md @@ -47,8 +47,8 @@ The new range is between 23 and 42. Sets the properties of a data masking rule for a database. (autogenerated) + ```powershell - Set-AzSqlDatabaseDataMaskingRule -ColumnName 'column1' -DatabaseName $params.databaseName -MaskingFunction NoMasking -NumberFrom 5 -NumberTo 14 -PrefixSize -ReplacementString -ResourceGroupName $params.rgname -SchemaName 'dbo' -ServerName $params.serverName -SuffixSize -TableName 'table1' ``` diff --git a/src/Sql/Sql/help/Set-AzSqlElasticJob.md b/src/Sql/Sql/help/Set-AzSqlElasticJob.md index 4b455dcec0ec..4063b576b1fa 100644 --- a/src/Sql/Sql/help/Set-AzSqlElasticJob.md +++ b/src/Sql/Sql/help/Set-AzSqlElasticJob.md @@ -94,8 +94,8 @@ Updates a job ### Example 2 + ```powershell - Set-AzSqlElasticJob -AgentName agent -Enable -IntervalCount 1 -IntervalType Hour -Name step1 -ResourceGroupName MyResourceGroup -ServerName s1 -StartTime '9/16/2016 11:31:12' ``` diff --git a/src/Sql/Sql/help/Set-AzSqlElasticJobStep.md b/src/Sql/Sql/help/Set-AzSqlElasticJobStep.md index f95bb96fbe7a..fdd3c655960e 100644 --- a/src/Sql/Sql/help/Set-AzSqlElasticJobStep.md +++ b/src/Sql/Sql/help/Set-AzSqlElasticJobStep.md @@ -135,8 +135,8 @@ Updates a job step from a job ### Example 3 + ```powershell - Set-AzSqlElasticJobStep -AgentName agent -CommandText 'SELECT 2' -JobName job1 -Name step1 -ResourceGroupName MyResourceGroup -ServerName s1 ``` diff --git a/src/Sql/Sql/help/Set-AzSqlElasticPool.md b/src/Sql/Sql/help/Set-AzSqlElasticPool.md index c2b16cc64374..2ef037116a08 100644 --- a/src/Sql/Sql/help/Set-AzSqlElasticPool.md +++ b/src/Sql/Sql/help/Set-AzSqlElasticPool.md @@ -89,8 +89,8 @@ storage for an elastic pool to 2 TB. Modifies properties of an elastic database pool in Azure SQL Database. (autogenerated) + ```powershell - Set-AzSqlElasticPool -Dtu 1000 -Edition 'GeneralPurpose' -ElasticPoolName 'ElasticPool01' -ResourceGroupName 'ResourceGroup01' -ServerName 'Server01' ``` diff --git a/src/Sql/Sql/help/Set-AzSqlInstanceDatabaseBackupLongTermRetentionPolicy.md b/src/Sql/Sql/help/Set-AzSqlInstanceDatabaseBackupLongTermRetentionPolicy.md index 2aff024a607e..684d7e3485c7 100644 --- a/src/Sql/Sql/help/Set-AzSqlInstanceDatabaseBackupLongTermRetentionPolicy.md +++ b/src/Sql/Sql/help/Set-AzSqlInstanceDatabaseBackupLongTermRetentionPolicy.md @@ -86,8 +86,8 @@ This command removes the long term retention policy from the database. The Set-AzSqlInstanceDatabaseLongTermRetentionBackup cmdlet sets a managed database's long term retention policy. (autogenerated) + ```powershell - Set-AzSqlInstanceDatabaseBackupLongTermRetentionPolicy -DatabaseName target1 -InstanceName testInstance -MonthlyRetention P24W -ResourceGroupName testResourceGroup -WeekOfYear 26 -WeeklyRetention 'P1W' -YearlyRetention P10Y ``` diff --git a/src/Sql/Sql/help/Set-AzSqlServer.md b/src/Sql/Sql/help/Set-AzSqlServer.md index 83ce2c9c323d..39662bb468d9 100644 --- a/src/Sql/Sql/help/Set-AzSqlServer.md +++ b/src/Sql/Sql/help/Set-AzSqlServer.md @@ -53,8 +53,8 @@ This command resets the administrator password on the AzureSQL Server named serv Modifies properties of a SQL Database server. (autogenerated) + ```powershell - Set-AzSqlServer -AssignIdentity -ResourceGroupName 'ResourceGroup01' -ServerName 'Server01' ``` diff --git a/src/Sql/Sql/help/Stop-AzSqlElasticJob.md b/src/Sql/Sql/help/Stop-AzSqlElasticJob.md index 6bac1606fed4..a9ede17c4e9a 100644 --- a/src/Sql/Sql/help/Stop-AzSqlElasticJob.md +++ b/src/Sql/Sql/help/Stop-AzSqlElasticJob.md @@ -53,8 +53,8 @@ Stops a running job execution and returns it's current status ### Example 2 + ```powershell - Stop-AzSqlElasticJob -AgentName agent -JobExecutionId 00000000-0000-0000-0000-000000000000 -JobName job1 -ResourceGroupName MyResourceGroup -ServerName s1 ``` diff --git a/src/Sql/Sql/help/Update-AzSqlServerAdvancedThreatProtectionSetting.md b/src/Sql/Sql/help/Update-AzSqlServerAdvancedThreatProtectionSetting.md index 4d2749e6046d..acad28e08ab2 100644 --- a/src/Sql/Sql/help/Update-AzSqlServerAdvancedThreatProtectionSetting.md +++ b/src/Sql/Sql/help/Update-AzSqlServerAdvancedThreatProtectionSetting.md @@ -38,8 +38,8 @@ This command sets the advanced threat protection settings for a server named Ser Sets a advanced threat protection settings on a server. (autogenerated) -```powershell +```powershell Update-AzSqlServerAdvancedThreatProtectionSetting -EmailAdmins $false -ResourceGroupName 'ResourceGroup11' -RetentionInDays -ServerName 'Server01' -StorageAccountName 'mystorageAccount' ``` diff --git a/src/Websites/Websites/help/Edit-AzWebAppBackupConfiguration.md b/src/Websites/Websites/help/Edit-AzWebAppBackupConfiguration.md index 8c6070d11386..9aa0bf8656f8 100644 --- a/src/Websites/Websites/help/Edit-AzWebAppBackupConfiguration.md +++ b/src/Websites/Websites/help/Edit-AzWebAppBackupConfiguration.md @@ -37,8 +37,8 @@ The **Edit-AzWebAppBackupConfiguration** cmdlet edits the current configuration The Edit-AzWebAppBackupConfiguration cmdlet edits the current configuration backup for an Azure Web App. (autogenerated) + ```powershell - Edit-AzWebAppBackupConfiguration -FrequencyInterval -FrequencyUnit -KeepAtLeastOneBackup -Name IpRule -ResourceGroupName MyResourceGroup -RetentionPeriodInDays -StartTime 2016-11-30T22:00:00Z -StorageAccountUrl 'https://storageaccount.file.core.windows.net' ``` diff --git a/src/Websites/Websites/help/New-AzWebAppBackup.md b/src/Websites/Websites/help/New-AzWebAppBackup.md index 2475dffb9340..a007e86f56ee 100644 --- a/src/Websites/Websites/help/New-AzWebAppBackup.md +++ b/src/Websites/Websites/help/New-AzWebAppBackup.md @@ -41,8 +41,8 @@ Creates a backup of the specified app ContosoWebApp that is within resource grou The New-AzWebAppBackup cmdlet creates an Azure Web App Backup. (autogenerated) + ```powershell - New-AzWebAppBackup -BackupName -Name 'ContosoWebApp' -ResourceGroupName 'Default-Web-WestUS' -StorageAccountUrl 'https://storageaccount.file.core.windows.net' ``` diff --git a/src/Websites/Websites/help/New-AzWebAppDatabaseBackupSetting.md b/src/Websites/Websites/help/New-AzWebAppDatabaseBackupSetting.md index a574ec0e54e5..b22d539f2ffd 100644 --- a/src/Websites/Websites/help/New-AzWebAppDatabaseBackupSetting.md +++ b/src/Websites/Websites/help/New-AzWebAppDatabaseBackupSetting.md @@ -33,8 +33,8 @@ Creates a database backup setting (connection string) of type SqlAzure for the s The New-AzWebAppDatabaseBackupSetting cmdlet creates a new Azure Web App Backup setting. (autogenerated) + ```powershell - New-AzWebAppDatabaseBackupSetting -ConnectionString 'MyConnectionString' -ConnectionStringName -DatabaseType 'SqlAzure' -Name 'ContosoWebApp' ``` diff --git a/src/Websites/Websites/help/New-AzWebAppSSLBinding.md b/src/Websites/Websites/help/New-AzWebAppSSLBinding.md index a6bb38545707..836229678eb9 100644 --- a/src/Websites/Websites/help/New-AzWebAppSSLBinding.md +++ b/src/Websites/Websites/help/New-AzWebAppSSLBinding.md @@ -42,15 +42,15 @@ New-AzWebAppSSLBinding [-WebApp] [-Name] [[-SslState] ```powershell - New-AzWebAppSSLBinding -Name 'www.contoso.com' -ResourceGroupName 'ContosoResourceGroup' -SslState Disabled -Thumbprint 'E3A38EBA60CAA1C162785A2E1C44A15AD450199C3' -WebAppName 'ContosoWebApp' ``` diff --git a/src/Websites/Websites/help/Reset-AzWebAppPublishingProfile.md b/src/Websites/Websites/help/Reset-AzWebAppPublishingProfile.md index 6c4cc5965fd6..02d9519387a4 100644 --- a/src/Websites/Websites/help/Reset-AzWebAppPublishingProfile.md +++ b/src/Websites/Websites/help/Reset-AzWebAppPublishingProfile.md @@ -33,8 +33,8 @@ The **Reset-AzWebAppPublishingProfile** cmdlet resets the publishing profile for The following example resets the publishing profile for the Web App IpRule associated with the resource group MyResourceGroup. + ```powershell - Reset-AzWebAppPublishingProfile -Name IpRule -ResourceGroupName MyResourceGroup ``` diff --git a/src/Websites/Websites/help/Restore-AzWebAppBackup.md b/src/Websites/Websites/help/Restore-AzWebAppBackup.md index 1d8d4cfc29cc..9c2358c9acb1 100644 --- a/src/Websites/Websites/help/Restore-AzWebAppBackup.md +++ b/src/Websites/Websites/help/Restore-AzWebAppBackup.md @@ -43,8 +43,8 @@ Restores a backup of the specified app ContosoWebApp that is within resource gro The Restore-AzWebAppBackup cmdlet restores an Azure Web App Backup. (autogenerated) + ```powershell - Restore-AzWebAppBackup -BlobName 'myBlob' -Name 'ContosoWebApp' -Overwrite -ResourceGroupName 'Default-Web-WestUS' -StorageAccountUrl 'https://storageaccount.file.core.windows.net' ``` diff --git a/src/Websites/Websites/help/Set-AzAppServicePlan.md b/src/Websites/Websites/help/Set-AzAppServicePlan.md index c467169623f3..009ff32f4539 100644 --- a/src/Websites/Websites/help/Set-AzAppServicePlan.md +++ b/src/Websites/Websites/help/Set-AzAppServicePlan.md @@ -36,15 +36,15 @@ The **Set-AzAppServicePlan** cmdlet sets an Azure App Service plan. Set-AzAppServicePlan -ResourceGroupName "Default-Web-WestUS" -Name "ContosoASP" -PerSiteScaling $true ``` -This command sets the PerSiteScaling option to true on the App Service plan named ContosoASP +This command sets the PerSiteScaling option to true on the App Service plan named ContosoASP that belongs to the resource group named Default-Web-WestUS. ### Example 2 Sets an Azure App Service plan. (autogenerated) + ```powershell - Set-AzAppServicePlan -Name 'ContosoASP' -ResourceGroupName 'Default-Web-WestUS' -Tier Free -WorkerSize Small ``` diff --git a/src/Websites/Websites/help/Set-AzWebApp.md b/src/Websites/Websites/help/Set-AzWebApp.md index e7109f018fe1..0649f4d437be 100644 --- a/src/Websites/Websites/help/Set-AzWebApp.md +++ b/src/Websites/Websites/help/Set-AzWebApp.md @@ -58,8 +58,8 @@ This command sets HttpLoggingEnabled to true for Web App ContosoWebApp associate Modifies an Azure Web App. (autogenerated) -```powershell +```powershell Set-AzWebApp -AppSettings -Name 'ContosoWebApp' -ResourceGroupName 'Default-Web-WestUS' ``` diff --git a/src/Websites/Websites/help/Set-AzWebAppSlot.md b/src/Websites/Websites/help/Set-AzWebAppSlot.md index 5ce71258d8e8..36e1f61e5ba2 100644 --- a/src/Websites/Websites/help/Set-AzWebAppSlot.md +++ b/src/Websites/Websites/help/Set-AzWebAppSlot.md @@ -65,8 +65,8 @@ This command sets HttpLoggingEnabled to true for Slot Slot001 pertaining to Web Modifies an Azure Web App slot. (autogenerated) + ```powershell - Set-AzWebAppSlot -AppSettings -Name 'ContosoWebApp' -ResourceGroupName 'Default-Web-WestUS' -Slot 'Slot001' ``` diff --git a/src/Websites/Websites/help/Set-AzWebAppSlotConfigName.md b/src/Websites/Websites/help/Set-AzWebAppSlotConfigName.md index 1159d4cff461..a6942be90101 100644 --- a/src/Websites/Websites/help/Set-AzWebAppSlotConfigName.md +++ b/src/Websites/Websites/help/Set-AzWebAppSlotConfigName.md @@ -43,8 +43,8 @@ This command removes all app settings and connection strings for Web App Contoso Set Web App Slot Config names. (autogenerated) + ```powershell - Set-AzWebAppSlotConfigName -AppSettingNames -Name 'ContosoWebApp' -ResourceGroupName 'Default-Web-WestUS' ``` diff --git a/src/Websites/Websites/help/Update-AzWebAppAccessRestrictionConfig.md b/src/Websites/Websites/help/Update-AzWebAppAccessRestrictionConfig.md index b3b900db954b..95b441d9d526 100644 --- a/src/Websites/Websites/help/Update-AzWebAppAccessRestrictionConfig.md +++ b/src/Websites/Websites/help/Update-AzWebAppAccessRestrictionConfig.md @@ -33,8 +33,8 @@ The **Update-AzWebAppAccessRestrictionConfig** cmdlet updates Access Restriction The following example updates a Web App named IpRule that belongs to the resource group MyResourceGroup to use access restriction config of main site on the scm site. + ```powershell - Update-AzWebAppAccessRestrictionConfig -Name IpRule -ResourceGroupName MyResourceGroup -ScmSiteUseMainSiteRestrictionConfig ```