diff --git a/src/Websites/Websites/ChangeLog.md b/src/Websites/Websites/ChangeLog.md index 3478e8c6d78c..48ea72568500 100644 --- a/src/Websites/Websites/ChangeLog.md +++ b/src/Websites/Websites/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Updated 'New-AzWebAppContainerPSSession' with CmdletDeprecation Attribute [#16646] * Updated `Restore-AzDeletedWebApp` to fix issue that prevents the cmdlet from working on hosts with a locale is anything different from `en-US` ## Version 2.11.0 diff --git a/src/Websites/Websites/Cmdlets/WebApps/NewAzureRmWebAppContainerPSSession.cs b/src/Websites/Websites/Cmdlets/WebApps/NewAzureRmWebAppContainerPSSession.cs index cd64be04f7be..66da8a7efc55 100644 --- a/src/Websites/Websites/Cmdlets/WebApps/NewAzureRmWebAppContainerPSSession.cs +++ b/src/Websites/Websites/Cmdlets/WebApps/NewAzureRmWebAppContainerPSSession.cs @@ -13,12 +13,14 @@ // ---------------------------------------------------------------------------------- using System.Management.Automation; using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.WindowsAzure.Commands.Common.CustomAttributes; using Microsoft.WindowsAzure.Commands.Utilities.Common; namespace Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps { /// /// this commandlet will create remote ps session with site /// + [CmdletDeprecation()] [Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "WebAppContainerPSSession", DefaultParameterSetName = ParameterSet1Name, SupportsShouldProcess = true)] [OutputType(typeof(System.Management.Automation.Runspaces.PSSession))] public class NewAzureRmWebAppContainerPSSession : WebAppBaseCmdlet