diff --git a/src/DeviceProvisioningServices/DeviceProvisioningServices.Test/ScenarioTests/IotDpsEnrollmentTests.ps1 b/src/DeviceProvisioningServices/DeviceProvisioningServices.Test/ScenarioTests/IotDpsEnrollmentTests.ps1
index ff60699c9ba9..ae93457da13c 100644
--- a/src/DeviceProvisioningServices/DeviceProvisioningServices.Test/ScenarioTests/IotDpsEnrollmentTests.ps1
+++ b/src/DeviceProvisioningServices/DeviceProvisioningServices.Test/ScenarioTests/IotDpsEnrollmentTests.ps1
@@ -78,7 +78,7 @@ function Test-AzIotDpsEnrollmentLifeCycle
Assert-ThrowsContains { Add-AzIoTDeviceProvisioningServiceEnrollment -ResourceGroupName $ResourceGroupName -DpsName $IotDpsName -RegistrationId $symEnroll -AttestationType SymmetricKey -PrimaryKey "123456" } $errorMessage
# Expecting error while creating device enrollment with TPM attestation mechanism
- $errorMessage = "Endorsement key is requried"
+ $errorMessage = "Endorsement key is required"
Assert-ThrowsContains { Add-AzIoTDeviceProvisioningServiceEnrollment -ResourceGroupName $ResourceGroupName -DpsName $IotDpsName -RegistrationId $tpmEnroll -AttestationType Tpm } $errorMessage
# Expecting error while creating device enrollment with X509 attestation mechanism
diff --git a/src/DeviceProvisioningServices/DeviceProvisioningServices/ChangeLog.md b/src/DeviceProvisioningServices/DeviceProvisioningServices/ChangeLog.md
index b5368381190f..144a3059acc2 100644
--- a/src/DeviceProvisioningServices/DeviceProvisioningServices/ChangeLog.md
+++ b/src/DeviceProvisioningServices/DeviceProvisioningServices/ChangeLog.md
@@ -33,7 +33,7 @@
* Removed the outdated deps.json file.
## Version 0.10.0
-* Allowed update of attestation information (e.g. keys, certificates) for exsting device enrollments and enrollment groups
+* Allowed update of attestation information (e.g. keys, certificates) for existing device enrollments and enrollment groups
## Version 0.9.0
* Allow tags in IoT Device Provisioning Service create cmdlet.
diff --git a/src/DeviceProvisioningServices/DeviceProvisioningServices/Cmdlet/IotDpsDataPlane/Enrollment/AddAzIotDeviceProvisioningServiceEnrollment.cs b/src/DeviceProvisioningServices/DeviceProvisioningServices/Cmdlet/IotDpsDataPlane/Enrollment/AddAzIotDeviceProvisioningServiceEnrollment.cs
index 944bc012f975..c5ef69c32b0d 100644
--- a/src/DeviceProvisioningServices/DeviceProvisioningServices/Cmdlet/IotDpsDataPlane/Enrollment/AddAzIotDeviceProvisioningServiceEnrollment.cs
+++ b/src/DeviceProvisioningServices/DeviceProvisioningServices/Cmdlet/IotDpsDataPlane/Enrollment/AddAzIotDeviceProvisioningServiceEnrollment.cs
@@ -200,7 +200,7 @@ public override void ExecuteCmdlet()
}
else
{
- throw new ArgumentException("Endorsement key is requried.");
+ throw new ArgumentException("Endorsement key is required.");
}
break;
case PSAttestationMechanismType.X509:
diff --git a/src/DeviceProvisioningServices/DeviceProvisioningServices/Models/PSIotDpsPropertiesDescription.cs b/src/DeviceProvisioningServices/DeviceProvisioningServices/Models/PSIotDpsPropertiesDescription.cs
index 6bbd41b16785..1de2a19b812b 100644
--- a/src/DeviceProvisioningServices/DeviceProvisioningServices/Models/PSIotDpsPropertiesDescription.cs
+++ b/src/DeviceProvisioningServices/DeviceProvisioningServices/Models/PSIotDpsPropertiesDescription.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Management.DeviceProvisioningServices.Models
using Newtonsoft.Json;
///
- /// the service specific properties of a provisoning service, including
+ /// the service specific properties of a provisioning service, including
/// keys, linked iot hubs, current state, and system generated properties
/// such as hostname and idScope
///
@@ -42,7 +42,7 @@ public partial class PSIotDpsPropertiesDescription
public string ProvisioningState { get; set; }
///
- /// Gets or sets list of IoT hubs assosciated with this provisioning
+ /// Gets or sets list of IoT hubs associated with this provisioning
/// service.
///
[JsonProperty(PropertyName = "iotHubs")]
diff --git a/src/DeviceProvisioningServices/DeviceProvisioningServices/Models/PSIotDpsSkuInfo.cs b/src/DeviceProvisioningServices/DeviceProvisioningServices/Models/PSIotDpsSkuInfo.cs
index e3f7e2e66c17..774908af879b 100644
--- a/src/DeviceProvisioningServices/DeviceProvisioningServices/Models/PSIotDpsSkuInfo.cs
+++ b/src/DeviceProvisioningServices/DeviceProvisioningServices/Models/PSIotDpsSkuInfo.cs
@@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.Management.DeviceProvisioningServices.Models
using Newtonsoft.Json;
///
- /// List of possible provisoning service SKUs.
+ /// List of possible provisioning service SKUs.
///
public partial class PSIotDpsSkuInfo
{
diff --git a/src/DeviceProvisioningServices/DeviceProvisioningServices/Properties/Resources.Designer.cs b/src/DeviceProvisioningServices/DeviceProvisioningServices/Properties/Resources.Designer.cs
index 50497582e4a4..277f550012cf 100644
--- a/src/DeviceProvisioningServices/DeviceProvisioningServices/Properties/Resources.Designer.cs
+++ b/src/DeviceProvisioningServices/DeviceProvisioningServices/Properties/Resources.Designer.cs
@@ -70,7 +70,7 @@ internal static string AddAccessPolicy {
}
///
- /// Looks up a localized string similar to Create /upload an Azure IoT Hub Device Provisioing Service certificate.
+ /// Looks up a localized string similar to Create /upload an Azure IoT Hub Device Provisioning Service certificate.
///
internal static string AddCertificate {
get {
@@ -115,7 +115,7 @@ internal static string AddLinkedHub {
}
///
- /// Looks up a localized string similar to Create new an Azure IoT Hub Device Provisioing Service certificate verification code.
+ /// Looks up a localized string similar to Create new an Azure IoT Hub Device Provisioning Service certificate verification code.
///
internal static string NewCertificateVerificationCode {
get {
diff --git a/src/DeviceProvisioningServices/DeviceProvisioningServices/Properties/Resources.resx b/src/DeviceProvisioningServices/DeviceProvisioningServices/Properties/Resources.resx
index e055a8f0253b..38b0bbe569f1 100644
--- a/src/DeviceProvisioningServices/DeviceProvisioningServices/Properties/Resources.resx
+++ b/src/DeviceProvisioningServices/DeviceProvisioningServices/Properties/Resources.resx
@@ -121,7 +121,7 @@
Create a new shared access policy in an Azure IoT Hub Device Provisioning Service
- Create /upload an Azure IoT Hub Device Provisioing Service certificate
+ Create /upload an Azure IoT Hub Device Provisioning Service certificate
Add a Device Provisioning Service
@@ -136,7 +136,7 @@
Create a linked IoT Hub in an Azure IoT Hub Device Provisioning Service
- Create new an Azure IoT Hub Device Provisioing Service certificate verification code
+ Create new an Azure IoT Hub Device Provisioning Service certificate verification code
Delete a shared access policies in an Azure IoT Hub Device Provisioning Service
diff --git a/src/Dns/Dns/Models/DnsRecordSet.cs b/src/Dns/Dns/Models/DnsRecordSet.cs
index ad665147c58d..f345d9317441 100644
--- a/src/Dns/Dns/Models/DnsRecordSet.cs
+++ b/src/Dns/Dns/Models/DnsRecordSet.cs
@@ -628,7 +628,7 @@ public override object Clone()
public class SoaRecord : DnsRecordBase
{
///
- /// Gets or sets the domain name of the authoritative name server for this SOA record, without a temrinating dot.
+ /// Gets or sets the domain name of the authoritative name server for this SOA record, without a terminating dot.
///
public string Host { get; set; }
diff --git a/src/Dns/Dns/Records/GetAzureDnsRecordSet.cs b/src/Dns/Dns/Records/GetAzureDnsRecordSet.cs
index 0027bef887bc..f2650eb8cd40 100644
--- a/src/Dns/Dns/Records/GetAzureDnsRecordSet.cs
+++ b/src/Dns/Dns/Records/GetAzureDnsRecordSet.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Dns
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DnsRecordSet"), OutputType(typeof(DnsRecordSet))]
public class GetAzureDnsRecordSet : DnsBaseCmdlet
{
- [Parameter(Mandatory = false, ParameterSetName = "Fields", ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the records inthis record set (relative to the name of the zone and without a terminating dot).")]
+ [Parameter(Mandatory = false, ParameterSetName = "Fields", ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the records in this record set (relative to the name of the zone and without a terminating dot).")]
[Parameter(Mandatory = false, ParameterSetName = "Object")]
[ValidateNotNullOrEmpty]
public string Name { get; set; }
diff --git a/src/Dns/Dns/Records/NewAzureDnsRecordSet.cs b/src/Dns/Dns/Records/NewAzureDnsRecordSet.cs
index c5911acdd83d..64baa1aac5e3 100644
--- a/src/Dns/Dns/Records/NewAzureDnsRecordSet.cs
+++ b/src/Dns/Dns/Records/NewAzureDnsRecordSet.cs
@@ -28,7 +28,7 @@ public class NewAzureDnsRecordSet : DnsBaseCmdlet
{
private uint? ttl_value;
- [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the records inthis record set (relative to the name of the zone and without a terminating dot).")]
+ [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the records in this record set (relative to the name of the zone and without a terminating dot).")]
[ValidateNotNullOrEmpty]
public string Name { get; set; }
diff --git a/src/DnsResolver/DnsResolver.Autorest/test/Get-AzDnsForwardingRuleset.Tests.ps1 b/src/DnsResolver/DnsResolver.Autorest/test/Get-AzDnsForwardingRuleset.Tests.ps1
index f38694f036b2..83c902af3d0b 100644
--- a/src/DnsResolver/DnsResolver.Autorest/test/Get-AzDnsForwardingRuleset.Tests.ps1
+++ b/src/DnsResolver/DnsResolver.Autorest/test/Get-AzDnsForwardingRuleset.Tests.ps1
@@ -52,7 +52,7 @@ Describe 'Get-AzDnsForwardingRuleset' {
$dnsForwardingRuleset | Should -BeSuccessfullyCreatedDnsForwardingRuleset
}
- It 'List all DNS forwarding ruleset under the resouce group, expect all DNS forwarding rulesets retrieved' {
+ It 'List all DNS forwarding ruleset under the resource group, expect all DNS forwarding rulesets retrieved' {
# ARRANGE
$dnsResolverName = "psdnsresolvername29";
$outboundEndpointName = "psoutboundendpointname29";
diff --git a/src/DnsResolver/DnsResolver.Autorest/test/utils.ps1 b/src/DnsResolver/DnsResolver.Autorest/test/utils.ps1
index 7ac7a912c009..6e57fb893485 100644
--- a/src/DnsResolver/DnsResolver.Autorest/test/utils.ps1
+++ b/src/DnsResolver/DnsResolver.Autorest/test/utils.ps1
@@ -70,7 +70,7 @@ function setupEnv() {
$null = $env.Add("NRP_SIMULATOR_URI", $nrpSimulatorUri);
}
- # Provison of virtual network and generating DNS Resolver names.
+ # Provision of virtual network and generating DNS Resolver names.
# New-cmdlet uses 0 - 12
# Get-cmdlet uses 13 - 21
# Remove-cmdlet uses 22-32
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/README.md b/src/DynatraceObservability/DynatraceObservability.Autorest/README.md
index 75585e92bba9..47119fefe74c 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/README.md
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/README.md
@@ -86,7 +86,7 @@ directive:
- where:
subject: ^MonitorAccountCredential$
remove: true
- # remove varinat
+ # remove variant
- where:
subject: ^MonitorSSODetail$
variant: ^Get$|^GetViaIdentity$|^GetViaIdentityExpanded$
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Get-AzDynatraceMonitor.md b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Get-AzDynatraceMonitor.md
index cc092f6baafd..f0ec459037f7 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Get-AzDynatraceMonitor.md
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Get-AzDynatraceMonitor.md
@@ -40,7 +40,7 @@ Get a MonitorResource
## EXAMPLES
-### Example 1: List all dynatrace monitors under a subsciption
+### Example 1: List all dynatrace monitors under a subscription
```powershell
Get-AzDynatraceMonitor
```
@@ -51,7 +51,7 @@ Name ProvisioningState Location MonitoringStatus SingleSignOnPropertyA
dyob-pwsh01 Succeeded eastus2euap Enabled {mpliftrlogz20210811outlook.onmicrosoft.com}
```
-This command lists all dynatrace monitors under a subsciption.
+This command lists all dynatrace monitors under a subscription.
### Example 2: List all dynatrace monitors under the resource group
```powershell
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Get-AzDynatraceMonitorVMHostPayload.md b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Get-AzDynatraceMonitorVMHostPayload.md
index 90d63fe2f1b8..d7a026621910 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Get-AzDynatraceMonitorVMHostPayload.md
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Get-AzDynatraceMonitorVMHostPayload.md
@@ -33,7 +33,7 @@ EnvironmentId IngestionKey
ihx78752 dt0c01.C3A5JBXDZ4C3SCZDRBJ3D23I.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```
-This coammnd gets the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.
+This command gets the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.
## PARAMETERS
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/examples/Get-AzDynatraceMonitor.md b/src/DynatraceObservability/DynatraceObservability.Autorest/examples/Get-AzDynatraceMonitor.md
index dec02752ae16..3a0e236616aa 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/examples/Get-AzDynatraceMonitor.md
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/examples/Get-AzDynatraceMonitor.md
@@ -1,4 +1,4 @@
-### Example 1: List all dynatrace monitors under a subsciption
+### Example 1: List all dynatrace monitors under a subscription
```powershell
Get-AzDynatraceMonitor
```
@@ -9,7 +9,7 @@ Name ProvisioningState Location MonitoringStatus SingleSignOnPropertyA
dyob-pwsh01 Succeeded eastus2euap Enabled {mpliftrlogz20210811outlook.onmicrosoft.com}
```
-This command lists all dynatrace monitors under a subsciption.
+This command lists all dynatrace monitors under a subscription.
### Example 2: List all dynatrace monitors under the resource group
```powershell
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/examples/Get-AzDynatraceMonitorVMHostPayload.md b/src/DynatraceObservability/DynatraceObservability.Autorest/examples/Get-AzDynatraceMonitorVMHostPayload.md
index 07f174c433ba..3097f230ce77 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/examples/Get-AzDynatraceMonitorVMHostPayload.md
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/examples/Get-AzDynatraceMonitorVMHostPayload.md
@@ -9,4 +9,4 @@ EnvironmentId IngestionKey
ihx78752 dt0c01.C3A5JBXDZ4C3SCZDRBJ3D23I.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```
-This coammnd gets the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.
\ No newline at end of file
+This command gets the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.
\ No newline at end of file
diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderItem.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderItem.md
index dab6a33f9839..014c6eec5e9f 100644
--- a/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderItem.md
+++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderItem.md
@@ -38,7 +38,7 @@ Gets an order item.
### Example 1: Get orderItem details
```powershell
$orderItem = Get-AzEdgeOrderItem -Name examplePowershell -SubscriptionId "SubscriptionId" -ResourceGroupName "resourceGroupName"
-$ordderItem | Format-List
+$orderItem | Format-List
```
```output
diff --git a/src/EdgeOrder/EdgeOrder.Autorest/examples/Get-AzEdgeOrderItem.md b/src/EdgeOrder/EdgeOrder.Autorest/examples/Get-AzEdgeOrderItem.md
index 9912ffe2d75e..02c9ef7da992 100644
--- a/src/EdgeOrder/EdgeOrder.Autorest/examples/Get-AzEdgeOrderItem.md
+++ b/src/EdgeOrder/EdgeOrder.Autorest/examples/Get-AzEdgeOrderItem.md
@@ -1,7 +1,7 @@
### Example 1: Get orderItem details
```powershell
$orderItem = Get-AzEdgeOrderItem -Name examplePowershell -SubscriptionId "SubscriptionId" -ResourceGroupName "resourceGroupName"
-$ordderItem | Format-List
+$orderItem | Format-List
```
```output
diff --git a/src/EdgeOrder/EdgeOrder.Autorest/test/Update-AzEdgeOrderAddress.Tests.ps1 b/src/EdgeOrder/EdgeOrder.Autorest/test/Update-AzEdgeOrderAddress.Tests.ps1
index d535a7f25071..571edc14a0d9 100644
--- a/src/EdgeOrder/EdgeOrder.Autorest/test/Update-AzEdgeOrderAddress.Tests.ps1
+++ b/src/EdgeOrder/EdgeOrder.Autorest/test/Update-AzEdgeOrderAddress.Tests.ps1
@@ -18,6 +18,6 @@ Describe 'Update-AzEdgeOrderAddress' {
It 'UpdateExpanded' {
$contactDetail = New-AzEdgeOrderContactDetailsObject -ContactName $env.ContactName -EmailList $env.EmailList -Phone $env.Phone
$ShippingDetails = New-AzEdgeOrderShippingAddressObject -StreetAddress1 $env.StreetAddress1 -StateOrProvince $env.StateOrProvince -Country $env.Country -City $env.City -PostalCode $env.PostalCode -AddressType $env.AddressType
- Update-AzEdgeOrderAddress -Name $env.AddressNameTest -ResourceGroupName $env.ResourceGroup -SubscriptionId $env.SubscriptionId -ContactDetail $contactDetail -ShippingAddres $ShippingDetails
+ Update-AzEdgeOrderAddress -Name $env.AddressNameTest -ResourceGroupName $env.ResourceGroup -SubscriptionId $env.SubscriptionId -ContactDetail $contactDetail -ShippingAddress $ShippingDetails
}
}
diff --git a/src/EdgeOrder/EdgeOrder.Autorest/test/Update-AzEdgeOrderItem.Tests.ps1 b/src/EdgeOrder/EdgeOrder.Autorest/test/Update-AzEdgeOrderItem.Tests.ps1
index b659ff64d024..e8158ee425d0 100644
--- a/src/EdgeOrder/EdgeOrder.Autorest/test/Update-AzEdgeOrderItem.Tests.ps1
+++ b/src/EdgeOrder/EdgeOrder.Autorest/test/Update-AzEdgeOrderItem.Tests.ps1
@@ -18,6 +18,6 @@ Describe 'Update-AzEdgeOrderItem' {
It 'UpdateExpanded' {
$contactDetail = New-AzEdgeOrderContactDetailsObject -ContactName $env.ContactName -EmailList $env.EmailList -Phone $env.Phone
$ShippingDetails = New-AzEdgeOrderShippingAddressObject -StreetAddress1 $env.StreetAddress1 -StateOrProvince $env.StateOrProvince -Country $env.Country -City $env.City -PostalCode $env.PostalCode -AddressType $env.AddressType
- Update-AzEdgeOrderItem -Name $env.OrderItemNameTest -ResourceGroupName $env.ResourceGroup -SubscriptionId $env.SubscriptionId -ForwardAddressContactDetail $contactDetail -ForwardAddressShippingAddres $ShippingDetails
+ Update-AzEdgeOrderItem -Name $env.OrderItemNameTest -ResourceGroupName $env.ResourceGroup -SubscriptionId $env.SubscriptionId -ForwardAddressContactDetail $contactDetail -ForwardAddressShippingAddress $ShippingDetails
}
}
diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticVersion.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticVersion.md
index 21eb79f37963..fc8fedf28f47 100644
--- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticVersion.md
+++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticVersion.md
@@ -30,7 +30,7 @@ Get-AzElasticVersion -Region westus2
```output
version
---------
-8.15.2 (Lattest)
+8.15.2 (Latest)
8.14.3
7.17.24
```
diff --git a/src/Elastic/Elastic.Autorest/examples/Get-AzElasticVersion.md b/src/Elastic/Elastic.Autorest/examples/Get-AzElasticVersion.md
index 5fc16eb26b96..6de24d337162 100644
--- a/src/Elastic/Elastic.Autorest/examples/Get-AzElasticVersion.md
+++ b/src/Elastic/Elastic.Autorest/examples/Get-AzElasticVersion.md
@@ -6,7 +6,7 @@ Get-AzElasticVersion -Region westus2
```output
version
---------
-8.15.2 (Lattest)
+8.15.2 (Latest)
8.14.3
7.17.24
```
diff --git a/src/ElasticSan/ElasticSan.Autorest/README.md b/src/ElasticSan/ElasticSan.Autorest/README.md
index 2b7035f8f2b5..f67c6c5f34ba 100644
--- a/src/ElasticSan/ElasticSan.Autorest/README.md
+++ b/src/ElasticSan/ElasticSan.Autorest/README.md
@@ -59,7 +59,7 @@ directive:
model-name: ElasticSan|Volume|VolumeGroup|Snapshot
set:
suppress-format: true
- # Set alias for Name paramaters
+ # Set alias for Name parameters
- where:
subject: ElasticSan
parameter-name: Name
diff --git a/src/ElasticSan/ElasticSan.Autorest/test/Add-AzElasticSanVolumeGroupNetworkRule.Tests.ps1 b/src/ElasticSan/ElasticSan.Autorest/test/Add-AzElasticSanVolumeGroupNetworkRule.Tests.ps1
index 0fd998826a8d..6391b3256ea1 100644
--- a/src/ElasticSan/ElasticSan.Autorest/test/Add-AzElasticSanVolumeGroupNetworkRule.Tests.ps1
+++ b/src/ElasticSan/ElasticSan.Autorest/test/Add-AzElasticSanVolumeGroupNetworkRule.Tests.ps1
@@ -16,7 +16,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Add-AzElasticSanVolumeGroupNe
Describe 'Add-AzElasticSanVolumeGroupNetworkRule' {
It 'NetworkRuleResourceId' {
- # Clear exsiting rules
+ # Clear existing rules
Update-AzElasticSanVolumeGroup -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -Name $env.VolumeGroupName -NetworkAclsVirtualNetworkRule @()
$rules = Add-AzElasticSanVolumeGroupNetworkRule -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -VolumeGroupName $env.VolumeGroupName -NetworkAclsVirtualNetworkResourceId $env.vnetResourceId1,$env.vnetResourceId2
@@ -26,7 +26,7 @@ Describe 'Add-AzElasticSanVolumeGroupNetworkRule' {
It 'NetworkRuleObject' {
$vnetRule1 = New-AzElasticSanVirtualNetworkRuleObject -VirtualNetworkResourceId $env.vnetResourceId1 -Action "Allow"
$vnetRule2 = New-AzElasticSanVirtualNetworkRuleObject -VirtualNetworkResourceId $env.vnetResourceId2 -Action "Allow"
- # Clear exsiting rules
+ # Clear existing rules
Update-AzElasticSanVolumeGroup -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -Name $env.VolumeGroupName -NetworkAclsVirtualNetworkRule @()
$rules = Add-AzElasticSanVolumeGroupNetworkRule -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -VolumeGroupName $env.VolumeGroupName -NetworkAclsVirtualNetworkRule $vnetRule1,$vnetRule2
$rules.Count | Should -Be 2
diff --git a/src/ElasticSan/ElasticSan.Autorest/test/Remove-AzElasticSanVolumeGroupNetworkRule.Tests.ps1 b/src/ElasticSan/ElasticSan.Autorest/test/Remove-AzElasticSanVolumeGroupNetworkRule.Tests.ps1
index 310214022b40..fc4816804178 100644
--- a/src/ElasticSan/ElasticSan.Autorest/test/Remove-AzElasticSanVolumeGroupNetworkRule.Tests.ps1
+++ b/src/ElasticSan/ElasticSan.Autorest/test/Remove-AzElasticSanVolumeGroupNetworkRule.Tests.ps1
@@ -16,7 +16,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzElasticSanVolumeGrou
Describe 'Remove-AzElasticSanVolumeGroupNetworkRule' {
It 'NetworkRuleResourceId' {
- # Clear exsiting rules
+ # Clear existing rules
Update-AzElasticSanVolumeGroup -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -Name $env.VolumeGroupName -NetworkAclsVirtualNetworkRule @()
# Add rules
$rules = Add-AzElasticSanVolumeGroupNetworkRule -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -VolumeGroupName $env.VolumeGroupName -NetworkAclsVirtualNetworkResourceId $env.vnetResourceId1,$env.vnetResourceId2
@@ -29,7 +29,7 @@ Describe 'Remove-AzElasticSanVolumeGroupNetworkRule' {
It 'NetworkRuleObject' {
$vnetRule1 = New-AzElasticSanVirtualNetworkRuleObject -VirtualNetworkResourceId $env.vnetResourceId1 -Action "Allow"
$vnetRule2 = New-AzElasticSanVirtualNetworkRuleObject -VirtualNetworkResourceId $env.vnetResourceId2 -Action "Allow"
- # Clear exsiting rules
+ # Clear existing rules
Update-AzElasticSanVolumeGroup -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -Name $env.VolumeGroupName -NetworkAclsVirtualNetworkRule @()
# Add rules
$rules = Add-AzElasticSanVolumeGroupNetworkRule -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -VolumeGroupName $env.VolumeGroupName -NetworkAclsVirtualNetworkRule $vnetRule1,$vnetRule2