Skip to content

Spelling Fixes #28044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Compute/Compute/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
* Added new parameter `-VirtualMachineScaleSetId` to `Update-AzVm` cmdlet.
* Fixed `New-AzVmss` and `New-Azvm` to use `SharedGalleryImageId` parameter.
* Reduced File Permissions from 0644 to 0600 for SSH Private Key File in `New-AzVm`.
* Removed GuestAttestaion vm extension installation for Vmss and Vm creation cmdlets.
* Removed GuestAttestation vm extension installation for Vmss and Vm creation cmdlets.
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: changed 'GuestAttestaion' to 'GuestAttestation' in the changelog.

Copilot uses AI. Check for mistakes.



## Version 6.3.0
Expand Down Expand Up @@ -288,7 +288,7 @@
* For `Add-AzVhd` upon upload failure using DirectUploadToManagedDisk parameter set, the SAS will be revoked and the created managed disk will be deleted.
* An unresolved path can be passed in for '-LocalFilePath' for `Add-AzVhd`. The cmdlet with unresolve the path itself.
* Added `-DataAccessAuthMode` parameter to Add-AzVhd DirectUploadToManagedDisk parameter set.
* Added `-EnabldUltraSSD` parameter to New-AzHostGroup.
* Added `-EnableUltraSSD` parameter to New-AzHostGroup.
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo: updated 'EnabldUltraSSD' to 'EnableUltraSSD' in the changelog.

Copilot uses AI. Check for mistakes.


## Version 4.27.0
* Edited `New-AzVm` cmdlet internal logic to use the `PlatformFaultDomain` value in the `PSVirtualMachine` object passed to it in the new virtual machine.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public static IStorageContext GetStorageContext(this IStorageService service)
/// Get a CloudStorageAccount client for the given storage service using the given storage service provider
/// </summary>
/// <param name="provider">The storage service provider to retrieve storage service details</param>
/// <param name="accountName">The storage accoutn name</param>
/// <param name="accountName">The storage account name</param>
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo: updated 'accoutn' to 'account' in the parameter description.

Copilot uses AI. Check for mistakes.

/// <param name="resourceGroupName"></param>
/// <returns>A CloudStorageAccount client for storage data plane tasks</returns>
public static CloudStorageAccount GetCloudStorageAccount(this IStorageServiceProvider provider, string accountName, string resourceGroupName = null)
Expand Down
6 changes: 3 additions & 3 deletions src/Compute/Compute/Common/AzureStorageContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ public string ConnectionString
}

/// <summary>
/// Custom propeties for the storage context
/// Custom properties for the storage context
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo: updated 'propeties' to 'properties' in the comment.

Copilot uses AI. Check for mistakes.

/// </summary>
public IDictionary<string, string> ExtendedProperties { get; } = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);

/// <summary>
/// Create a storage context usign cloud storage account
/// Create a storage context using cloud storage account
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: changed 'usign' to 'using' in the comment.

Copilot uses AI. Check for mistakes.

/// </summary>
/// <param name="account">cloud storage account</param>
public AzureStorageContext(CloudStorageAccount account)
Expand Down Expand Up @@ -172,7 +172,7 @@ public AzureStorageContext(CloudStorageAccount account)
}

/// <summary>
/// Proivides a private constructor for building empty instance which
/// Provides a private constructor for building empty instance which
/// contains no account information.
/// </summary>
protected AzureStorageContext()
Expand Down
2 changes: 1 addition & 1 deletion src/Compute/Compute/Common/ConstantStringTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static class HelpMessages
public const string VMProfile = "The virtual machine profile.";
public const string VmssVMProfile = "The virtual machine scale set VM profile.";
public const string VMSize = "The virtual machine size.";
public const string VMComputerName = "The virtual machine's omputer name.";
public const string VMComputerName = "The virtual machine's computer name.";
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: changed 'omputer' to 'computer' in the constant string.

Copilot uses AI. Check for mistakes.

public const string VMCredential = "The virtual machine's credential.";
public const string VMSourceImageName = "The virtual machine's source image name.";
public const string VMImageReference = "The virtual machine's image reference.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static class AEMExtensionConstants
public const string WadTableName = "WADPerformanceCountersTable";
public const string AzureEndpoint = "core.windows.net";
public const int ContentAgeInMinutes = 5;
public const string MissingGuestAgentWarning = "Provision Guest Agent is not installed on this Azure Virtual Machine. Please read the documentation on how to download and install the Provision Guest Agent. After you have installed the Provision Guest Agent, enable it with the Enable-ProvisionGuestAgent_GUI commandlet that is part of this Powershell Module.";
public const string MissingGuestAgentWarning = "Provision Guest Agent is not installed on this Azure Virtual Machine. Please read the documentation on how to download and install the Provision Guest Agent. After you have installed the Provision Guest Agent, enable it with the Enable-ProvisionGuestAgent_GUI cmdlet that is part of this Powershell Module.";
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo: updated 'GuestAttestaion' to 'GuestAttestation' in the constant message.

Copilot uses AI. Check for mistakes.

public const string ROLECONTENT = "IaaS";
public const string SchemasTable = "SchemasTable";
public const string SchemasTablePhysicalTableName = "PhysicalTableName";
Expand Down
4 changes: 2 additions & 2 deletions src/Compute/Compute/Extension/AEM/AEMHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -603,8 +603,8 @@ internal AzureSLA GetDiskSLA(int? diskSize, VirtualHardDisk vhd)
}
else
{
WriteError("Unkown disk size for Premium Storage - {0}", diskSize);
throw new ArgumentException("Unkown disk size for Premium Storage");
WriteError("Unknown disk size for Premium Storage - {0}", diskSize);
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: changed 'Unkown' to 'Unknown' in the error message.

Copilot uses AI. Check for mistakes.

throw new ArgumentException("Unknown disk size for Premium Storage");
}

return sla;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public class SetAzureRmVMAEMExtension : VirtualMachineExtensionBaseCmdlet
[Parameter(
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: updated help message by replacing 'commandlet' with 'cmdlet'.

Copilot uses AI. Check for mistakes.

Mandatory = false,
ValueFromPipelineByPropertyName = false,
HelpMessage = "If this parameter is provided, the commandlet will enable Windows Azure Diagnostics for this virtual machine.")]
HelpMessage = "If this parameter is provided, the cmdlet will enable Windows Azure Diagnostics for this virtual machine.")]
public SwitchParameter EnableWAD { get; set; }

[Parameter(
Expand Down Expand Up @@ -346,7 +346,7 @@ private string getPrincipalId(VirtualMachine pVM, string szPathIdentity)
private void SetNewExtension(VirtualMachine selectedVM, VirtualMachineInstanceView selectedVMStatus)
{
// check VM identity
// give VM idenity access to resources/resource groups
// give VM identity access to resources/resource groups
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed spelling: changed 'idenity' to 'identity' in the comment.

Copilot uses AI. Check for mistakes.

// deploy extension on VM

bool blnIsUserAssigned = !string.IsNullOrEmpty(this.PathUserIdentity);
Expand Down Expand Up @@ -811,7 +811,7 @@ private void SetOldExtension(VirtualMachine selectedVM, VirtualMachineInstanceVi
}).GetAwaiter().GetResult();

this._Helper.WriteHost("[INFO] Azure Enhanced Monitoring Extension for SAP configuration updated. It can take up to 15 Minutes for the monitoring data to appear in the SAP system.");
this._Helper.WriteHost("[INFO] You can check the configuration of a virtual machine by calling the Test-AzVMAEMExtension commandlet.");
this._Helper.WriteHost("[INFO] You can check the configuration of a virtual machine by calling the Test-AzVMAEMExtension cmdlet.");
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: replaced 'commandlet' with 'cmdlet' in the host message.

Copilot uses AI. Check for mistakes.


var result = ComputeAutoMapperProfile.Mapper.Map<PSAzureOperationResponse>(op);
WriteObject(result);
Expand All @@ -833,7 +833,7 @@ private void SetOldExtension(VirtualMachine selectedVM, VirtualMachineInstanceVi
}).GetAwaiter().GetResult();

this._Helper.WriteHost("[INFO] Azure Enhanced Monitoring Extension for SAP configuration updated. It can take up to 15 Minutes for the monitoring data to appear in the SAP system.");
this._Helper.WriteHost("[INFO] You can check the configuration of a virtual machine by calling the Test-AzVMAEMExtension commandlet.");
this._Helper.WriteHost("[INFO] You can check the configuration of a virtual machine by calling the Test-AzVMAEMExtension cmdlet.");
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo: replaced 'commandlet' with 'cmdlet' in the host message.

Copilot uses AI. Check for mistakes.


var result = ComputeAutoMapperProfile.Mapper.Map<PSAzureOperationResponse>(op);
WriteObject(result);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public override void ExecuteCmdlet()

if (!rootResult.Result)
{
this._Helper.WriteHost("The script found some configuration issues. Please run the Set-AzVMAEMExtension commandlet to update the configuration of the virtual machine!");
this._Helper.WriteHost("The script found some configuration issues. Please run the Set-AzVMAEMExtension cmdlet to update the configuration of the virtual machine!");
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: changed 'commandlet' to 'cmdlet' in the host message.

Copilot uses AI. Check for mistakes.

}

this._Helper.WriteVerbose("TestAzureRmVMAEMExtension Done (" + rootResult.Result + ")");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private Hashtable GetExtensionPublicSettings()
{
Hashtable publicSettings = new Hashtable();

// Generate a new sequence version everytime to force run the extension.
// Generate a new sequence version every time to force run the extension.
// This is to bypass CRP & Guest Agent's optimization of not re-running the extension when there is no config change
string sequenceVersion = Guid.NewGuid().ToString();
publicSettings.Add(AzureDiskEncryptionExtensionConstants.volumeTypeKey, VolumeType ?? String.Empty);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,19 +456,19 @@ private void validateRetreivedVirtualMachine(VirtualMachine vm)
}
else if (vm.StorageProfile == null)
{
errorString = "retreived virtual machine does not have storage profile";
errorString = "retrieved virtual machine does not have storage profile";
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo: changed 'retreived' to 'retrieved' in the error message.

Copilot uses AI. Check for mistakes.

}
else if (vm.StorageProfile.OsDisk == null)
{
errorString = "retreived virtual machine does not have an OS disk in the storage profile";
errorString = "retrieved virtual machine does not have an OS disk in the storage profile";
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo: updated 'retreived' to 'retrieved' in the error message.

Copilot uses AI. Check for mistakes.

}
else if (vm.StorageProfile.OsDisk.OsType == null)
{
errorString = "retreived virtual machine does not have an OS type in the storage profile's OS Disk";
errorString = "retrieved virtual machine does not have an OS type in the storage profile's OS Disk";
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: changed 'retreived' to 'retrieved' in the error message.

Copilot uses AI. Check for mistakes.

}
else if (vm.InstanceView == null)
{
errorString = "could not retreive VM Instance View";
errorString = "could not retrieve VM Instance View";
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo: updated 'retreive' to 'retrieve' in the error message.

Copilot uses AI. Check for mistakes.

}

if (errorString != "")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ $ErrorActionPreference = "Stop"
Read-Host;

########################################################################################################################
# To encrypt one VM in given resource group of the logged in subscritpion, assign $vmName and uncomment below section
# To encrypt one VM in given resource group of the logged in subscription, assign $vmName and uncomment below section
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: updated 'subscritpion' to 'subscription' in the comment.

Copilot uses AI. Check for mistakes.

########################################################################################################################
#$vmName = "Your VM Name";
#$allVMs = Get-AzVm -ResourceGroupName $resourceGroupName -Name $vmName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ private void CreateVMBackupForLinx()
vmConfig.VMName = VMName;
vmConfig.VirtualMachineExtensionType = VirtualMachineExtensionType;
string tag = string.Format("{0}{1}", "AzureEnc", Guid.NewGuid().ToString());
// this would create shapshot only for Linux box. and we should wait for the snapshot found.
// this would create snapshot only for Linux box. and we should wait for the snapshot found.
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo: changed 'shapshot' to 'snapshot' in the comment.

Copilot uses AI. Check for mistakes.

azureBackupExtensionUtil.CreateSnapshotForDisks(vmConfig, tag, this);
WriteWarning(string.Format("one snapshot for disks are created with tag,{0}, you can use {1}-{2} to remove it.", tag, VerbsCommon.Remove,
ProfileNouns.AzureVMBackup));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace Microsoft.WindowsAzure.Commands.Common.Extensions.DSC
public class DscExtensionPublicSettings
{
/// <summary>
/// Version 1.0.0.0 of DscExtensionPublicSettings. We keep it for backward compatability.
/// Version 1.0.0.0 of DscExtensionPublicSettings. We keep it for backward compatibility.
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: changed 'compatability' to 'compatibility' in the comment.

Copilot uses AI. Check for mistakes.

/// </summary>
internal class Version1
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ private static void DeleteDirectory(string path)
}

/// <summary>
/// Recursively turns off the ReadOnly attribute from the given directory and then attemps to delete it
/// Recursively turns off the ReadOnly attribute from the given directory and then attempts to delete it
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo: updated 'attemps' to 'attempts' in the comment.

Copilot uses AI. Check for mistakes.

/// </summary>
private static void DeleteReadOnlyDirectory(string path)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public static DscExtensionPublicSettings DeserializePublicSettings(string public
}

/// <summary>
/// Converte SecureString to String.
/// Convert SecureString to String.
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: changed 'Converte' to 'Convert' in the comment.

Copilot uses AI. Check for mistakes.

/// </summary>
/// <remarks>
/// This method creates a managed object with sensitive information and undetermined lifecycle.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ private void CreateConfiguration()
TypeHandlerVersion = Version,
// Define the public and private property bags that will be passed to the extension.
Settings = publicSettings,
//PrivateConfuguration contains sensitive data in a plain text
//PrivateConfiguration contains sensitive data in a plain text
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo: changed 'PrivateConfuguration' to 'PrivateConfiguration' in the comment.

Suggested change
//PrivateConfiguration contains sensitive data in a plain text
//PrivateConfiguration contains sensitive data in plain text

Copilot uses AI. Check for mistakes.

ProtectedSettings = privateSettings,
AutoUpgradeMinorVersion = AutoUpdate.IsPresent
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ public class AutoPatchingSettings
public string DayOfWeek { get; set; }

/// <summary>
/// Maintainance Windows Start hour ( 0 to 23 )
/// Maintenance Windows Start hour ( 0 to 23 )
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: changed 'Maintainance' to 'Maintenance' in the comment.

Suggested change
/// Maintenance Windows Start hour ( 0 to 23 )
/// Maintenance Window Start hour ( 0 to 23 )

Copilot uses AI. Check for mistakes.

/// </summary>
public int MaintenanceWindowStartingHour { get; set; }

/// <summary>
/// Maintainance window duration in minutes
/// Maintenance window duration in minutes
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: updated 'Maintainance' to 'Maintenance' in the comment.

Copilot uses AI. Check for mistakes.

/// </summary>
public int MaintenanceWindowDuration { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ public class KeyVaultCredentialSettings
public string ResourceGroupName { get; set; }

/// <summary>
/// Defines if the Key Vault Credentails feature is enabled or disabled
/// Defines if the Key Vault Credentials feature is enabled or disabled
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: changed 'Credentails' to 'Credentials' in the comment.

Copilot uses AI. Check for mistakes.

/// </summary>
public bool Enable { get; set; }

/// <summary>
/// Key Vault credentails name
/// Key Vault Credentials name
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed spelling: updated 'credentails' to 'credentials' in the comment.

Suggested change
/// Key Vault Credentials name
/// Key Vault Credential name

Copilot uses AI. Check for mistakes.

/// </summary>
public string CredentialName { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public int? LogBackupFrequencyInMinutes
}

/// <summary>
/// Initialzies a new instance of the <see cref="NewAzureVMSqlServerAutoBackupConfigCommand"/> class.
/// Initializes a new instance of the <see cref="NewAzureVMSqlServerAutoBackupConfigCommand"/> class.
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo: updated 'Initialzies' to 'Initializes' in the documentation comment.

Copilot uses AI. Check for mistakes.

/// </summary>
public NewAzureVMSqlServerAutoBackupConfigCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public class NewAzureVMSqlServerKeyVaultCredentialConfigCommand : PSCmdlet
public SecureString ServicePrincipalSecret { get; set; }

/// <summary>
/// Initialzies a new instance of the <see cref="NewAzureVMSqlServerKeyVaultCredentialConfigCommand"/> class.
/// Initializes a new instance of the <see cref="NewAzureVMSqlServerKeyVaultCredentialConfigCommand"/> class.
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: changed 'Initialzies' to 'Initializes' in the class documentation.

Copilot uses AI. Check for mistakes.

/// </summary>
public NewAzureVMSqlServerKeyVaultCredentialConfigCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public override void ExecuteCmdlet()
};

// Add retry logic due to CRP service restart known issue CRP bug: 3564713
// Similair approach taken in DSC cmdlet as well
// Similar approach taken in DSC cmdlet as well
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: changed 'Similair' to 'Similar' in the comment.

Copilot uses AI. Check for mistakes.

var count = 1;
Rest.Azure.AzureOperationResponse<VirtualMachineExtension> op = null;
while (count <= 2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ $ErrorActionPreference = “Stop”;
}
else
{
Write-Host "Sleeping 10 seconds to actiavate AzureDiskEncryption-VMSS feature . Retry count : ($i)";
Write-Host "Sleeping 10 seconds to activate AzureDiskEncryption-VMSS feature . Retry count : ($i)";
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: changed 'actiavate' to 'activate' in the sleep message.

Copilot uses AI. Check for mistakes.

Start-TestSleep -Seconds 10
}
}
Expand Down Expand Up @@ -117,7 +117,7 @@ $ErrorActionPreference = “Stop”;
Write-Host "Created a new KeyVault named $keyVaultName to store encryption keys";
}

#Set EnabledForDiskEncryption accesspolicy on KeyVault for AzureDiskEncrypiton to perform set secret, get secret, wrap key and unwrap key operations
#Set EnabledForDiskEncryption accesspolicy on KeyVault for AzureDiskEncryption to perform set secret, get secret, wrap key and unwrap key operations
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo: updated 'Encrypiton' to 'Encryption' in the comment.

Copilot uses AI. Check for mistakes.

Set-AzKeyVaultAccessPolicy -VaultName $keyVaultName -EnabledForDiskEncryption;

$diskEncryptionKeyVaultUrl = $keyVault.VaultUri;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ async Task SimpleParameterSetExecuteCmdlet(IAsyncCmdlet asyncCmdlet)

// If the user did not specify a load balancer name, mark the LB setting to ignore
// preexisting check. The most common scenario is users will let the cmdlet create and name the LB for them with the default
// config. We do not want to block that scenario in case the cmdlet failed mid operation and tthe user kicks it off again.
// config. We do not want to block that scenario in case the cmdlet failed mid operation and the user kicks it off again.
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo: removed extra 't' from 'tthe' to correct the comment.

Copilot uses AI. Check for mistakes.

if (!loadBalancerNamePassedIn)
{
LoadBalancerStrategy.IgnorePreExistingConfigCheck = true;
Expand Down
2 changes: 1 addition & 1 deletion src/Compute/Compute/Models/PSVirtualMachine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public string ResourceGroupName
// Gets or sets the property of 'Tags'
public IDictionary<string, string> Tags { get; set; }

// Gets or sets the reference Id of the availailbity set to which this virtual machine belongs.
// Gets or sets the reference Id of the availability set to which this virtual machine belongs.
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling: updated 'availailbity' to 'availability' in the comment.

Copilot uses AI. Check for mistakes.

public SubResource AvailabilitySetReference { get; set; }

// Gets or sets the diagnostics profile.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public class AddAzureVhdCommand : ComputeClientBaseCmdlet
Mandatory = false,
ValueFromPipelineByPropertyName = true,
ParameterSetName = DirectUploadToManagedDiskSet,
HelpMessage = "Posssible values are: 'V1', 'V2'")]
HelpMessage = "Possible values are: 'V1', 'V2'")]
[PSArgumentCompleter("V1", "V2")]
public string DiskHyperVGeneration { get; set; }

Expand Down
4 changes: 2 additions & 2 deletions src/Compute/Compute/Strategies/ComputeRp/ImageEx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ static async Task<ImageAndOsType> GetGalleryImageAndOsTypeAsync(
const string INSTANCE_NAME_STRING = "Images";
const string VERSION_STRING = "Versions";

//Added the following two fuinctions from https://github.com/Azure/azure-powershell/blob/master/src/Compute/Compute/Generated/ComputeAutomationBaseCmdlet.cs#L319
//To be able to get the gallery name and gallery image name from the provided gallery image reaource ID.
//Added the following two functions from https://github.com/Azure/azure-powershell/blob/master/src/Compute/Compute/Generated/ComputeAutomationBaseCmdlet.cs#L319
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: updated 'fuinctions' to 'functions' in the comment.

Copilot uses AI. Check for mistakes.

//To be able to get the gallery name and gallery image name from the provided gallery image resource ID.
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo: updated 'reaource' to 'resource' in the comment.

Copilot uses AI. Check for mistakes.

static string GetGaleryName(string resourceId)
{
if (string.IsNullOrEmpty(resourceId)) { return null; }
Expand Down
Loading