From c7a8cc7d8528fcbf85ea3200be759be13d900706 Mon Sep 17 00:00:00 2001 From: azure-powershell-bot <65331932+azure-powershell-bot@users.noreply.github.com> Date: Wed, 7 Jun 2023 05:28:23 +0000 Subject: [PATCH 1/2] Move StorageMover to main --- src/StorageMover/Az.StorageMover.psd1 | 5 +- src/StorageMover/StorageMover.sln | 70 ++++++------ src/StorageMover/build-module.ps1 | 4 + src/StorageMover/create-model-cmdlets.ps1 | 12 ++- .../exports/Get-AzStorageMover.ps1 | 5 +- .../exports/Get-AzStorageMoverAgent.ps1 | 5 +- .../exports/Get-AzStorageMoverEndpoint.ps1 | 5 +- .../Get-AzStorageMoverJobDefinition.ps1 | 5 +- .../exports/Get-AzStorageMoverJobRun.ps1 | 5 +- .../exports/Get-AzStorageMoverProject.ps1 | 5 +- .../exports/New-AzStorageMover.ps1 | 5 +- ...StorageMoverAzStorageContainerEndpoint.ps1 | 2 +- .../New-AzStorageMoverJobDefinition.ps1 | 5 +- .../exports/New-AzStorageMoverNfsEndpoint.ps1 | 2 +- .../exports/New-AzStorageMoverProject.ps1 | 5 +- .../exports/ProxyCmdletDefinitions.ps1 | 102 ++++++++++-------- .../exports/Remove-AzStorageMover.ps1 | 2 +- .../exports/Remove-AzStorageMoverEndpoint.ps1 | 5 +- .../Remove-AzStorageMoverJobDefinition.ps1 | 5 +- .../exports/Remove-AzStorageMoverProject.ps1 | 5 +- .../Start-AzStorageMoverJobDefinition.ps1 | 5 +- .../Stop-AzStorageMoverJobDefinition.ps1 | 5 +- .../Unregister-AzStorageMoverAgent.ps1 | 2 +- .../exports/Update-AzStorageMover.ps1 | 5 +- .../exports/Update-AzStorageMoverAgent.ps1 | 5 +- ...StorageMoverAzStorageContainerEndpoint.ps1 | 2 +- .../Update-AzStorageMoverJobDefinition.ps1 | 5 +- .../Update-AzStorageMoverNfsEndpoint.ps1 | 2 +- .../exports/Update-AzStorageMoverProject.ps1 | 5 +- src/StorageMover/generate-info.json | 6 +- .../cmdlets/GetAzStorageMoverAgent_Get.cs | 5 +- .../GetAzStorageMoverAgent_GetViaIdentity.cs | 5 +- .../cmdlets/GetAzStorageMoverAgent_List.cs | 5 +- .../cmdlets/GetAzStorageMoverEndpoint_Get.cs | 5 +- ...etAzStorageMoverEndpoint_GetViaIdentity.cs | 5 +- .../cmdlets/GetAzStorageMoverEndpoint_List.cs | 5 +- .../GetAzStorageMoverJobDefinition_Get.cs | 5 +- ...torageMoverJobDefinition_GetViaIdentity.cs | 5 +- .../GetAzStorageMoverJobDefinition_List.cs | 5 +- .../cmdlets/GetAzStorageMoverJobRun_Get.cs | 5 +- .../GetAzStorageMoverJobRun_GetViaIdentity.cs | 5 +- .../cmdlets/GetAzStorageMoverJobRun_List.cs | 5 +- .../GetAzStorageMoverOperation_List.cs | 5 +- .../cmdlets/GetAzStorageMoverProject_Get.cs | 5 +- ...GetAzStorageMoverProject_GetViaIdentity.cs | 5 +- .../cmdlets/GetAzStorageMoverProject_List.cs | 5 +- .../cmdlets/GetAzStorageMover_Get.cs | 5 +- .../GetAzStorageMover_GetViaIdentity.cs | 5 +- .../cmdlets/GetAzStorageMover_List.cs | 5 +- .../cmdlets/GetAzStorageMover_List1.cs | 5 +- ...ewAzStorageMoverEndpoint_CreateExpanded.cs | 5 +- .../NewAzStorageMoverJobDefinition_Create.cs | 5 +- ...torageMoverJobDefinition_CreateExpanded.cs | 5 +- .../NewAzStorageMoverProject_Create.cs | 5 +- ...NewAzStorageMoverProject_CreateExpanded.cs | 5 +- .../cmdlets/NewAzStorageMover_Create.cs | 5 +- .../NewAzStorageMover_CreateExpanded.cs | 5 +- .../RemoveAzStorageMoverAgent_Delete.cs | 5 +- ...veAzStorageMoverAgent_DeleteViaIdentity.cs | 5 +- .../RemoveAzStorageMoverEndpoint_Delete.cs | 5 +- ...zStorageMoverEndpoint_DeleteViaIdentity.cs | 5 +- ...emoveAzStorageMoverJobDefinition_Delete.cs | 5 +- ...ageMoverJobDefinition_DeleteViaIdentity.cs | 5 +- .../RemoveAzStorageMoverProject_Delete.cs | 5 +- ...AzStorageMoverProject_DeleteViaIdentity.cs | 5 +- .../cmdlets/RemoveAzStorageMover_Delete.cs | 5 +- .../RemoveAzStorageMover_DeleteViaIdentity.cs | 5 +- .../StartAzStorageMoverJobDefinition_Start.cs | 5 +- ...rageMoverJobDefinition_StartViaIdentity.cs | 5 +- .../StopAzStorageMoverJobDefinition_Stop.cs | 5 +- ...orageMoverJobDefinition_StopViaIdentity.cs | 5 +- .../UpdateAzStorageMoverAgent_Update.cs | 5 +- ...pdateAzStorageMoverAgent_UpdateExpanded.cs | 5 +- ...teAzStorageMoverAgent_UpdateViaIdentity.cs | 5 +- ...ageMoverAgent_UpdateViaIdentityExpanded.cs | 5 +- ...teAzStorageMoverEndpoint_UpdateExpanded.cs | 5 +- ...MoverEndpoint_UpdateViaIdentityExpanded.cs | 5 +- ...pdateAzStorageMoverJobDefinition_Update.cs | 5 +- ...torageMoverJobDefinition_UpdateExpanded.cs | 5 +- ...ageMoverJobDefinition_UpdateViaIdentity.cs | 5 +- ...JobDefinition_UpdateViaIdentityExpanded.cs | 5 +- .../UpdateAzStorageMoverProject_Update.cs | 5 +- ...ateAzStorageMoverProject_UpdateExpanded.cs | 5 +- ...AzStorageMoverProject_UpdateViaIdentity.cs | 5 +- ...eMoverProject_UpdateViaIdentityExpanded.cs | 5 +- .../cmdlets/UpdateAzStorageMover_Update.cs | 5 +- .../UpdateAzStorageMover_UpdateExpanded.cs | 5 +- .../UpdateAzStorageMover_UpdateViaIdentity.cs | 5 +- ...zStorageMover_UpdateViaIdentityExpanded.cs | 5 +- .../BuildTime/Models/PsProxyOutputs.cs | 2 +- .../runtime/MessageAttributeHelper.cs | 6 +- src/StorageMover/help/Get-AzStorageMover.md | 3 +- .../help/Get-AzStorageMoverAgent.md | 3 +- .../help/Get-AzStorageMoverEndpoint.md | 3 +- .../help/Get-AzStorageMoverJobDefinition.md | 3 +- .../help/Get-AzStorageMoverJobRun.md | 3 +- .../help/Get-AzStorageMoverProject.md | 3 +- src/StorageMover/help/New-AzStorageMover.md | 3 +- .../help/New-AzStorageMoverJobDefinition.md | 3 +- .../help/New-AzStorageMoverProject.md | 3 +- .../help/Remove-AzStorageMoverEndpoint.md | 3 +- .../Remove-AzStorageMoverJobDefinition.md | 3 +- .../help/Remove-AzStorageMoverProject.md | 3 +- .../help/Start-AzStorageMoverJobDefinition.md | 3 +- .../help/Stop-AzStorageMoverJobDefinition.md | 3 +- .../help/Update-AzStorageMover.md | 3 +- .../help/Update-AzStorageMoverAgent.md | 3 +- .../Update-AzStorageMoverJobDefinition.md | 3 +- .../help/Update-AzStorageMoverProject.md | 3 +- .../internal/Get-AzStorageMoverOperation.ps1 | 3 +- .../internal/New-AzStorageMoverEndpoint.ps1 | 3 +- .../internal/ProxyCmdletDefinitions.ps1 | 15 ++- .../internal/Remove-AzStorageMover.ps1 | 3 +- .../internal/Remove-AzStorageMoverAgent.ps1 | 3 +- .../Update-AzStorageMoverEndpoint.ps1 | 3 +- 115 files changed, 411 insertions(+), 277 deletions(-) diff --git a/src/StorageMover/Az.StorageMover.psd1 b/src/StorageMover/Az.StorageMover.psd1 index 1991ad0d46b2..cb52567e56e4 100644 --- a/src/StorageMover/Az.StorageMover.psd1 +++ b/src/StorageMover/Az.StorageMover.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 3/6/2023 +# Generated on: 6/7/2023 # @{ @@ -122,8 +122,7 @@ PrivateData = @{ # IconUri = '' # ReleaseNotes of this module - ReleaseNotes = '* General availability for module Az.StorageMover -* Updated StorageMover API version to 2023-03-01' + # ReleaseNotes = '' # Prerelease string of this module # Prerelease = '' diff --git a/src/StorageMover/StorageMover.sln b/src/StorageMover/StorageMover.sln index 8e17ac0a8c1b..064906b99dbc 100644 --- a/src/StorageMover/StorageMover.sln +++ b/src/StorageMover/StorageMover.sln @@ -3,19 +3,19 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{57230BF4-4D35-4075-96D1-7746C6435727}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{3716E4F5-4879-4541-B02A-FC91A9DD456A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{55E30484-DAC7-4E1A-8001-21DA331427CF}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{2B52CF8B-A8A3-4ADE-BA9B-C5AD40B51BB3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{106A5185-D14B-44C7-A24C-C8AEE1EA345C}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{1F20359A-BE1B-4308-ACEF-885509B260AA}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{1C111710-6E36-4C6F-931E-9DB9F07D20BC}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{83DE0EB5-3BBD-4C7D-ADC3-C9ECB31584A4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{87C9D60A-A01B-4257-8DE9-6D3A251E77CE}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{267B0F8F-8D51-45F9-A904-38BB45D3416E}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{C52134F8-882C-4EC9-BCF2-786AC03C9123}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{1DCB3AC3-BDF6-4C58-80C4-1C55FA90CBBE}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.StorageMover", "Az.StorageMover.csproj", "{19FA5433-2347-479D-A3ED-DB1B0EA2D851}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.StorageMover", "Az.StorageMover.csproj", "{D01B6C61-8B9F-447A-9893-64CFB6999C7D}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -26,33 +26,33 @@ Global HideSolutionNode = FALSE EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {57230BF4-4D35-4075-96D1-7746C6435727}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {57230BF4-4D35-4075-96D1-7746C6435727}.Debug|Any CPU.Build.0 = Debug|Any CPU - {57230BF4-4D35-4075-96D1-7746C6435727}.Release|Any CPU.ActiveCfg = Release|Any CPU - {57230BF4-4D35-4075-96D1-7746C6435727}.Release|Any CPU.Build.0 = Release|Any CPU - {55E30484-DAC7-4E1A-8001-21DA331427CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {55E30484-DAC7-4E1A-8001-21DA331427CF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {55E30484-DAC7-4E1A-8001-21DA331427CF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {55E30484-DAC7-4E1A-8001-21DA331427CF}.Release|Any CPU.Build.0 = Release|Any CPU - {106A5185-D14B-44C7-A24C-C8AEE1EA345C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {106A5185-D14B-44C7-A24C-C8AEE1EA345C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {106A5185-D14B-44C7-A24C-C8AEE1EA345C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {106A5185-D14B-44C7-A24C-C8AEE1EA345C}.Release|Any CPU.Build.0 = Release|Any CPU - {1C111710-6E36-4C6F-931E-9DB9F07D20BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1C111710-6E36-4C6F-931E-9DB9F07D20BC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1C111710-6E36-4C6F-931E-9DB9F07D20BC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1C111710-6E36-4C6F-931E-9DB9F07D20BC}.Release|Any CPU.Build.0 = Release|Any CPU - {87C9D60A-A01B-4257-8DE9-6D3A251E77CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {87C9D60A-A01B-4257-8DE9-6D3A251E77CE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {87C9D60A-A01B-4257-8DE9-6D3A251E77CE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {87C9D60A-A01B-4257-8DE9-6D3A251E77CE}.Release|Any CPU.Build.0 = Release|Any CPU - {C52134F8-882C-4EC9-BCF2-786AC03C9123}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C52134F8-882C-4EC9-BCF2-786AC03C9123}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C52134F8-882C-4EC9-BCF2-786AC03C9123}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C52134F8-882C-4EC9-BCF2-786AC03C9123}.Release|Any CPU.Build.0 = Release|Any CPU - {19FA5433-2347-479D-A3ED-DB1B0EA2D851}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {19FA5433-2347-479D-A3ED-DB1B0EA2D851}.Debug|Any CPU.Build.0 = Debug|Any CPU - {19FA5433-2347-479D-A3ED-DB1B0EA2D851}.Release|Any CPU.ActiveCfg = Release|Any CPU - {19FA5433-2347-479D-A3ED-DB1B0EA2D851}.Release|Any CPU.Build.0 = Release|Any CPU + {3716E4F5-4879-4541-B02A-FC91A9DD456A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3716E4F5-4879-4541-B02A-FC91A9DD456A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3716E4F5-4879-4541-B02A-FC91A9DD456A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3716E4F5-4879-4541-B02A-FC91A9DD456A}.Release|Any CPU.Build.0 = Release|Any CPU + {2B52CF8B-A8A3-4ADE-BA9B-C5AD40B51BB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2B52CF8B-A8A3-4ADE-BA9B-C5AD40B51BB3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2B52CF8B-A8A3-4ADE-BA9B-C5AD40B51BB3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2B52CF8B-A8A3-4ADE-BA9B-C5AD40B51BB3}.Release|Any CPU.Build.0 = Release|Any CPU + {1F20359A-BE1B-4308-ACEF-885509B260AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1F20359A-BE1B-4308-ACEF-885509B260AA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1F20359A-BE1B-4308-ACEF-885509B260AA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1F20359A-BE1B-4308-ACEF-885509B260AA}.Release|Any CPU.Build.0 = Release|Any CPU + {83DE0EB5-3BBD-4C7D-ADC3-C9ECB31584A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {83DE0EB5-3BBD-4C7D-ADC3-C9ECB31584A4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {83DE0EB5-3BBD-4C7D-ADC3-C9ECB31584A4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {83DE0EB5-3BBD-4C7D-ADC3-C9ECB31584A4}.Release|Any CPU.Build.0 = Release|Any CPU + {267B0F8F-8D51-45F9-A904-38BB45D3416E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {267B0F8F-8D51-45F9-A904-38BB45D3416E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {267B0F8F-8D51-45F9-A904-38BB45D3416E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {267B0F8F-8D51-45F9-A904-38BB45D3416E}.Release|Any CPU.Build.0 = Release|Any CPU + {1DCB3AC3-BDF6-4C58-80C4-1C55FA90CBBE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1DCB3AC3-BDF6-4C58-80C4-1C55FA90CBBE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1DCB3AC3-BDF6-4C58-80C4-1C55FA90CBBE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1DCB3AC3-BDF6-4C58-80C4-1C55FA90CBBE}.Release|Any CPU.Build.0 = Release|Any CPU + {D01B6C61-8B9F-447A-9893-64CFB6999C7D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D01B6C61-8B9F-447A-9893-64CFB6999C7D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D01B6C61-8B9F-447A-9893-64CFB6999C7D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D01B6C61-8B9F-447A-9893-64CFB6999C7D}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal diff --git a/src/StorageMover/build-module.ps1 b/src/StorageMover/build-module.ps1 index 3987cf7c8a48..a0d107adab81 100644 --- a/src/StorageMover/build-module.ps1 +++ b/src/StorageMover/build-module.ps1 @@ -123,6 +123,10 @@ $null = New-Item -ItemType Directory -Force -Path $examplesFolder Write-Host -ForegroundColor Green 'Creating cmdlets for specified models...' $modelCmdlets = @() +$modelCmdletFolder = Join-Path (Join-Path $PSScriptRoot './custom') 'autogen-model-cmdlets' +if (Test-Path $modelCmdletFolder) { + $null = Remove-Item -Force -Recurse -Path $modelCmdletFolder +} if ($modelCmdlets.Count -gt 0) { . (Join-Path $PSScriptRoot 'create-model-cmdlets.ps1') CreateModelCmdlet($modelCmdlets) diff --git a/src/StorageMover/create-model-cmdlets.ps1 b/src/StorageMover/create-model-cmdlets.ps1 index 588ae34ccf5d..74be4d624da2 100644 --- a/src/StorageMover/create-model-cmdlets.ps1 +++ b/src/StorageMover/create-model-cmdlets.ps1 @@ -23,9 +23,13 @@ function CreateModelCmdlet { } $ModelCsPath = Join-Path (Join-Path $PSScriptRoot 'generated\api') 'Models' - $ModuleName = 'StorageMover' $OutputDir = Join-Path $PSScriptRoot 'custom\autogen-model-cmdlets' $null = New-Item -ItemType Directory -Force -Path $OutputDir + if (''.length -gt 0) { + $ModuleName = '' + } else { + $ModuleName = 'Az.StorageMover' + } $CsFiles = Get-ChildItem -Path $ModelCsPath -Recurse -Filter *.cs $Content = '' @@ -64,10 +68,10 @@ function CreateModelCmdlet { $ObjectType = $Model $ObjectTypeWithNamespace = "${Namespace}.${ObjectType}" # remove duplicated module name - if ($ObjectType.StartsWith($ModuleName)) { + if ($ObjectType.StartsWith('StorageMover')) { $ModulePrefix = '' } else { - $ModulePrefix = $ModuleName + $ModulePrefix = 'StorageMover' } $OutputPath = Join-Path -ChildPath "New-Az${ModulePrefix}${ObjectType}Object.ps1" -Path $OutputDir @@ -158,7 +162,7 @@ Create an in-memory object for ${ObjectType}. .Outputs ${ObjectTypeWithNamespace} .Link -https://learn.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object +https://learn.microsoft.com/powershell/module/${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object #> function New-Az${ModulePrefix}${ObjectType}Object { [OutputType('${ObjectTypeWithNamespace}')] diff --git a/src/StorageMover/exports/Get-AzStorageMover.ps1 b/src/StorageMover/exports/Get-AzStorageMover.ps1 index 648ae5cf72f9..7485178cbb81 100644 --- a/src/StorageMover/exports/Get-AzStorageMover.ps1 +++ b/src/StorageMover/exports/Get-AzStorageMover.ps1 @@ -88,7 +88,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -140,7 +141,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Get-AzStorageMoverAgent.ps1 b/src/StorageMover/exports/Get-AzStorageMoverAgent.ps1 index 42c45d0611b9..7b9f5bc629ad 100644 --- a/src/StorageMover/exports/Get-AzStorageMoverAgent.ps1 +++ b/src/StorageMover/exports/Get-AzStorageMoverAgent.ps1 @@ -92,7 +92,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -144,7 +145,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Get-AzStorageMoverEndpoint.ps1 b/src/StorageMover/exports/Get-AzStorageMoverEndpoint.ps1 index 6f964f09be17..e18cc53188ba 100644 --- a/src/StorageMover/exports/Get-AzStorageMoverEndpoint.ps1 +++ b/src/StorageMover/exports/Get-AzStorageMoverEndpoint.ps1 @@ -92,7 +92,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -144,7 +145,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Get-AzStorageMoverJobDefinition.ps1 b/src/StorageMover/exports/Get-AzStorageMoverJobDefinition.ps1 index cdacf8196fc9..c10f04997852 100644 --- a/src/StorageMover/exports/Get-AzStorageMoverJobDefinition.ps1 +++ b/src/StorageMover/exports/Get-AzStorageMoverJobDefinition.ps1 @@ -99,7 +99,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -151,7 +152,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Get-AzStorageMoverJobRun.ps1 b/src/StorageMover/exports/Get-AzStorageMoverJobRun.ps1 index 1c018160b340..79a29583231b 100644 --- a/src/StorageMover/exports/Get-AzStorageMoverJobRun.ps1 +++ b/src/StorageMover/exports/Get-AzStorageMoverJobRun.ps1 @@ -106,7 +106,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -158,7 +159,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Get-AzStorageMoverProject.ps1 b/src/StorageMover/exports/Get-AzStorageMoverProject.ps1 index 1d347905fd8b..3ca66511edee 100644 --- a/src/StorageMover/exports/Get-AzStorageMoverProject.ps1 +++ b/src/StorageMover/exports/Get-AzStorageMoverProject.ps1 @@ -92,7 +92,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -144,7 +145,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/New-AzStorageMover.ps1 b/src/StorageMover/exports/New-AzStorageMover.ps1 index 9808c3090c27..618f95aca19b 100644 --- a/src/StorageMover/exports/New-AzStorageMover.ps1 +++ b/src/StorageMover/exports/New-AzStorageMover.ps1 @@ -101,7 +101,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -153,7 +154,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/New-AzStorageMoverAzStorageContainerEndpoint.ps1 b/src/StorageMover/exports/New-AzStorageMoverAzStorageContainerEndpoint.ps1 index 4e86dbb4f88e..b5ce9407080d 100644 --- a/src/StorageMover/exports/New-AzStorageMoverAzStorageContainerEndpoint.ps1 +++ b/src/StorageMover/exports/New-AzStorageMoverAzStorageContainerEndpoint.ps1 @@ -137,7 +137,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/New-AzStorageMoverJobDefinition.ps1 b/src/StorageMover/exports/New-AzStorageMoverJobDefinition.ps1 index 05ae7b2b73f4..7aaf42c7b277 100644 --- a/src/StorageMover/exports/New-AzStorageMoverJobDefinition.ps1 +++ b/src/StorageMover/exports/New-AzStorageMoverJobDefinition.ps1 @@ -140,7 +140,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -192,7 +193,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/New-AzStorageMoverNfsEndpoint.ps1 b/src/StorageMover/exports/New-AzStorageMoverNfsEndpoint.ps1 index 1a909086cc6b..530475090a28 100644 --- a/src/StorageMover/exports/New-AzStorageMoverNfsEndpoint.ps1 +++ b/src/StorageMover/exports/New-AzStorageMoverNfsEndpoint.ps1 @@ -144,7 +144,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/New-AzStorageMoverProject.ps1 b/src/StorageMover/exports/New-AzStorageMoverProject.ps1 index 0e238556fe34..1a813331eb66 100644 --- a/src/StorageMover/exports/New-AzStorageMoverProject.ps1 +++ b/src/StorageMover/exports/New-AzStorageMoverProject.ps1 @@ -91,7 +91,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -143,7 +144,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/ProxyCmdletDefinitions.ps1 b/src/StorageMover/exports/ProxyCmdletDefinitions.ps1 index cfbba641c3ce..7f8857536b20 100644 --- a/src/StorageMover/exports/ProxyCmdletDefinitions.ps1 +++ b/src/StorageMover/exports/ProxyCmdletDefinitions.ps1 @@ -92,7 +92,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -144,7 +145,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -292,7 +293,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -344,7 +346,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -499,7 +501,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -551,7 +554,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -713,7 +716,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -765,7 +769,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -913,7 +917,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -965,7 +970,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -1109,7 +1114,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -1161,7 +1167,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -1358,7 +1364,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -1410,7 +1417,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -1556,7 +1563,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -1608,7 +1616,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -1764,7 +1772,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -1816,7 +1825,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -1958,7 +1967,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] @@ -2028,7 +2038,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -2176,7 +2186,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] @@ -2246,7 +2257,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -2388,7 +2399,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] @@ -2458,7 +2470,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -2611,7 +2623,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -2663,7 +2676,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -2810,7 +2823,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -2862,7 +2876,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -3029,7 +3043,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -3081,7 +3096,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -3276,7 +3291,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -3328,7 +3344,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -3499,7 +3515,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -3551,7 +3568,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -3725,7 +3742,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -3777,7 +3795,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -3971,7 +3989,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -4169,7 +4187,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -4379,7 +4397,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -4596,7 +4614,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -4798,7 +4816,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -5000,7 +5018,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Remove-AzStorageMover.ps1 b/src/StorageMover/exports/Remove-AzStorageMover.ps1 index 0447f310663f..26eda9c50ba6 100644 --- a/src/StorageMover/exports/Remove-AzStorageMover.ps1 +++ b/src/StorageMover/exports/Remove-AzStorageMover.ps1 @@ -156,7 +156,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Remove-AzStorageMoverEndpoint.ps1 b/src/StorageMover/exports/Remove-AzStorageMoverEndpoint.ps1 index 1c1ead30434b..29568c714cc9 100644 --- a/src/StorageMover/exports/Remove-AzStorageMoverEndpoint.ps1 +++ b/src/StorageMover/exports/Remove-AzStorageMoverEndpoint.ps1 @@ -87,7 +87,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] @@ -157,7 +158,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Remove-AzStorageMoverJobDefinition.ps1 b/src/StorageMover/exports/Remove-AzStorageMoverJobDefinition.ps1 index 226cd5850117..8e2cb7e320b1 100644 --- a/src/StorageMover/exports/Remove-AzStorageMoverJobDefinition.ps1 +++ b/src/StorageMover/exports/Remove-AzStorageMoverJobDefinition.ps1 @@ -93,7 +93,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] @@ -163,7 +164,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Remove-AzStorageMoverProject.ps1 b/src/StorageMover/exports/Remove-AzStorageMoverProject.ps1 index 893ba7ad324c..cf53ce862271 100644 --- a/src/StorageMover/exports/Remove-AzStorageMoverProject.ps1 +++ b/src/StorageMover/exports/Remove-AzStorageMoverProject.ps1 @@ -87,7 +87,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] @@ -157,7 +158,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Start-AzStorageMoverJobDefinition.ps1 b/src/StorageMover/exports/Start-AzStorageMoverJobDefinition.ps1 index 631ecea95d2d..8c071b87a09c 100644 --- a/src/StorageMover/exports/Start-AzStorageMoverJobDefinition.ps1 +++ b/src/StorageMover/exports/Start-AzStorageMoverJobDefinition.ps1 @@ -98,7 +98,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -150,7 +151,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Stop-AzStorageMoverJobDefinition.ps1 b/src/StorageMover/exports/Stop-AzStorageMoverJobDefinition.ps1 index d7dd44d613de..12946a0418e9 100644 --- a/src/StorageMover/exports/Stop-AzStorageMoverJobDefinition.ps1 +++ b/src/StorageMover/exports/Stop-AzStorageMoverJobDefinition.ps1 @@ -92,7 +92,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -144,7 +145,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Unregister-AzStorageMoverAgent.ps1 b/src/StorageMover/exports/Unregister-AzStorageMoverAgent.ps1 index 69939301c445..44a2aaaf6545 100644 --- a/src/StorageMover/exports/Unregister-AzStorageMoverAgent.ps1 +++ b/src/StorageMover/exports/Unregister-AzStorageMoverAgent.ps1 @@ -162,7 +162,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Update-AzStorageMover.ps1 b/src/StorageMover/exports/Update-AzStorageMover.ps1 index eff18304e403..a86303efe8ff 100644 --- a/src/StorageMover/exports/Update-AzStorageMover.ps1 +++ b/src/StorageMover/exports/Update-AzStorageMover.ps1 @@ -117,7 +117,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -169,7 +170,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Update-AzStorageMoverAgent.ps1 b/src/StorageMover/exports/Update-AzStorageMoverAgent.ps1 index 19b7e3f6fafa..4c696cad06b2 100644 --- a/src/StorageMover/exports/Update-AzStorageMoverAgent.ps1 +++ b/src/StorageMover/exports/Update-AzStorageMoverAgent.ps1 @@ -112,7 +112,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -164,7 +165,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Update-AzStorageMoverAzStorageContainerEndpoint.ps1 b/src/StorageMover/exports/Update-AzStorageMoverAzStorageContainerEndpoint.ps1 index c95ab57ecb56..ca381692fb6d 100644 --- a/src/StorageMover/exports/Update-AzStorageMoverAzStorageContainerEndpoint.ps1 +++ b/src/StorageMover/exports/Update-AzStorageMoverAzStorageContainerEndpoint.ps1 @@ -147,7 +147,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Update-AzStorageMoverJobDefinition.ps1 b/src/StorageMover/exports/Update-AzStorageMoverJobDefinition.ps1 index 99ca0a824b3d..b93ab2b74561 100644 --- a/src/StorageMover/exports/Update-AzStorageMoverJobDefinition.ps1 +++ b/src/StorageMover/exports/Update-AzStorageMoverJobDefinition.ps1 @@ -138,7 +138,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -190,7 +191,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Update-AzStorageMoverNfsEndpoint.ps1 b/src/StorageMover/exports/Update-AzStorageMoverNfsEndpoint.ps1 index c1f89f05d054..1ceefd98f557 100644 --- a/src/StorageMover/exports/Update-AzStorageMoverNfsEndpoint.ps1 +++ b/src/StorageMover/exports/Update-AzStorageMoverNfsEndpoint.ps1 @@ -147,7 +147,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/exports/Update-AzStorageMoverProject.ps1 b/src/StorageMover/exports/Update-AzStorageMoverProject.ps1 index c8d2bd0a6054..f1f9d9f7bc3e 100644 --- a/src/StorageMover/exports/Update-AzStorageMoverProject.ps1 +++ b/src/StorageMover/exports/Update-AzStorageMoverProject.ps1 @@ -114,7 +114,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -166,7 +167,7 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { diff --git a/src/StorageMover/generate-info.json b/src/StorageMover/generate-info.json index 4ca8797111c3..605737c59b41 100644 --- a/src/StorageMover/generate-info.json +++ b/src/StorageMover/generate-info.json @@ -1,8 +1,8 @@ { - "swagger_commit": "56435032b69cc7ebb5c1052b66c7865d0c48f33c", + "swagger_commit": "6c6b16dc98d720304633b76c8e82c282ffa9cc08", "node": "v14.15.5", "autorest": "`-- (empty)", - "autorest_core": "3.9.4", + "autorest_core": "3.9.6", "autorest_modelerfour": "4.15.414", - "autorest_powershell": "3.0.499" + "autorest_powershell": "3.0.504" } diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverAgent_Get.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverAgent_Get.cs index 7e0e19a47ee8..e6c333bd785c 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverAgent_Get.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverAgent_Get.cs @@ -42,9 +42,10 @@ public partial class GetAzStorageMoverAgent_Get : global::System.Management.Auto public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverAgent_GetViaIdentity.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverAgent_GetViaIdentity.cs index 431067b8d630..03021031422a 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverAgent_GetViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverAgent_GetViaIdentity.cs @@ -42,9 +42,10 @@ public partial class GetAzStorageMoverAgent_GetViaIdentity : global::System.Mana public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverAgent_List.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverAgent_List.cs index 6d4f3f8d3d09..809ddb9a7c79 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverAgent_List.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverAgent_List.cs @@ -48,9 +48,10 @@ public partial class GetAzStorageMoverAgent_List : global::System.Management.Aut public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverEndpoint_Get.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverEndpoint_Get.cs index 800c9908600e..e86a5dce5506 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverEndpoint_Get.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverEndpoint_Get.cs @@ -42,9 +42,10 @@ public partial class GetAzStorageMoverEndpoint_Get : global::System.Management.A public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverEndpoint_GetViaIdentity.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverEndpoint_GetViaIdentity.cs index 2c0b5856218c..13036d758899 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverEndpoint_GetViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverEndpoint_GetViaIdentity.cs @@ -42,9 +42,10 @@ public partial class GetAzStorageMoverEndpoint_GetViaIdentity : global::System.M public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverEndpoint_List.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverEndpoint_List.cs index ea08f67f5ef8..02197758549d 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverEndpoint_List.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverEndpoint_List.cs @@ -48,9 +48,10 @@ public partial class GetAzStorageMoverEndpoint_List : global::System.Management. public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobDefinition_Get.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobDefinition_Get.cs index 4b10ffdac1a6..8a55d39c6e8e 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobDefinition_Get.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobDefinition_Get.cs @@ -42,9 +42,10 @@ public partial class GetAzStorageMoverJobDefinition_Get : global::System.Managem public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobDefinition_GetViaIdentity.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobDefinition_GetViaIdentity.cs index b64763a785e8..4a9212de6f24 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobDefinition_GetViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobDefinition_GetViaIdentity.cs @@ -42,9 +42,10 @@ public partial class GetAzStorageMoverJobDefinition_GetViaIdentity : global::Sys public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobDefinition_List.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobDefinition_List.cs index 51a958f31cab..eb8af3eb39f0 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobDefinition_List.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobDefinition_List.cs @@ -48,9 +48,10 @@ public partial class GetAzStorageMoverJobDefinition_List : global::System.Manage public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobRun_Get.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobRun_Get.cs index bb62121e6e03..77ec44a23593 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobRun_Get.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobRun_Get.cs @@ -42,9 +42,10 @@ public partial class GetAzStorageMoverJobRun_Get : global::System.Management.Aut public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobRun_GetViaIdentity.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobRun_GetViaIdentity.cs index 941e366b3924..a067ed216441 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobRun_GetViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobRun_GetViaIdentity.cs @@ -42,9 +42,10 @@ public partial class GetAzStorageMoverJobRun_GetViaIdentity : global::System.Man public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobRun_List.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobRun_List.cs index 37b691ad22cd..758455211774 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobRun_List.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverJobRun_List.cs @@ -48,9 +48,10 @@ public partial class GetAzStorageMoverJobRun_List : global::System.Management.Au public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverOperation_List.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverOperation_List.cs index 24d02066beb3..c138f80b0117 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverOperation_List.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverOperation_List.cs @@ -49,9 +49,10 @@ public partial class GetAzStorageMoverOperation_List : global::System.Management public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverProject_Get.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverProject_Get.cs index 26a1205942a1..0ecdf805340e 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverProject_Get.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverProject_Get.cs @@ -42,9 +42,10 @@ public partial class GetAzStorageMoverProject_Get : global::System.Management.Au public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverProject_GetViaIdentity.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverProject_GetViaIdentity.cs index b8cf3d6f4485..4a837752c59e 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverProject_GetViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverProject_GetViaIdentity.cs @@ -42,9 +42,10 @@ public partial class GetAzStorageMoverProject_GetViaIdentity : global::System.Ma public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMoverProject_List.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMoverProject_List.cs index 2126f0c6e0d4..d5a84b5facd8 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMoverProject_List.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMoverProject_List.cs @@ -48,9 +48,10 @@ public partial class GetAzStorageMoverProject_List : global::System.Management.A public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMover_Get.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMover_Get.cs index c7fcf879f15b..d450084c952a 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMover_Get.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMover_Get.cs @@ -42,9 +42,10 @@ public partial class GetAzStorageMover_Get : global::System.Management.Automatio public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMover_GetViaIdentity.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMover_GetViaIdentity.cs index 495436c6eacf..c27fef67a4bd 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMover_GetViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMover_GetViaIdentity.cs @@ -42,9 +42,10 @@ public partial class GetAzStorageMover_GetViaIdentity : global::System.Managemen public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMover_List.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMover_List.cs index 9ed5f20da059..2af8abad00cb 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMover_List.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMover_List.cs @@ -48,9 +48,10 @@ public partial class GetAzStorageMover_List : global::System.Management.Automati public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/GetAzStorageMover_List1.cs b/src/StorageMover/generated/cmdlets/GetAzStorageMover_List1.cs index 6cd6d8339583..887baffab71f 100644 --- a/src/StorageMover/generated/cmdlets/GetAzStorageMover_List1.cs +++ b/src/StorageMover/generated/cmdlets/GetAzStorageMover_List1.cs @@ -48,9 +48,10 @@ public partial class GetAzStorageMover_List1 : global::System.Management.Automat public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/NewAzStorageMoverEndpoint_CreateExpanded.cs b/src/StorageMover/generated/cmdlets/NewAzStorageMoverEndpoint_CreateExpanded.cs index d4f68e8b824b..242de2bd7bff 100644 --- a/src/StorageMover/generated/cmdlets/NewAzStorageMoverEndpoint_CreateExpanded.cs +++ b/src/StorageMover/generated/cmdlets/NewAzStorageMoverEndpoint_CreateExpanded.cs @@ -50,9 +50,10 @@ public partial class NewAzStorageMoverEndpoint_CreateExpanded : global::System.M public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/NewAzStorageMoverJobDefinition_Create.cs b/src/StorageMover/generated/cmdlets/NewAzStorageMoverJobDefinition_Create.cs index 256102636f20..d656f58ec505 100644 --- a/src/StorageMover/generated/cmdlets/NewAzStorageMoverJobDefinition_Create.cs +++ b/src/StorageMover/generated/cmdlets/NewAzStorageMoverJobDefinition_Create.cs @@ -44,9 +44,10 @@ public partial class NewAzStorageMoverJobDefinition_Create : global::System.Mana public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/NewAzStorageMoverJobDefinition_CreateExpanded.cs b/src/StorageMover/generated/cmdlets/NewAzStorageMoverJobDefinition_CreateExpanded.cs index d896350c943e..734cbd4170a0 100644 --- a/src/StorageMover/generated/cmdlets/NewAzStorageMoverJobDefinition_CreateExpanded.cs +++ b/src/StorageMover/generated/cmdlets/NewAzStorageMoverJobDefinition_CreateExpanded.cs @@ -70,9 +70,10 @@ public partial class NewAzStorageMoverJobDefinition_CreateExpanded : global::Sys public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode CopyMode { get => _jobDefinitionBody.CopyMode; set => _jobDefinitionBody.CopyMode = value; } /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/NewAzStorageMoverProject_Create.cs b/src/StorageMover/generated/cmdlets/NewAzStorageMoverProject_Create.cs index 088bb16d06f5..ed811e09f79c 100644 --- a/src/StorageMover/generated/cmdlets/NewAzStorageMoverProject_Create.cs +++ b/src/StorageMover/generated/cmdlets/NewAzStorageMoverProject_Create.cs @@ -44,9 +44,10 @@ public partial class NewAzStorageMoverProject_Create : global::System.Management public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/NewAzStorageMoverProject_CreateExpanded.cs b/src/StorageMover/generated/cmdlets/NewAzStorageMoverProject_CreateExpanded.cs index 1b4f74e18671..1ab78495abb8 100644 --- a/src/StorageMover/generated/cmdlets/NewAzStorageMoverProject_CreateExpanded.cs +++ b/src/StorageMover/generated/cmdlets/NewAzStorageMoverProject_CreateExpanded.cs @@ -47,9 +47,10 @@ public partial class NewAzStorageMoverProject_CreateExpanded : global::System.Ma public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/NewAzStorageMover_Create.cs b/src/StorageMover/generated/cmdlets/NewAzStorageMover_Create.cs index 89c1b1df3f0b..b95a9bff5768 100644 --- a/src/StorageMover/generated/cmdlets/NewAzStorageMover_Create.cs +++ b/src/StorageMover/generated/cmdlets/NewAzStorageMover_Create.cs @@ -42,9 +42,10 @@ public partial class NewAzStorageMover_Create : global::System.Management.Automa public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/NewAzStorageMover_CreateExpanded.cs b/src/StorageMover/generated/cmdlets/NewAzStorageMover_CreateExpanded.cs index dfa985751fb4..588312d4a1ea 100644 --- a/src/StorageMover/generated/cmdlets/NewAzStorageMover_CreateExpanded.cs +++ b/src/StorageMover/generated/cmdlets/NewAzStorageMover_CreateExpanded.cs @@ -47,9 +47,10 @@ public partial class NewAzStorageMover_CreateExpanded : global::System.Managemen public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverAgent_Delete.cs b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverAgent_Delete.cs index c4a472a9348c..5e569949abd7 100644 --- a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverAgent_Delete.cs +++ b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverAgent_Delete.cs @@ -48,9 +48,10 @@ public partial class RemoveAzStorageMoverAgent_Delete : global::System.Managemen public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverAgent_DeleteViaIdentity.cs b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverAgent_DeleteViaIdentity.cs index 7063ddc37643..7f90963af35d 100644 --- a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverAgent_DeleteViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverAgent_DeleteViaIdentity.cs @@ -48,9 +48,10 @@ public partial class RemoveAzStorageMoverAgent_DeleteViaIdentity : global::Syste public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverEndpoint_Delete.cs b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverEndpoint_Delete.cs index 732c3d289ddf..4b0e65eb1752 100644 --- a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverEndpoint_Delete.cs +++ b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverEndpoint_Delete.cs @@ -47,9 +47,10 @@ public partial class RemoveAzStorageMoverEndpoint_Delete : global::System.Manage public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverEndpoint_DeleteViaIdentity.cs b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverEndpoint_DeleteViaIdentity.cs index 0cd119bd6c31..cd121805424c 100644 --- a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverEndpoint_DeleteViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverEndpoint_DeleteViaIdentity.cs @@ -47,9 +47,10 @@ public partial class RemoveAzStorageMoverEndpoint_DeleteViaIdentity : global::Sy public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverJobDefinition_Delete.cs b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverJobDefinition_Delete.cs index ba4dd0c0071a..6608037f0d7a 100644 --- a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverJobDefinition_Delete.cs +++ b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverJobDefinition_Delete.cs @@ -47,9 +47,10 @@ public partial class RemoveAzStorageMoverJobDefinition_Delete : global::System.M public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverJobDefinition_DeleteViaIdentity.cs b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverJobDefinition_DeleteViaIdentity.cs index 540773d7f8f6..03d7b4263481 100644 --- a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverJobDefinition_DeleteViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverJobDefinition_DeleteViaIdentity.cs @@ -47,9 +47,10 @@ public partial class RemoveAzStorageMoverJobDefinition_DeleteViaIdentity : globa public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverProject_Delete.cs b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverProject_Delete.cs index 63641f79c13a..4a0b2a410c8c 100644 --- a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverProject_Delete.cs +++ b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverProject_Delete.cs @@ -47,9 +47,10 @@ public partial class RemoveAzStorageMoverProject_Delete : global::System.Managem public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverProject_DeleteViaIdentity.cs b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverProject_DeleteViaIdentity.cs index 3c39df712bcb..8cdc51a966f3 100644 --- a/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverProject_DeleteViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/RemoveAzStorageMoverProject_DeleteViaIdentity.cs @@ -47,9 +47,10 @@ public partial class RemoveAzStorageMoverProject_DeleteViaIdentity : global::Sys public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/RemoveAzStorageMover_Delete.cs b/src/StorageMover/generated/cmdlets/RemoveAzStorageMover_Delete.cs index 3289227fc88b..cfd5b86815a7 100644 --- a/src/StorageMover/generated/cmdlets/RemoveAzStorageMover_Delete.cs +++ b/src/StorageMover/generated/cmdlets/RemoveAzStorageMover_Delete.cs @@ -48,9 +48,10 @@ public partial class RemoveAzStorageMover_Delete : global::System.Management.Aut public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/RemoveAzStorageMover_DeleteViaIdentity.cs b/src/StorageMover/generated/cmdlets/RemoveAzStorageMover_DeleteViaIdentity.cs index 8e0f349e04b3..ce8eb0adb87b 100644 --- a/src/StorageMover/generated/cmdlets/RemoveAzStorageMover_DeleteViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/RemoveAzStorageMover_DeleteViaIdentity.cs @@ -48,9 +48,10 @@ public partial class RemoveAzStorageMover_DeleteViaIdentity : global::System.Man public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/StartAzStorageMoverJobDefinition_Start.cs b/src/StorageMover/generated/cmdlets/StartAzStorageMoverJobDefinition_Start.cs index e2f562a99f7a..eb8c6ccfc36a 100644 --- a/src/StorageMover/generated/cmdlets/StartAzStorageMoverJobDefinition_Start.cs +++ b/src/StorageMover/generated/cmdlets/StartAzStorageMoverJobDefinition_Start.cs @@ -44,9 +44,10 @@ public partial class StartAzStorageMoverJobDefinition_Start : global::System.Man public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/StartAzStorageMoverJobDefinition_StartViaIdentity.cs b/src/StorageMover/generated/cmdlets/StartAzStorageMoverJobDefinition_StartViaIdentity.cs index 9c88b26b1a9d..c4f9adfbe032 100644 --- a/src/StorageMover/generated/cmdlets/StartAzStorageMoverJobDefinition_StartViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/StartAzStorageMoverJobDefinition_StartViaIdentity.cs @@ -44,9 +44,10 @@ public partial class StartAzStorageMoverJobDefinition_StartViaIdentity : global: public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/StopAzStorageMoverJobDefinition_Stop.cs b/src/StorageMover/generated/cmdlets/StopAzStorageMoverJobDefinition_Stop.cs index 101446c26620..5b3a9e7cb651 100644 --- a/src/StorageMover/generated/cmdlets/StopAzStorageMoverJobDefinition_Stop.cs +++ b/src/StorageMover/generated/cmdlets/StopAzStorageMoverJobDefinition_Stop.cs @@ -42,9 +42,10 @@ public partial class StopAzStorageMoverJobDefinition_Stop : global::System.Manag public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/StopAzStorageMoverJobDefinition_StopViaIdentity.cs b/src/StorageMover/generated/cmdlets/StopAzStorageMoverJobDefinition_StopViaIdentity.cs index 244aecabdbd5..4570e5ad24cb 100644 --- a/src/StorageMover/generated/cmdlets/StopAzStorageMoverJobDefinition_StopViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/StopAzStorageMoverJobDefinition_StopViaIdentity.cs @@ -42,9 +42,10 @@ public partial class StopAzStorageMoverJobDefinition_StopViaIdentity : global::S public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_Update.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_Update.cs index 29c1b927f948..e850c059a90e 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_Update.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_Update.cs @@ -55,9 +55,10 @@ public partial class UpdateAzStorageMoverAgent_Update : global::System.Managemen public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateExpanded.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateExpanded.cs index 81ad79954434..ba39f0c300b7 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateExpanded.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateExpanded.cs @@ -45,9 +45,10 @@ public partial class UpdateAzStorageMoverAgent_UpdateExpanded : global::System.M public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentity.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentity.cs index f2e38c780301..eeee5fe7b4bc 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentity.cs @@ -55,9 +55,10 @@ public partial class UpdateAzStorageMoverAgent_UpdateViaIdentity : global::Syste public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentityExpanded.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentityExpanded.cs index 151f6f60b7a1..74d2583e25cf 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentityExpanded.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentityExpanded.cs @@ -45,9 +45,10 @@ public partial class UpdateAzStorageMoverAgent_UpdateViaIdentityExpanded : globa public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateExpanded.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateExpanded.cs index f2b0ae5a08e5..120eb3137ee9 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateExpanded.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateExpanded.cs @@ -48,9 +48,10 @@ public partial class UpdateAzStorageMoverEndpoint_UpdateExpanded : global::Syste public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateViaIdentityExpanded.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateViaIdentityExpanded.cs index 8084220b7ff2..5ff8fee0e314 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateViaIdentityExpanded.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateViaIdentityExpanded.cs @@ -48,9 +48,10 @@ public partial class UpdateAzStorageMoverEndpoint_UpdateViaIdentityExpanded : gl public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_Update.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_Update.cs index 6c8c3c52e847..076a421b2ef4 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_Update.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_Update.cs @@ -44,9 +44,10 @@ public partial class UpdateAzStorageMoverJobDefinition_Update : global::System.M public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateExpanded.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateExpanded.cs index f449b2990e52..2a4b8b8db532 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateExpanded.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateExpanded.cs @@ -70,9 +70,10 @@ public partial class UpdateAzStorageMoverJobDefinition_UpdateExpanded : global:: public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode CopyMode { get => _jobDefinitionBody.CopyMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode)""); set => _jobDefinitionBody.CopyMode = value; } /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentity.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentity.cs index eaf43f29319a..208be604e673 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentity.cs @@ -44,9 +44,10 @@ public partial class UpdateAzStorageMoverJobDefinition_UpdateViaIdentity : globa public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentityExpanded.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentityExpanded.cs index 0a092c292c2d..60ada0b92eb8 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentityExpanded.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentityExpanded.cs @@ -70,9 +70,10 @@ public partial class UpdateAzStorageMoverJobDefinition_UpdateViaIdentityExpanded public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode CopyMode { get => _jobDefinitionBody.CopyMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode)""); set => _jobDefinitionBody.CopyMode = value; } /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_Update.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_Update.cs index 05fb25bbc3d7..83bdfd94ba25 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_Update.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_Update.cs @@ -44,9 +44,10 @@ public partial class UpdateAzStorageMoverProject_Update : global::System.Managem public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_UpdateExpanded.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_UpdateExpanded.cs index 9568fe4b7dd7..8a569c516fc5 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_UpdateExpanded.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_UpdateExpanded.cs @@ -47,9 +47,10 @@ public partial class UpdateAzStorageMoverProject_UpdateExpanded : global::System public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentity.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentity.cs index 3f19969f81e9..5a7a7c4135bb 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentity.cs @@ -44,9 +44,10 @@ public partial class UpdateAzStorageMoverProject_UpdateViaIdentity : global::Sys public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentityExpanded.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentityExpanded.cs index eb5db4bb8995..5667aef0475e 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentityExpanded.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentityExpanded.cs @@ -47,9 +47,10 @@ public partial class UpdateAzStorageMoverProject_UpdateViaIdentityExpanded : glo public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_Update.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_Update.cs index c11f247b370d..5866783629f4 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_Update.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_Update.cs @@ -44,9 +44,10 @@ public partial class UpdateAzStorageMover_Update : global::System.Management.Aut public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_UpdateExpanded.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_UpdateExpanded.cs index e233eeb0bb52..1f75b7eb2104 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_UpdateExpanded.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_UpdateExpanded.cs @@ -47,9 +47,10 @@ public partial class UpdateAzStorageMover_UpdateExpanded : global::System.Manage public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentity.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentity.cs index c6f3ee7443e7..156f5cf51f5c 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentity.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentity.cs @@ -44,9 +44,10 @@ public partial class UpdateAzStorageMover_UpdateViaIdentity : global::System.Man public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentityExpanded.cs b/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentityExpanded.cs index 6092cee03d2f..de33dcd4b9e9 100644 --- a/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentityExpanded.cs +++ b/src/StorageMover/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentityExpanded.cs @@ -47,9 +47,10 @@ public partial class UpdateAzStorageMover_UpdateViaIdentityExpanded : global::Sy public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.StorageMover Client => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Module.Instance.ClientAPI; /// - /// The credentials, account, tenant, and subscription used for communication with Azure + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] [global::System.Management.Automation.ValidateNotNull] [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Azure)] diff --git a/src/StorageMover/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/src/StorageMover/generated/runtime/BuildTime/Models/PsProxyOutputs.cs index 0a1caa218906..c35ae7424178 100644 --- a/src/StorageMover/generated/runtime/BuildTime/Models/PsProxyOutputs.cs +++ b/src/StorageMover/generated/runtime/BuildTime/Models/PsProxyOutputs.cs @@ -199,7 +199,7 @@ private string GetTelemetry() { return $@" {Indent}{Indent}if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {{ -{Indent}{Indent}{Indent}[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() +{Indent}{Indent}{Indent}[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() {Indent}{Indent}}} {Indent}{Indent}$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId {Indent}{Indent}if ($preTelemetryId -eq '') {{ diff --git a/src/StorageMover/generated/runtime/MessageAttributeHelper.cs b/src/StorageMover/generated/runtime/MessageAttributeHelper.cs index 614546523816..61400750d93d 100644 --- a/src/StorageMover/generated/runtime/MessageAttributeHelper.cs +++ b/src/StorageMover/generated/runtime/MessageAttributeHelper.cs @@ -23,6 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime using System.Threading.Tasks; public class MessageAttributeHelper { + private static readonly bool IsAzure = Convert.ToBoolean(@"true"); public const string BREAKING_CHANGE_ATTRIBUTE_INFORMATION_LINK = "https://aka.ms/azps-changewarnings"; public const string SUPPRESS_ERROR_OR_WARNING_MESSAGE_ENV_VARIABLE_NAME = "SuppressAzurePowerShellBreakingChangeWarnings"; @@ -52,7 +53,10 @@ public static void ProcessCustomAttributesAtRuntime(CommandInfo commandInfo, Inv //Do not process the attributes at runtime... The env variable to override the warning messages is set return; } - + if (IsAzure && invocationInfo.BoundParameters.ContainsKey("DefaultProfile")) + { + psCmdlet.WriteWarning("The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription."); + } List attributes = new List(GetAllBreakingChangeAttributesInType(commandInfo, invocationInfo, parameterSet)); StringBuilder sb = new StringBuilder(); Action appendBreakingChangeInfo = (string s) => sb.Append(s); diff --git a/src/StorageMover/help/Get-AzStorageMover.md b/src/StorageMover/help/Get-AzStorageMover.md index 0ba79fd87e23..047ff51dcb18 100644 --- a/src/StorageMover/help/Get-AzStorageMover.md +++ b/src/StorageMover/help/Get-AzStorageMover.md @@ -137,7 +137,8 @@ This command gets a specific Storage mover. ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/Get-AzStorageMoverAgent.md b/src/StorageMover/help/Get-AzStorageMoverAgent.md index ba00a24c8fd8..3e2ed3de4a30 100644 --- a/src/StorageMover/help/Get-AzStorageMoverAgent.md +++ b/src/StorageMover/help/Get-AzStorageMoverAgent.md @@ -101,7 +101,8 @@ This command gets a specific agent. ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/Get-AzStorageMoverEndpoint.md b/src/StorageMover/help/Get-AzStorageMoverEndpoint.md index ff59cf25d6ff..be4d48a8afaa 100644 --- a/src/StorageMover/help/Get-AzStorageMoverEndpoint.md +++ b/src/StorageMover/help/Get-AzStorageMoverEndpoint.md @@ -104,7 +104,8 @@ This command gets a specific endpoint under a Storage mover. ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/Get-AzStorageMoverJobDefinition.md b/src/StorageMover/help/Get-AzStorageMoverJobDefinition.md index f64702e1cabb..6f5337049bd3 100644 --- a/src/StorageMover/help/Get-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/help/Get-AzStorageMoverJobDefinition.md @@ -104,7 +104,8 @@ This command gets a specific job definition. ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/Get-AzStorageMoverJobRun.md b/src/StorageMover/help/Get-AzStorageMoverJobRun.md index 8d2ae87ac988..b2408811c133 100644 --- a/src/StorageMover/help/Get-AzStorageMoverJobRun.md +++ b/src/StorageMover/help/Get-AzStorageMoverJobRun.md @@ -145,7 +145,8 @@ This command gets a specific job run. ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/Get-AzStorageMoverProject.md b/src/StorageMover/help/Get-AzStorageMoverProject.md index cccaa3a5543c..7780df76a83e 100644 --- a/src/StorageMover/help/Get-AzStorageMoverProject.md +++ b/src/StorageMover/help/Get-AzStorageMoverProject.md @@ -92,7 +92,8 @@ This command gets a specific project under a Storage mover. ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/New-AzStorageMover.md b/src/StorageMover/help/New-AzStorageMover.md index d025fbe6a13d..52d046607aec 100644 --- a/src/StorageMover/help/New-AzStorageMover.md +++ b/src/StorageMover/help/New-AzStorageMover.md @@ -58,7 +58,8 @@ This command creates a Storage mover for a resource group. ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/New-AzStorageMoverJobDefinition.md b/src/StorageMover/help/New-AzStorageMoverJobDefinition.md index ca97081892b1..f3eec585b537 100644 --- a/src/StorageMover/help/New-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/help/New-AzStorageMoverJobDefinition.md @@ -99,7 +99,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/New-AzStorageMoverProject.md b/src/StorageMover/help/New-AzStorageMoverProject.md index 72674fbf78af..c4826e8632a6 100644 --- a/src/StorageMover/help/New-AzStorageMoverProject.md +++ b/src/StorageMover/help/New-AzStorageMoverProject.md @@ -56,7 +56,8 @@ This command creates a project for a Storage mover. ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/Remove-AzStorageMoverEndpoint.md b/src/StorageMover/help/Remove-AzStorageMoverEndpoint.md index 0d5a5b310488..d109114ad5bd 100644 --- a/src/StorageMover/help/Remove-AzStorageMoverEndpoint.md +++ b/src/StorageMover/help/Remove-AzStorageMoverEndpoint.md @@ -55,7 +55,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/Remove-AzStorageMoverJobDefinition.md b/src/StorageMover/help/Remove-AzStorageMoverJobDefinition.md index 3df06d69a087..d0629986876b 100644 --- a/src/StorageMover/help/Remove-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/help/Remove-AzStorageMoverJobDefinition.md @@ -55,7 +55,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/Remove-AzStorageMoverProject.md b/src/StorageMover/help/Remove-AzStorageMoverProject.md index 9f34a88b7b9d..c045a6b45b54 100644 --- a/src/StorageMover/help/Remove-AzStorageMoverProject.md +++ b/src/StorageMover/help/Remove-AzStorageMoverProject.md @@ -55,7 +55,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/Start-AzStorageMoverJobDefinition.md b/src/StorageMover/help/Start-AzStorageMoverJobDefinition.md index 07bfc4cc5e98..102795062bd8 100644 --- a/src/StorageMover/help/Start-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/help/Start-AzStorageMoverJobDefinition.md @@ -50,7 +50,8 @@ This command starts a job definition. ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/Stop-AzStorageMoverJobDefinition.md b/src/StorageMover/help/Stop-AzStorageMoverJobDefinition.md index ca15f64a2162..a84618431fe0 100644 --- a/src/StorageMover/help/Stop-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/help/Stop-AzStorageMoverJobDefinition.md @@ -44,7 +44,8 @@ This command stops a job definition. ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/Update-AzStorageMover.md b/src/StorageMover/help/Update-AzStorageMover.md index 3a91d67b198d..79b9de58f678 100644 --- a/src/StorageMover/help/Update-AzStorageMover.md +++ b/src/StorageMover/help/Update-AzStorageMover.md @@ -71,7 +71,8 @@ This command updates the description of a Storage mover. ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/Update-AzStorageMoverAgent.md b/src/StorageMover/help/Update-AzStorageMoverAgent.md index 47cde46503e0..92ee7fe15d34 100644 --- a/src/StorageMover/help/Update-AzStorageMoverAgent.md +++ b/src/StorageMover/help/Update-AzStorageMoverAgent.md @@ -94,7 +94,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/Update-AzStorageMoverJobDefinition.md b/src/StorageMover/help/Update-AzStorageMoverJobDefinition.md index 23a36438c346..584c0291d737 100644 --- a/src/StorageMover/help/Update-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/help/Update-AzStorageMoverJobDefinition.md @@ -113,7 +113,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/help/Update-AzStorageMoverProject.md b/src/StorageMover/help/Update-AzStorageMoverProject.md index c4b637dc2724..483e0ce38fd5 100644 --- a/src/StorageMover/help/Update-AzStorageMoverProject.md +++ b/src/StorageMover/help/Update-AzStorageMoverProject.md @@ -69,7 +69,8 @@ This command updates the description of a project. ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject diff --git a/src/StorageMover/internal/Get-AzStorageMoverOperation.ps1 b/src/StorageMover/internal/Get-AzStorageMoverOperation.ps1 index 079e21b4fc54..d54a5f31e55e 100644 --- a/src/StorageMover/internal/Get-AzStorageMoverOperation.ps1 +++ b/src/StorageMover/internal/Get-AzStorageMoverOperation.ps1 @@ -38,7 +38,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] diff --git a/src/StorageMover/internal/New-AzStorageMoverEndpoint.ps1 b/src/StorageMover/internal/New-AzStorageMoverEndpoint.ps1 index a02d21578127..457a48d2cbff 100644 --- a/src/StorageMover/internal/New-AzStorageMoverEndpoint.ps1 +++ b/src/StorageMover/internal/New-AzStorageMoverEndpoint.ps1 @@ -80,7 +80,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] diff --git a/src/StorageMover/internal/ProxyCmdletDefinitions.ps1 b/src/StorageMover/internal/ProxyCmdletDefinitions.ps1 index 8b550fd2782e..fce61b7ce606 100644 --- a/src/StorageMover/internal/ProxyCmdletDefinitions.ps1 +++ b/src/StorageMover/internal/ProxyCmdletDefinitions.ps1 @@ -38,7 +38,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -189,7 +190,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -352,7 +354,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] @@ -526,7 +529,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] @@ -720,7 +724,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] diff --git a/src/StorageMover/internal/Remove-AzStorageMover.ps1 b/src/StorageMover/internal/Remove-AzStorageMover.ps1 index 4b73d4e04cfa..c4123ec9384b 100644 --- a/src/StorageMover/internal/Remove-AzStorageMover.ps1 +++ b/src/StorageMover/internal/Remove-AzStorageMover.ps1 @@ -81,7 +81,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] diff --git a/src/StorageMover/internal/Remove-AzStorageMoverAgent.ps1 b/src/StorageMover/internal/Remove-AzStorageMoverAgent.ps1 index 90def201f96d..b7f92b6b067e 100644 --- a/src/StorageMover/internal/Remove-AzStorageMoverAgent.ps1 +++ b/src/StorageMover/internal/Remove-AzStorageMoverAgent.ps1 @@ -89,7 +89,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] diff --git a/src/StorageMover/internal/Update-AzStorageMoverEndpoint.ps1 b/src/StorageMover/internal/Update-AzStorageMoverEndpoint.ps1 index 14d3b56184a9..ee3d6bf13eff 100644 --- a/src/StorageMover/internal/Update-AzStorageMoverEndpoint.ps1 +++ b/src/StorageMover/internal/Update-AzStorageMoverEndpoint.ps1 @@ -101,7 +101,8 @@ param( [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] From 7d2f65ff1fa20054882eeaa7e4767c6e6a4ba2d6 Mon Sep 17 00:00:00 2001 From: Vincent Dai <23257217+vidai-msft@users.noreply.github.com> Date: Wed, 7 Jun 2023 13:38:23 +0800 Subject: [PATCH 2/2] Update ChangeLog.md --- src/StorageMover/ChangeLog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/StorageMover/ChangeLog.md b/src/StorageMover/ChangeLog.md index a13bfc54946c..c651ee5209ae 100644 --- a/src/StorageMover/ChangeLog.md +++ b/src/StorageMover/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Fix the issue of $Host conflicting with system parameter $Host ## Version 1.0.0 * General availability for module Az.StorageMover