diff --git a/src/StackHCI/StackHCI.Autorest/build-module.ps1 b/src/StackHCI/StackHCI.Autorest/build-module.ps1 index 203c56b877bb..31749dc256f7 100644 --- a/src/StackHCI/StackHCI.Autorest/build-module.ps1 +++ b/src/StackHCI/StackHCI.Autorest/build-module.ps1 @@ -12,7 +12,7 @@ # Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code # is regenerated. # ---------------------------------------------------------------------------------- -param([switch]$Isolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs) +param([switch]$Isolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs, [Switch]$DisableAfterBuildTasks) $ErrorActionPreference = 'Stop' if($PSEdition -ne 'Core') { @@ -169,4 +169,14 @@ if (Test-Path (Join-Path $PSScriptRoot 'generate-portal-ux.ps1')) . (Join-Path $PSScriptRoot 'generate-portal-ux.ps1') } +if (-not $DisableAfterBuildTasks){ + $afterBuildTasksPath = Join-Path $PSScriptRoot '' + $afterBuildTasksArgs = ConvertFrom-Json 'true' -AsHashtable + if(Test-Path -Path $afterBuildTasksPath -PathType leaf){ + Write-Host -ForegroundColor Green 'Running after build tasks...' + . $afterBuildTasksPath @afterBuildTasksArgs + } +} + + Write-Host -ForegroundColor Green '-------------Done-------------' diff --git a/src/StackHCI/StackHCI.Autorest/custom/stackhci.ps1 b/src/StackHCI/StackHCI.Autorest/custom/stackhci.ps1 index 4990379ae2af..7d302dcb9c2c 100644 --- a/src/StackHCI/StackHCI.Autorest/custom/stackhci.ps1 +++ b/src/StackHCI/StackHCI.Autorest/custom/stackhci.ps1 @@ -76,7 +76,6 @@ $StartingArcAgentMessage = "Enabling Azure Arc integration on every clustered no $VerifyingArcMessage = "Verifying Azure Arc for Servers registration" $WaitingUnregisterMessage = "Disabling Azure Arc integration on every clustered node" $CleanArcMessage = "Cleaning up Azure Arc integration" -$NonCloudDeploymentFor23H2DevicesErrorMessage = "Azure stack HCI version 23H2 and higher cannot be registered using this method. See details: https://learn.microsoft.com/en-us/azure-stack/hci/deploy/deploy-via-portal" $MissingDependentModulesError = "Can't find PowerShell module(s): {0}. Please install the missing module(s) using 'Install-Module -Name ' and try again." $ArcAlreadyEnabledInADifferentResourceError = "Below mentioned cluster node(s) are already Arc enabled with a different ARM Resource Id:`n{0}`nDisconnect Arc agent on these nodes and run Register-AzStackHCI again." @@ -2895,21 +2894,6 @@ param( Write-VerboseLog ("Cloud Management supported: {0}" -f $isCloudManagementSupported) Write-VerboseLog ("Cloud Management Infra supported: {0}" -f $isCloudManagementInfraSupported) Write-VerboseLog ("Installing Mandatory extensions supported: {0}" -f $isDefaultExtensionSupported) - - $allowFor23H2Devices = Verify-23H2VanillaRegistration -clusterNodeSession $clusterNodeSession - if(([Int]::Parse($osVersionInfo.BuildNumber) -ge $23H2BuildNumber) -and !($allowFor23H2Devices)) - { - #error message - Write-ErrorLog -Message $NonCloudDeploymentFor23H2DevicesErrorMessage -Category OperationStopped - $resultValue = [OperationStatus]::Failed - $registrationOutput | Add-Member -MemberType NoteProperty -Name $OutputPropertyResult -Value [OperationStatus]::Failed -ErrorAction Continue - $NonCloudDeploymentFor23H2DevicesErrorCode = 9132 - Set-WacOutputProperty -IsWAC $IsWAC -PropertyName $OutputPropertyWacResult -PropertyValue $resultValue.ToString() -Output $registrationOutput - Set-WacOutputProperty -IsWAC $IsWAC -PropertyName $OutputPropertyWacErrorCode -PropertyValue $NonCloudDeploymentFor23H2DevicesErrorCode -Output $registrationOutput - Write-Output $registrationOutput | Format-List - Write-NodeEventLog -Message $NonCloudDeploymentFor23H2DevicesErrorMessage -EventID 9132 -IsManagementNode $IsManagementNode -credentials $Credential -ComputerName $ComputerName -Level Error - throw - } if(-Not ([string]::IsNullOrEmpty($RegContext.AzureResourceUri))) { @@ -3888,17 +3872,6 @@ Set-WacOutputProperty -IsWAC $IsWAC -PropertyName $OutputPropertyWacResult -Prop } } -function Verify-23H2VanillaRegistration { - [Microsoft.Azure.PowerShell.Cmdlets.StackHCI.DoNotExportAttribute()] - param( - [System.Management.Automation.Runspaces.PSSession] $clusterNodeSession - ) - - $detectRegKeyfor23H2 = { $lcmRegKey = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\LCMAzureStackStampInformation" -Name "InitializationComplete" -ErrorAction SilentlyContinue; $lcmRegKey -ne $null } - $allowFor23H2Devices = Invoke-Command -Session $clusterNodeSession -ScriptBlock $detectRegKeyfor23H2 - - return $allowFor23H2Devices -} function Set-ArcRoleforRPSpn { [Microsoft.Azure.PowerShell.Cmdlets.StackHCI.DoNotExportAttribute()] diff --git a/src/StackHCI/StackHCI/Az.StackHCI.psd1 b/src/StackHCI/StackHCI/Az.StackHCI.psd1 index 347587e10f16..1cfd2ae200ae 100644 --- a/src/StackHCI/StackHCI/Az.StackHCI.psd1 +++ b/src/StackHCI/StackHCI/Az.StackHCI.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 23/04/2024 +# Generated on: 7/17/2024 # @{ @@ -51,19 +51,19 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.19.0'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '3.0.2'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'StackHCI.Autorest/bin/Az.StackHCI.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = 'StackHCI.Autorest\Az.StackHCI.format.ps1xml' +FormatsToProcess = 'StackHCI.Autorest/Az.StackHCI.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('StackHCI.Autorest/Az.StackHCI.psm1') @@ -109,7 +109,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','StackHci' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'StackHci' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -134,7 +134,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/StackHCI/StackHCI/ChangeLog.md b/src/StackHCI/StackHCI/ChangeLog.md index e0411fa824e9..3d36fa9c2968 100644 --- a/src/StackHCI/StackHCI/ChangeLog.md +++ b/src/StackHCI/StackHCI/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Allowed registration for 23H2 and above versions of the device ## Version 2.3.2 * Introduced secrets detection feature to safeguard sensitive data. diff --git a/src/StackHCI/StackHCI/help/Add-AzStackHCIVMAttestation.md b/src/StackHCI/StackHCI/help/Add-AzStackHCIVMAttestation.md index 84c02b8e54c7..930740d6b67d 100644 --- a/src/StackHCI/StackHCI/help/Add-AzStackHCIVMAttestation.md +++ b/src/StackHCI/StackHCI/help/Add-AzStackHCIVMAttestation.md @@ -14,19 +14,19 @@ Add-AzStackHCIVMAttestation configures guests for AzureStack HCI IMDS Attestatio ### VMName (Default) ``` -Add-AzStackHCIVMAttestation [-VMName] [-Force] [-WhatIf] +Add-AzStackHCIVMAttestation [-VMName] [-Force] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### VMObject ``` -Add-AzStackHCIVMAttestation [-Force] [-VM] [-WhatIf] [-Confirm] +Add-AzStackHCIVMAttestation [-Force] [-VM] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### AddAll ``` -Add-AzStackHCIVMAttestation [-Force] [-AddAll] [-WhatIf] [-Confirm] +Add-AzStackHCIVMAttestation [-Force] [-AddAll] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -107,6 +107,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -VM Specifies an array of VM objects from Get-VM. diff --git a/src/StackHCI/StackHCI/help/Disable-AzStackHCIAttestation.md b/src/StackHCI/StackHCI/help/Disable-AzStackHCIAttestation.md index 68e526d33b4f..354bc15661f6 100644 --- a/src/StackHCI/StackHCI/help/Disable-AzStackHCIAttestation.md +++ b/src/StackHCI/StackHCI/help/Disable-AzStackHCIAttestation.md @@ -14,7 +14,7 @@ Disable-AzStackHCIAttestation disables IMDS Attestation on the host ``` Disable-AzStackHCIAttestation [[-ComputerName] ] [-Credential ] [-RemoveVM] [-Force] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -83,6 +83,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RemoveVM Specifies the guests on each node should be removed from IMDS Attestation before disabling on cluster. Disable cannot continue before guests are removed. diff --git a/src/StackHCI/StackHCI/help/Disable-AzStackHCIRemoteSupport.md b/src/StackHCI/StackHCI/help/Disable-AzStackHCIRemoteSupport.md index 6e78cb50b3ad..418f142b0708 100644 --- a/src/StackHCI/StackHCI/help/Disable-AzStackHCIRemoteSupport.md +++ b/src/StackHCI/StackHCI/help/Disable-AzStackHCIRemoteSupport.md @@ -13,7 +13,7 @@ Disables Remote Support. ## SYNTAX ``` -Disable-AzStackHCIRemoteSupport [-WhatIf] [-Confirm] [] +Disable-AzStackHCIRemoteSupport [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -37,6 +37,21 @@ Disabling Remort support ## PARAMETERS +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/StackHCI/StackHCI/help/Enable-AzStackHCIAttestation.md b/src/StackHCI/StackHCI/help/Enable-AzStackHCIAttestation.md index b243e9029603..5661338ab417 100644 --- a/src/StackHCI/StackHCI/help/Enable-AzStackHCIAttestation.md +++ b/src/StackHCI/StackHCI/help/Enable-AzStackHCIAttestation.md @@ -14,7 +14,7 @@ Enable-AzStackHCIAttestation configures the host and enables specified guests fo ``` Enable-AzStackHCIAttestation [[-ComputerName] ] [-Credential ] [-AddVM] [-Force] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -99,6 +99,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/StackHCI/StackHCI/help/Enable-AzStackHCIRemoteSupport.md b/src/StackHCI/StackHCI/help/Enable-AzStackHCIRemoteSupport.md index dcfcbe174c6a..8e02d43d2b5e 100644 --- a/src/StackHCI/StackHCI/help/Enable-AzStackHCIRemoteSupport.md +++ b/src/StackHCI/StackHCI/help/Enable-AzStackHCIRemoteSupport.md @@ -14,7 +14,7 @@ Enables Remote Support. ``` Enable-AzStackHCIRemoteSupport [-AccessLevel] [[-ExpireInMinutes] ] [[-SasCredential] ] - [-AgreeToRemoteSupportConsent] [-WhatIf] [-Confirm] [] + [-AgreeToRemoteSupportConsent] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -118,6 +118,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SasCredential Hybrid Connection SAS Credential. diff --git a/src/StackHCI/StackHCI/help/Get-AzStackHCILogsDirectory.md b/src/StackHCI/StackHCI/help/Get-AzStackHCILogsDirectory.md index 055f8d68ce8f..e76e5801596f 100644 --- a/src/StackHCI/StackHCI/help/Get-AzStackHCILogsDirectory.md +++ b/src/StackHCI/StackHCI/help/Get-AzStackHCILogsDirectory.md @@ -14,7 +14,7 @@ Returns Logs directory path on the current node. ``` Get-AzStackHCILogsDirectory [[-Credential] ] [[-ComputerName] ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -66,6 +66,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/StackHCI/StackHCI/help/Get-AzStackHCIRemoteSupportAccess.md b/src/StackHCI/StackHCI/help/Get-AzStackHCIRemoteSupportAccess.md index d98a09608b6a..c4ac60083e75 100644 --- a/src/StackHCI/StackHCI/help/Get-AzStackHCIRemoteSupportAccess.md +++ b/src/StackHCI/StackHCI/help/Get-AzStackHCIRemoteSupportAccess.md @@ -13,7 +13,7 @@ Gets Remote Support Access. ## SYNTAX ``` -Get-AzStackHCIRemoteSupportAccess [-Cluster] [-IncludeExpired] +Get-AzStackHCIRemoteSupportAccess [-Cluster] [-IncludeExpired] [-ProgressAction ] [] ``` @@ -102,6 +102,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/StackHCI/StackHCI/help/Get-AzStackHCIRemoteSupportSessionHistory.md b/src/StackHCI/StackHCI/help/Get-AzStackHCIRemoteSupportSessionHistory.md index 225492deb3f1..4fa568ba3af3 100644 --- a/src/StackHCI/StackHCI/help/Get-AzStackHCIRemoteSupportSessionHistory.md +++ b/src/StackHCI/StackHCI/help/Get-AzStackHCIRemoteSupportSessionHistory.md @@ -14,7 +14,7 @@ Gets Remote Support Session History Details. ``` Get-AzStackHCIRemoteSupportSessionHistory [[-SessionId] ] [-IncludeSessionTranscript] - [[-FromDate] ] [] + [[-FromDate] ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -72,6 +72,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SessionId Optional. Session Id to get details for a specific session. diff --git a/src/StackHCI/StackHCI/help/Get-AzStackHCIVMAttestation.md b/src/StackHCI/StackHCI/help/Get-AzStackHCIVMAttestation.md index fb65963f86cb..91b7d596d584 100644 --- a/src/StackHCI/StackHCI/help/Get-AzStackHCIVMAttestation.md +++ b/src/StackHCI/StackHCI/help/Get-AzStackHCIVMAttestation.md @@ -13,7 +13,7 @@ Get-AzStackHCIVMAttestation shows a list of guests added to IMDS Attestation on ## SYNTAX ``` -Get-AzStackHCIVMAttestation [-Local] [] +Get-AzStackHCIVMAttestation [-Local] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -76,6 +76,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/StackHCI/StackHCI/help/Get-AzStackHciArcSetting.md b/src/StackHCI/StackHCI/help/Get-AzStackHciArcSetting.md index baaa331b6ad1..c43fe50ab0ec 100644 --- a/src/StackHCI/StackHCI/help/Get-AzStackHciArcSetting.md +++ b/src/StackHCI/StackHCI/help/Get-AzStackHciArcSetting.md @@ -15,20 +15,20 @@ Get ArcSetting resource details of HCI Cluster. ### List (Default) ``` Get-AzStackHciArcSetting -ClusterName -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### Get ``` Get-AzStackHciArcSetting -ClusterName -Name -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzStackHciArcSetting -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -114,6 +114,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/StackHCI/StackHCI/help/Get-AzStackHciCluster.md b/src/StackHCI/StackHCI/help/Get-AzStackHciCluster.md index 46dcfbbb6b85..8e3c2769d493 100644 --- a/src/StackHCI/StackHCI/help/Get-AzStackHciCluster.md +++ b/src/StackHCI/StackHCI/help/Get-AzStackHciCluster.md @@ -15,25 +15,25 @@ Get HCI cluster. ### List (Default) ``` Get-AzStackHciCluster [-SubscriptionId ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### Get ``` Get-AzStackHciCluster -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### List1 ``` Get-AzStackHciCluster -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzStackHciCluster -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -119,6 +119,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/StackHCI/StackHCI/help/Get-AzStackHciExtension.md b/src/StackHCI/StackHCI/help/Get-AzStackHciExtension.md index 38c9bfe88fb8..744ea920ece4 100644 --- a/src/StackHCI/StackHCI/help/Get-AzStackHciExtension.md +++ b/src/StackHCI/StackHCI/help/Get-AzStackHciExtension.md @@ -15,7 +15,7 @@ Get particular Arc Extension of HCI Cluster. ### List (Default) ``` Get-AzStackHciExtension -ArcSettingName -ClusterName -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] [] ``` @@ -23,13 +23,13 @@ Get-AzStackHciExtension -ArcSettingName -ClusterName -Resource ``` Get-AzStackHciExtension -ArcSettingName -ClusterName -Name -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzStackHciExtension -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -130,6 +130,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/StackHCI/StackHCI/help/Install-AzStackHCIRemoteSupport.md b/src/StackHCI/StackHCI/help/Install-AzStackHCIRemoteSupport.md index acc7dcc83c75..68de69270b67 100644 --- a/src/StackHCI/StackHCI/help/Install-AzStackHCIRemoteSupport.md +++ b/src/StackHCI/StackHCI/help/Install-AzStackHCIRemoteSupport.md @@ -13,7 +13,7 @@ Installs Remote Support. ## SYNTAX ``` -Install-AzStackHCIRemoteSupport [-WhatIf] [-Confirm] [] +Install-AzStackHCIRemoteSupport [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -49,6 +49,21 @@ Installs Remort Support ## PARAMETERS +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/StackHCI/StackHCI/help/Invoke-AzStackHciConsentAndInstallDefaultExtension.md b/src/StackHCI/StackHCI/help/Invoke-AzStackHciConsentAndInstallDefaultExtension.md index 2529f96ed23b..83eaad26b204 100644 --- a/src/StackHCI/StackHCI/help/Invoke-AzStackHciConsentAndInstallDefaultExtension.md +++ b/src/StackHCI/StackHCI/help/Invoke-AzStackHciConsentAndInstallDefaultExtension.md @@ -15,14 +15,14 @@ Add consent time for default extensions and initiate extensions installation ### And (Default) ``` Invoke-AzStackHciConsentAndInstallDefaultExtension -ClusterName -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [-WhatIf] + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### AndViaIdentity ``` Invoke-AzStackHciConsentAndInstallDefaultExtension -InputObject - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -93,6 +93,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/StackHCI/StackHCI/help/Invoke-AzStackHciExtendClusterSoftwareAssuranceBenefit.md b/src/StackHCI/StackHCI/help/Invoke-AzStackHciExtendClusterSoftwareAssuranceBenefit.md index 2c946357ec9c..b3d3549a5c3b 100644 --- a/src/StackHCI/StackHCI/help/Invoke-AzStackHciExtendClusterSoftwareAssuranceBenefit.md +++ b/src/StackHCI/StackHCI/help/Invoke-AzStackHciExtendClusterSoftwareAssuranceBenefit.md @@ -16,14 +16,14 @@ Extends Software Assurance Benefit to a cluster ``` Invoke-AzStackHciExtendClusterSoftwareAssuranceBenefit -ClusterName -ResourceGroupName [-SubscriptionId ] [-SoftwareAssuranceIntent ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### Extend ``` Invoke-AzStackHciExtendClusterSoftwareAssuranceBenefit -ClusterName -ResourceGroupName [-SubscriptionId ] -SoftwareAssuranceChangeRequest - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -31,14 +31,14 @@ Invoke-AzStackHciExtendClusterSoftwareAssuranceBenefit -ClusterName -Re ``` Invoke-AzStackHciExtendClusterSoftwareAssuranceBenefit -InputObject [-SoftwareAssuranceIntent ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### ExtendViaIdentity ``` Invoke-AzStackHciExtendClusterSoftwareAssuranceBenefit -InputObject -SoftwareAssuranceChangeRequest [-DefaultProfile ] [-AsJob] - [-NoWait] [-WhatIf] [-Confirm] [] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -139,6 +139,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/StackHCI/StackHCI/help/New-AzStackHciArcSetting.md b/src/StackHCI/StackHCI/help/New-AzStackHciArcSetting.md index 24a23602af24..c073d9dcc62a 100644 --- a/src/StackHCI/StackHCI/help/New-AzStackHciArcSetting.md +++ b/src/StackHCI/StackHCI/help/New-AzStackHciArcSetting.md @@ -16,7 +16,7 @@ Create ArcSetting for HCI cluster. New-AzStackHciArcSetting -ClusterName -ResourceGroupName [-SubscriptionId ] [-ArcApplicationClientId ] [-ArcApplicationObjectId ] [-ArcApplicationTenantId ] [-ArcInstanceResourceGroup ] [-ArcServicePrincipalObjectId ] [-ConnectivityProperty ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -162,6 +162,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/StackHCI/StackHCI/help/New-AzStackHciCluster.md b/src/StackHCI/StackHCI/help/New-AzStackHciCluster.md index 299621856c38..6c21672b43a9 100644 --- a/src/StackHCI/StackHCI/help/New-AzStackHciCluster.md +++ b/src/StackHCI/StackHCI/help/New-AzStackHciCluster.md @@ -21,7 +21,7 @@ New-AzStackHciCluster -Name -ResourceGroupName [-SubscriptionI [-IdentityType ] [-IdentityUserAssignedIdentity ] [-SoftwareAssurancePropertySoftwareAssuranceIntent ] [-SoftwareAssurancePropertySoftwareAssuranceStatus ] [-Tag ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -241,6 +241,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/StackHCI/StackHCI/help/New-AzStackHciExtension.md b/src/StackHCI/StackHCI/help/New-AzStackHciExtension.md index 6c5e9ebc8558..f54323f37439 100644 --- a/src/StackHCI/StackHCI/help/New-AzStackHciExtension.md +++ b/src/StackHCI/StackHCI/help/New-AzStackHciExtension.md @@ -19,7 +19,7 @@ New-AzStackHciExtension -ArcSettingName -ClusterName -Name ] [-ExtensionParameterPublisher ] [-ExtensionParameterSetting ] [-ExtensionParameterType ] [-ExtensionParameterTypeHandlerVersion ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -269,6 +269,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/StackHCI/StackHCI/help/Register-AzStackHCI.md b/src/StackHCI/StackHCI/help/Register-AzStackHCI.md index dcad7ec8ee7b..80ce41ea627e 100644 --- a/src/StackHCI/StackHCI/help/Register-AzStackHCI.md +++ b/src/StackHCI/StackHCI/help/Register-AzStackHCI.md @@ -18,7 +18,7 @@ Register-AzStackHCI [-SubscriptionId] [-Region] [[-ResourceNam [[-AccountId] ] [[-EnvironmentName] ] [[-ComputerName] ] [[-CertificateThumbprint] ] [-RepairRegistration] [-UseDeviceAuthentication] [[-Credential] ] [-IsWAC] [[-ArcServerResourceGroupName] ] - [[-ArcSpnCredential] ] [[-LogsDirectory] ] + [[-ArcSpnCredential] ] [[-LogsDirectory] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -245,6 +245,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Region Specifies the Region to create the resource. Region is a Mandatory parameter. diff --git a/src/StackHCI/StackHCI/help/Remove-AzStackHCIRemoteSupport.md b/src/StackHCI/StackHCI/help/Remove-AzStackHCIRemoteSupport.md index 0d6beced8b79..4f76332ba690 100644 --- a/src/StackHCI/StackHCI/help/Remove-AzStackHCIRemoteSupport.md +++ b/src/StackHCI/StackHCI/help/Remove-AzStackHCIRemoteSupport.md @@ -13,7 +13,7 @@ Removes Remote Support. ## SYNTAX ``` -Remove-AzStackHCIRemoteSupport [-WhatIf] [-Confirm] [] +Remove-AzStackHCIRemoteSupport [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -40,6 +40,21 @@ Removes Remote Support ## PARAMETERS +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/StackHCI/StackHCI/help/Remove-AzStackHCIVMAttestation.md b/src/StackHCI/StackHCI/help/Remove-AzStackHCIVMAttestation.md index efcc75ae35eb..e16be3c91414 100644 --- a/src/StackHCI/StackHCI/help/Remove-AzStackHCIVMAttestation.md +++ b/src/StackHCI/StackHCI/help/Remove-AzStackHCIVMAttestation.md @@ -14,19 +14,19 @@ Remove-AzStackHCIVMAttestation removes guests from AzureStack HCI IMDS Attestati ### VMName (Default) ``` -Remove-AzStackHCIVMAttestation [-VMName] [-Force] [-WhatIf] +Remove-AzStackHCIVMAttestation [-VMName] [-Force] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### VMObject ``` -Remove-AzStackHCIVMAttestation [-Force] [-VM] [-WhatIf] +Remove-AzStackHCIVMAttestation [-Force] [-VM] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### RemoveAll ``` -Remove-AzStackHCIVMAttestation [-Force] [-RemoveAll] [-WhatIf] [-Confirm] +Remove-AzStackHCIVMAttestation [-Force] [-RemoveAll] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -71,6 +71,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RemoveAll Specifies a switch that will remove all guest VMs from Attestation on the current node diff --git a/src/StackHCI/StackHCI/help/Remove-AzStackHciArcSetting.md b/src/StackHCI/StackHCI/help/Remove-AzStackHciArcSetting.md index e5aa9bdffad7..9987c2aa3994 100644 --- a/src/StackHCI/StackHCI/help/Remove-AzStackHciArcSetting.md +++ b/src/StackHCI/StackHCI/help/Remove-AzStackHciArcSetting.md @@ -16,13 +16,13 @@ Delete ArcSetting resource details of HCI Cluster. ``` Remove-AzStackHciArcSetting -ClusterName -Name -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzStackHciArcSetting -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-WhatIf] [-Confirm] [] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -146,6 +146,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/StackHCI/StackHCI/help/Remove-AzStackHciCluster.md b/src/StackHCI/StackHCI/help/Remove-AzStackHciCluster.md index 278228011ec6..80099806e0b2 100644 --- a/src/StackHCI/StackHCI/help/Remove-AzStackHciCluster.md +++ b/src/StackHCI/StackHCI/help/Remove-AzStackHciCluster.md @@ -15,14 +15,14 @@ Delete an HCI cluster. ### Delete (Default) ``` Remove-AzStackHciCluster -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzStackHciCluster -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-WhatIf] [-Confirm] [] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -131,6 +131,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/StackHCI/StackHCI/help/Remove-AzStackHciExtension.md b/src/StackHCI/StackHCI/help/Remove-AzStackHciExtension.md index a7d76c2a71c5..da226e1c6cb7 100644 --- a/src/StackHCI/StackHCI/help/Remove-AzStackHciExtension.md +++ b/src/StackHCI/StackHCI/help/Remove-AzStackHciExtension.md @@ -16,13 +16,13 @@ Delete particular Arc Extension of HCI Cluster. ``` Remove-AzStackHciExtension -ArcSettingName -ClusterName -Name -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-WhatIf] [-Confirm] [] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzStackHciExtension -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-WhatIf] [-Confirm] [] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -168,6 +168,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/StackHCI/StackHCI/help/Set-AzStackHCI.md b/src/StackHCI/StackHCI/help/Set-AzStackHCI.md index f76102aab409..a79a90aa8ab9 100644 --- a/src/StackHCI/StackHCI/help/Set-AzStackHCI.md +++ b/src/StackHCI/StackHCI/help/Set-AzStackHCI.md @@ -16,7 +16,7 @@ Set-AzStackHCI modifies resource properties of the Microsoft.AzureStackHCI cloud Set-AzStackHCI [[-ComputerName] ] [-Credential ] [-ResourceId ] [-EnableWSSubscription ] [-DiagnosticLevel ] [-TenantId ] [-ArmAccessToken ] [-AccountId ] [-EnvironmentName ] [-UseDeviceAuthentication] - [-Force] [-WhatIf] [-Confirm] [] + [-Force] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -175,6 +175,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceId Specifies the fully qualified resource ID, including the subscription, as in the following example: `/Subscriptions/`subscription ID`/providers/Microsoft.AzureStackHCI/clusters/MyCluster` diff --git a/src/StackHCI/StackHCI/help/Unregister-AzStackHCI.md b/src/StackHCI/StackHCI/help/Unregister-AzStackHCI.md index 270c63c1fcc3..bc6a6a1ad184 100644 --- a/src/StackHCI/StackHCI/help/Unregister-AzStackHCI.md +++ b/src/StackHCI/StackHCI/help/Unregister-AzStackHCI.md @@ -18,7 +18,7 @@ Unregister-AzStackHCI [[-SubscriptionId] ] [[-ResourceName] ] [[ [[-ResourceGroupName] ] [[-ArmAccessToken] ] [[-AccountId] ] [[-EnvironmentName] ] [[-Region] ] [[-ComputerName] ] [-UseDeviceAuthentication] [-DisableOnlyAzureArcServer] [-IsWAC] [[-Credential] ] [-Force] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -197,6 +197,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Region Specifies the Region the resource is created in Azure. diff --git a/src/StackHCI/StackHCI/help/Update-AzStackHciCluster.md b/src/StackHCI/StackHCI/help/Update-AzStackHciCluster.md index 29b52b6be71e..48d11fe40826 100644 --- a/src/StackHCI/StackHCI/help/Update-AzStackHciCluster.md +++ b/src/StackHCI/StackHCI/help/Update-AzStackHciCluster.md @@ -19,7 +19,7 @@ Update-AzStackHciCluster -Name -ResourceGroupName [-Subscripti [-DesiredPropertyDiagnosticLevel ] [-DesiredPropertyWindowsServerSubscription ] [-IdentityType ] [-IdentityUserAssignedIdentity ] [-Tag ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded @@ -28,7 +28,7 @@ Update-AzStackHciCluster -InputObject [-AadTenantId [-CloudManagementEndpoint ] [-DesiredPropertyDiagnosticLevel ] [-DesiredPropertyWindowsServerSubscription ] [-IdentityType ] [-IdentityUserAssignedIdentity ] [-Tag ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -190,6 +190,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive.