diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightConfigValuesCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightConfigValuesCmdlet.cs
index 14aac360e13a..fd175d2d7658 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightConfigValuesCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightConfigValuesCmdlet.cs
@@ -161,7 +161,6 @@ protected override void EndProcessing()
{
try
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.EndProcessing().Wait();
foreach (AzureHDInsightConfig output in this.command.Output)
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightMetastoreCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightMetastoreCmdlet.cs
index e6b0482ca44f..bc0bfc5a6883 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightMetastoreCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightMetastoreCmdlet.cs
@@ -106,7 +106,6 @@ protected override void EndProcessing()
{
try
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.EndProcessing().Wait();
foreach (AzureHDInsightConfig output in this.command.Output)
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightScriptActionCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightScriptActionCmdlet.cs
index 672c05824904..62ca10305f8f 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightScriptActionCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightScriptActionCmdlet.cs
@@ -105,7 +105,6 @@ protected override void EndProcessing()
{
try
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.EndProcessing().Wait();
foreach (AzureHDInsightConfig output in this.command.Output)
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightStorageCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightStorageCmdlet.cs
index ec633e25a0b2..c51612580cdd 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightStorageCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightStorageCmdlet.cs
@@ -82,7 +82,6 @@ protected override void EndProcessing()
{
try
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.EndProcessing().Wait();
foreach (AzureHDInsightConfig output in this.command.Output)
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHDInsightCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHDInsightCmdlet.cs
index 6f031f179c9c..8e9bcdd35219 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHDInsightCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHDInsightCmdlet.cs
@@ -38,7 +38,6 @@ public abstract class AzureHDInsightCmdlet : AzurePSCmdlet
private ILogWriter logger;
-
///
/// Gets or sets a value indicating whether logging should be enabled.
///
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHdInsightPowerShellHardCodes.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHdInsightPowerShellHardCodes.cs
index d9b182b753b2..685c08c7310f 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHdInsightPowerShellHardCodes.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHdInsightPowerShellHardCodes.cs
@@ -104,8 +104,5 @@ internal class AzureHdInsightPowerShellConstants
public const string Show = "Show";
public const string Skip = "Skip";
public const string ToDateTime = "To";
-
- public const string AsmWarning =
- "WARNING: The Azure Service Management (ASM) cmdlets for HDInsight are deprecated and will be non-default in a future release, and they will be removed soon thereafter. Please use Switch-AzureMode AzureResourceManager to use the Azure Resource Manager cmdlets for HDInsight.";
}
}
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightClusterCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightClusterCmdlet.cs
index 149855546b15..ba90e36e0099 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightClusterCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightClusterCmdlet.cs
@@ -108,7 +108,6 @@ protected override void EndProcessing()
{
try
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.CurrentSubscription = this.GetCurrentSubscription(this.Subscription, this.Certificate);
this.command.Logger = this.Logger;
Task task = this.command.EndProcessing();
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightJobCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightJobCmdlet.cs
index 6cc20146356c..b06de1fb73cd 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightJobCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightJobCmdlet.cs
@@ -128,7 +128,6 @@ protected override void EndProcessing()
{
try
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.CurrentSubscription = this.GetCurrentSubscription(this.Subscription, this.Certificate);
this.command.Logger = this.Logger;
Task task = this.command.EndProcessing();
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightJobOutputCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightJobOutputCmdlet.cs
index 112ecfdbadb4..a44e112ca06f 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightJobOutputCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightJobOutputCmdlet.cs
@@ -140,7 +140,6 @@ public string TaskLogsDirectory
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.Logger = this.Logger;
this.command.CurrentSubscription = this.GetCurrentSubscription(this.Subscription, this.Certificate);
this.AssertTaskLogsDirectorySpecified(this.TaskLogsDirectory);
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightPropertiesCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightPropertiesCmdlet.cs
index c346efef255b..e95bbb6a07f0 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightPropertiesCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightPropertiesCmdlet.cs
@@ -106,7 +106,6 @@ public string Subscription
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.Logger = this.Logger;
try
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GrantAzureHDInsightHttpServicesAccessCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GrantAzureHDInsightHttpServicesAccessCmdlet.cs
index 137e24c4d996..7cdb66d4c14f 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GrantAzureHDInsightHttpServicesAccessCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GrantAzureHDInsightHttpServicesAccessCmdlet.cs
@@ -130,7 +130,6 @@ public string Subscription
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.Enable = true;
try
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GrantAzureHdinsightRdpAccessCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GrantAzureHdinsightRdpAccessCmdlet.cs
index 293e2aaede78..ac92c9dbc5a3 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GrantAzureHdinsightRdpAccessCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GrantAzureHdinsightRdpAccessCmdlet.cs
@@ -136,7 +136,6 @@ public string Subscription
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.Enable = true;
try
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/InvokeHiveCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/InvokeHiveCmdlet.cs
index 817353e69cf0..2fad60725cd7 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/InvokeHiveCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/InvokeHiveCmdlet.cs
@@ -138,7 +138,6 @@ protected override void EndProcessing()
this.command.Connection = currentConnection;
try
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.Logger = this.Logger;
this.command.CurrentSubscription = this.GetCurrentSubscription(string.Empty, null);
Task task = this.command.EndProcessing();
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterCmdlet.cs
index 6c204fb5d5b0..17a58c45876b 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterCmdlet.cs
@@ -436,7 +436,6 @@ protected override void BeginProcessing()
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
DateTime start = DateTime.Now;
string msg = string.Format(CultureInfo.CurrentCulture, "Create Cluster Started : {0}", start.ToString(CultureInfo.CurrentCulture));
this.Logger.Log(Severity.Informational, Verbosity.Detailed, msg);
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterConfigCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterConfigCmdlet.cs
index 85584d210856..715edd67618e 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterConfigCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterConfigCmdlet.cs
@@ -107,7 +107,6 @@ public string ZookeeperNodeVMSize
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.EndProcessing().Wait();
foreach (AzureHDInsightConfig output in this.command.Output)
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightHiveJobDefinitionCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightHiveJobDefinitionCmdlet.cs
index 73a1d21309f9..cc37dfd51f62 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightHiveJobDefinitionCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightHiveJobDefinitionCmdlet.cs
@@ -116,7 +116,6 @@ public string StatusFolder
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
if (this.File.IsNullOrEmpty() && this.Query.IsNullOrEmpty())
{
throw new PSArgumentException("Either File or Query should be specified for Hive jobs.");
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightMapReduceDefinitionCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightMapReduceDefinitionCmdlet.cs
index e87bf391d69d..1241bbaeb213 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightMapReduceDefinitionCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightMapReduceDefinitionCmdlet.cs
@@ -118,7 +118,6 @@ public string StatusFolder
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.EndProcessing().Wait();
foreach (AzureHDInsightMapReduceJobDefinition output in this.command.Output)
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightPigJobDefinitionCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightPigJobDefinitionCmdlet.cs
index 8abda341481c..f831f16d2562 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightPigJobDefinitionCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightPigJobDefinitionCmdlet.cs
@@ -90,7 +90,6 @@ public string StatusFolder
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
if (this.File.IsNullOrEmpty() && this.Query.IsNullOrEmpty())
{
throw new PSArgumentException("Either File or Query should be specified for Pig jobs.");
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightSqoopJobDefinitionCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightSqoopJobDefinitionCmdlet.cs
index 70ba7c78a290..83be88812484 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightSqoopJobDefinitionCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightSqoopJobDefinitionCmdlet.cs
@@ -79,7 +79,6 @@ public string StatusFolder
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
if (this.File.IsNullOrEmpty() && this.Command.IsNullOrEmpty())
{
throw new PSArgumentException("Either File or Command should be specified for Sqoop jobs.");
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightStreamingJobDefinitionCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightStreamingJobDefinitionCmdlet.cs
index 6f0b3be609f9..28908089d58d 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightStreamingJobDefinitionCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightStreamingJobDefinitionCmdlet.cs
@@ -142,7 +142,6 @@ public string StatusFolder
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.EndProcessing().Wait();
foreach (AzureHDInsightStreamingMapReduceJobDefinition output in this.command.Output)
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/RemoveClusterHDInsightClusterCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/RemoveClusterHDInsightClusterCmdlet.cs
index 1c5e4ebb478d..d262576da487 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/RemoveClusterHDInsightClusterCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/RemoveClusterHDInsightClusterCmdlet.cs
@@ -105,7 +105,6 @@ public string Subscription
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
try
{
this.command.CurrentSubscription = this.GetCurrentSubscription(this.Subscription, this.Certificate);
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/RevokeAzureHDInsightHttpServicesAccessCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/RevokeAzureHDInsightHttpServicesAccessCmdlet.cs
index a5ceb9ddc153..9ee72f2e85b9 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/RevokeAzureHDInsightHttpServicesAccessCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/RevokeAzureHDInsightHttpServicesAccessCmdlet.cs
@@ -129,7 +129,6 @@ public string Subscription
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.Enable = false;
try
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/RevokeAzureHDInsightRdpAccessCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/RevokeAzureHDInsightRdpAccessCmdlet.cs
index aceda2af9568..3cbcff1d7eb5 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/RevokeAzureHDInsightRdpAccessCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/RevokeAzureHDInsightRdpAccessCmdlet.cs
@@ -134,7 +134,6 @@ public string Subscription
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.Enable = false;
try
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightClusterSizeCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightClusterSizeCmdlet.cs
index abe769cd360e..1bfa29a88682 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightClusterSizeCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightClusterSizeCmdlet.cs
@@ -124,7 +124,6 @@ public SetAzureHDInsightClusterSizeCmdlet()
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
if (Cluster != null)
{
Name = Cluster.Name;
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightDefaultStorageCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightDefaultStorageCmdlet.cs
index 8175d4dbebcd..630980f02129 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightDefaultStorageCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightDefaultStorageCmdlet.cs
@@ -88,7 +88,6 @@ public string StorageContainerName
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
this.command.EndProcessing().Wait();
foreach (AzureHDInsightConfig output in this.command.Output)
{
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/StartAzureHDInsightJobCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/StartAzureHDInsightJobCmdlet.cs
index ae4f5f008513..7ffcbbbf4d25 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/StartAzureHDInsightJobCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/StartAzureHDInsightJobCmdlet.cs
@@ -126,7 +126,6 @@ public string Subscription
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
try
{
this.command.Logger = this.Logger;
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/StopAzureHDInsightJobCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/StopAzureHDInsightJobCmdlet.cs
index 6ecfd33af2a7..c382e85680ae 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/StopAzureHDInsightJobCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/StopAzureHDInsightJobCmdlet.cs
@@ -123,7 +123,6 @@ public string Subscription
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
try
{
this.command.Logger = this.Logger;
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/UseAzureHDInsightClusterCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/UseAzureHDInsightClusterCmdlet.cs
index 8a72e678e941..63be227578f9 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/UseAzureHDInsightClusterCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/UseAzureHDInsightClusterCmdlet.cs
@@ -109,7 +109,6 @@ public string Subscription
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
try
{
this.command.Logger = this.Logger;
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/WaitAzureHDInsightJobCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/WaitAzureHDInsightJobCmdlet.cs
index 07ac42fceb89..7c18b0e6af94 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/WaitAzureHDInsightJobCmdlet.cs
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/WaitAzureHDInsightJobCmdlet.cs
@@ -158,7 +158,6 @@ public double WaitTimeoutInSeconds
///
protected override void EndProcessing()
{
- this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
try
{
this.command.Logger = this.Logger;