From f9cae61613ad2ef57ea3cd87a08c1d0cfe715464 Mon Sep 17 00:00:00 2001 From: Maddie Clayton Date: Mon, 13 Nov 2017 19:58:07 -0500 Subject: [PATCH 01/11] initial setup --- .../Commands.AnalysisServices/Commands.AnalysisServices.csproj | 3 +++ .../Profile/Commands.Profile/Commands.Profile.csproj | 2 ++ .../Profile/Commands.Profile/StartupScripts/sample.ps1 | 1 + 3 files changed, 6 insertions(+) create mode 100644 src/ResourceManager/Profile/Commands.Profile/StartupScripts/sample.ps1 diff --git a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj index 738bd0f36edb..a01a705288ab 100644 --- a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj +++ b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj @@ -78,6 +78,9 @@ Designer + + + {70527617-7598-4aef-b5bd-db9186b8184b} diff --git a/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj b/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj index fa800a6e8412..82f0cead92fe 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj +++ b/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj @@ -136,6 +136,7 @@ + @@ -181,6 +182,7 @@ Resources.Designer.cs + diff --git a/src/ResourceManager/Profile/Commands.Profile/StartupScripts/sample.ps1 b/src/ResourceManager/Profile/Commands.Profile/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..c799ffac7d4c --- /dev/null +++ b/src/ResourceManager/Profile/Commands.Profile/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +Write-Host "yo" From 013a40a57452356994792762e9020b51e5e20bce Mon Sep 17 00:00:00 2001 From: Maddie Clayton Date: Tue, 14 Nov 2017 02:59:11 -0500 Subject: [PATCH 02/11] add folder to rps --- .../Commands.AnalysisServices.Dataplane.csproj | 3 +++ .../StartupScripts/sample.ps1 | 1 + .../Commands.AnalysisServices.csproj | 7 ++++--- .../Commands.AnalysisServices/StartupScripts/sample.ps1 | 1 + .../Commands.ApiManagement/Commands.ApiManagement.csproj | 3 +++ .../Commands.ApiManagement/StartupScripts/sample.ps1 | 1 + .../Commands.ApplicationInsights/StartupScripts/sample.ps1 | 1 + .../Commands.Automation/StartupScripts/sample.ps1 | 1 + .../Commands.AzureBackup/StartupScripts/sample.ps1 | 1 + .../AzureBatch/Commands.Batch/StartupScripts/sample.ps1 | 1 + .../Billing/Commands.Billing/StartupScripts/sample.ps1 | 1 + .../Cdn/Commands.Cdn/StartupScripts/sample.ps1 | 1 + .../StartupScripts/sample.ps1 | 1 + .../Compute/Commands.Compute/StartupScripts/sample.ps1 | 1 + .../Commands.Consumption/StartupScripts/sample.ps1 | 1 + .../Commands.ContainerInstance/StartupScripts/sample.ps1 | 1 + .../Commands.ContainerRegistry/StartupScripts/sample.ps1 | 1 + .../Commands.DataFactories/StartupScripts/sample.ps1 | 1 + .../Commands.DataFactoryV2/StartupScripts/sample.ps1 | 1 + .../Commands.DataLakeAnalytics/StartupScripts/sample.ps1 | 1 + .../Commands.DataLakeStore/StartupScripts/sample.ps1 | 1 + .../Commands.DevTestLabs/StartupScripts/sample.ps1 | 1 + .../Dns/Commands.Dns/StartupScripts/sample.ps1 | 1 + .../EventGrid/Commands.EventGrid/StartupScripts/sample.ps1 | 1 + .../EventHub/Commands.EventHub/StartupScripts/sample.ps1 | 1 + .../HDInsight/Commands.HDInsight/StartupScripts/sample.ps1 | 1 + .../Insights/Commands.Insights/StartupScripts/sample.ps1 | 1 + .../IotHub/Commands.IotHub/StartupScripts/sample.ps1 | 1 + .../KeyVault/Commands.KeyVault/StartupScripts/sample.ps1 | 1 + .../LogicApp/Commands.LogicApp/StartupScripts/sample.ps1 | 1 + .../Commands.MachineLearning/StartupScripts/sample.ps1 | 1 + .../StartupScripts/sample.ps1 | 1 + .../Commands.MarketplaceOrdering/StartupScripts/sample.ps1 | 1 + .../Media/Commands.Media/StartupScripts/sample.ps1 | 1 + .../Network/Commands.Network/StartupScripts/sample.ps1 | 1 + .../Commands.NotificationHubs/StartupScripts/sample.ps1 | 1 + .../Commands.OperationalInsights/StartupScripts/sample.ps1 | 1 + .../StartupScripts/sample.ps1 | 1 + .../Profile/Commands.Profile/Commands.Profile.csproj | 4 +++- .../Profile/Commands.Profile/StartupScripts/sample.ps1 | 2 +- .../StartupScripts/sample.ps1 | 1 + .../StartupScripts/sample.ps1 | 1 + .../Commands.RecoveryServices/StartupScripts/sample.ps1 | 1 + .../Commands.RedisCache/StartupScripts/sample.ps1 | 1 + .../Relay/Commands.Relay/StartupScripts/sample.ps1 | 1 + .../Resources/Commands.Resources/StartupScripts/sample.ps1 | 1 + .../Scheduler/Commands.Scheduler/StartupScripts/sample.ps1 | 1 + .../Commands.ServerManagement/StartupScripts/sample.ps1 | 1 + .../Commands.ServiceBus/StartupScripts/sample.ps1 | 1 + .../Commands.ServiceFabric/StartupScripts/sample.ps1 | 1 + .../Commands.SiteRecovery/StartupScripts/sample.ps1 | 1 + .../Sql/Commands.Sql/StartupScripts/sample.ps1 | 1 + .../Commands.Management.Storage/StartupScripts/sample.ps1 | 1 + .../Commands.StreamAnalytics/StartupScripts/sample.ps1 | 1 + .../Tags/Commands.Tags/StartupScripts/sample.ps1 | 1 + .../Commands.TrafficManager2/StartupScripts/sample.ps1 | 1 + .../Commands.UsageAggregates/StartupScripts/sample.ps1 | 1 + .../Websites/Commands.Websites/StartupScripts/sample.ps1 | 1 + tools/AzureRM.Example.psm1 | 4 +++- tools/UpdateModules.ps1 | 2 +- 60 files changed, 71 insertions(+), 7 deletions(-) create mode 100644 src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/AnalysisServices/Commands.AnalysisServices/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/ApiManagement/Commands.ApiManagement/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Automation/Commands.Automation/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/AzureBackup/Commands.AzureBackup/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/AzureBatch/Commands.Batch/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Billing/Commands.Billing/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Cdn/Commands.Cdn/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Compute/Commands.Compute/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Consumption/Commands.Consumption/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/ContainerInstance/Commands.ContainerInstance/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/DataFactories/Commands.DataFactories/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/DataFactories/Commands.DataFactoryV2/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/DataLakeStore/Commands.DataLakeStore/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/DevTestLabs/Commands.DevTestLabs/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Dns/Commands.Dns/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/EventGrid/Commands.EventGrid/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/EventHub/Commands.EventHub/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Insights/Commands.Insights/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/IotHub/Commands.IotHub/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/KeyVault/Commands.KeyVault/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/LogicApp/Commands.LogicApp/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/MachineLearning/Commands.MachineLearning/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Media/Commands.Media/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Network/Commands.Network/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/NotificationHubs/Commands.NotificationHubs/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/OperationalInsights/Commands.OperationalInsights/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/RecoveryServices/Commands.RecoveryServices/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/RedisCache/Commands.RedisCache/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Relay/Commands.Relay/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Resources/Commands.Resources/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Scheduler/Commands.Scheduler/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/ServerManagement/Commands.ServerManagement/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/ServiceBus/Commands.ServiceBus/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/ServiceFabric/Commands.ServiceFabric/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/SiteRecovery/Commands.SiteRecovery/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Sql/Commands.Sql/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Storage/Commands.Management.Storage/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Tags/Commands.Tags/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/TrafficManager/Commands.TrafficManager2/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/UsageAggregates/Commands.UsageAggregates/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Websites/Commands.Websites/StartupScripts/sample.ps1 diff --git a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands.AnalysisServices.Dataplane.csproj b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands.AnalysisServices.Dataplane.csproj index cc7da6a7a4be..34c979818f9d 100644 --- a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands.AnalysisServices.Dataplane.csproj +++ b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands.AnalysisServices.Dataplane.csproj @@ -122,6 +122,9 @@ Designer + + Always + diff --git a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/StartupScripts/sample.ps1 b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj index a01a705288ab..df42abbba3f2 100644 --- a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj +++ b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj @@ -70,6 +70,9 @@ Designer + + Always + @@ -78,9 +81,7 @@ Designer - - - + {70527617-7598-4aef-b5bd-db9186b8184b} diff --git a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/StartupScripts/sample.ps1 b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj index 09fa85e234da..993fe602b405 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj @@ -145,6 +145,9 @@ Designer + + Always + diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/StartupScripts/sample.ps1 b/src/ResourceManager/ApiManagement/Commands.ApiManagement/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/StartupScripts/sample.ps1 b/src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Automation/Commands.Automation/StartupScripts/sample.ps1 b/src/ResourceManager/Automation/Commands.Automation/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Automation/Commands.Automation/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/StartupScripts/sample.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/StartupScripts/sample.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/AzureBatch/Commands.Batch/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Billing/Commands.Billing/StartupScripts/sample.ps1 b/src/ResourceManager/Billing/Commands.Billing/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Billing/Commands.Billing/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Cdn/Commands.Cdn/StartupScripts/sample.ps1 b/src/ResourceManager/Cdn/Commands.Cdn/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Cdn/Commands.Cdn/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/StartupScripts/sample.ps1 b/src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Compute/Commands.Compute/StartupScripts/sample.ps1 b/src/ResourceManager/Compute/Commands.Compute/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Compute/Commands.Compute/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Consumption/Commands.Consumption/StartupScripts/sample.ps1 b/src/ResourceManager/Consumption/Commands.Consumption/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Consumption/Commands.Consumption/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/ContainerInstance/Commands.ContainerInstance/StartupScripts/sample.ps1 b/src/ResourceManager/ContainerInstance/Commands.ContainerInstance/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/ContainerInstance/Commands.ContainerInstance/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/StartupScripts/sample.ps1 b/src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/StartupScripts/sample.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactories/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactoryV2/StartupScripts/sample.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactoryV2/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/DataFactories/Commands.DataFactoryV2/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/StartupScripts/sample.ps1 b/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/DataLakeStore/Commands.DataLakeStore/StartupScripts/sample.ps1 b/src/ResourceManager/DataLakeStore/Commands.DataLakeStore/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/DataLakeStore/Commands.DataLakeStore/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/DevTestLabs/Commands.DevTestLabs/StartupScripts/sample.ps1 b/src/ResourceManager/DevTestLabs/Commands.DevTestLabs/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/DevTestLabs/Commands.DevTestLabs/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Dns/Commands.Dns/StartupScripts/sample.ps1 b/src/ResourceManager/Dns/Commands.Dns/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Dns/Commands.Dns/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/EventGrid/Commands.EventGrid/StartupScripts/sample.ps1 b/src/ResourceManager/EventGrid/Commands.EventGrid/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/EventGrid/Commands.EventGrid/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/EventHub/Commands.EventHub/StartupScripts/sample.ps1 b/src/ResourceManager/EventHub/Commands.EventHub/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/EventHub/Commands.EventHub/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/StartupScripts/sample.ps1 b/src/ResourceManager/HDInsight/Commands.HDInsight/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Insights/Commands.Insights/StartupScripts/sample.ps1 b/src/ResourceManager/Insights/Commands.Insights/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/IotHub/Commands.IotHub/StartupScripts/sample.ps1 b/src/ResourceManager/IotHub/Commands.IotHub/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/IotHub/Commands.IotHub/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/StartupScripts/sample.ps1 b/src/ResourceManager/KeyVault/Commands.KeyVault/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/StartupScripts/sample.ps1 b/src/ResourceManager/LogicApp/Commands.LogicApp/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/LogicApp/Commands.LogicApp/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/MachineLearning/Commands.MachineLearning/StartupScripts/sample.ps1 b/src/ResourceManager/MachineLearning/Commands.MachineLearning/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/MachineLearning/Commands.MachineLearning/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/StartupScripts/sample.ps1 b/src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/StartupScripts/sample.ps1 b/src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Media/Commands.Media/StartupScripts/sample.ps1 b/src/ResourceManager/Media/Commands.Media/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Media/Commands.Media/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Network/Commands.Network/StartupScripts/sample.ps1 b/src/ResourceManager/Network/Commands.Network/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Network/Commands.Network/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/NotificationHubs/Commands.NotificationHubs/StartupScripts/sample.ps1 b/src/ResourceManager/NotificationHubs/Commands.NotificationHubs/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/NotificationHubs/Commands.NotificationHubs/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/StartupScripts/sample.ps1 b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/StartupScripts/sample.ps1 b/src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj b/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj index 82f0cead92fe..013cd167c1d5 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj +++ b/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj @@ -136,7 +136,9 @@ - + + Always + diff --git a/src/ResourceManager/Profile/Commands.Profile/StartupScripts/sample.ps1 b/src/ResourceManager/Profile/Commands.Profile/StartupScripts/sample.ps1 index c799ffac7d4c..1dbc147be0de 100644 --- a/src/ResourceManager/Profile/Commands.Profile/StartupScripts/sample.ps1 +++ b/src/ResourceManager/Profile/Commands.Profile/StartupScripts/sample.ps1 @@ -1 +1 @@ -Write-Host "yo" +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/StartupScripts/sample.ps1 b/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/StartupScripts/sample.ps1 b/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/StartupScripts/sample.ps1 b/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/StartupScripts/sample.ps1 b/src/ResourceManager/RedisCache/Commands.RedisCache/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Relay/Commands.Relay/StartupScripts/sample.ps1 b/src/ResourceManager/Relay/Commands.Relay/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Relay/Commands.Relay/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources/StartupScripts/sample.ps1 b/src/ResourceManager/Resources/Commands.Resources/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Scheduler/Commands.Scheduler/StartupScripts/sample.ps1 b/src/ResourceManager/Scheduler/Commands.Scheduler/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Scheduler/Commands.Scheduler/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/ServerManagement/Commands.ServerManagement/StartupScripts/sample.ps1 b/src/ResourceManager/ServerManagement/Commands.ServerManagement/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/ServerManagement/Commands.ServerManagement/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/ServiceBus/Commands.ServiceBus/StartupScripts/sample.ps1 b/src/ResourceManager/ServiceBus/Commands.ServiceBus/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/ServiceBus/Commands.ServiceBus/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/ServiceFabric/Commands.ServiceFabric/StartupScripts/sample.ps1 b/src/ResourceManager/ServiceFabric/Commands.ServiceFabric/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/ServiceFabric/Commands.ServiceFabric/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/StartupScripts/sample.ps1 b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql/StartupScripts/sample.ps1 b/src/ResourceManager/Sql/Commands.Sql/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Storage/Commands.Management.Storage/StartupScripts/sample.ps1 b/src/ResourceManager/Storage/Commands.Management.Storage/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Storage/Commands.Management.Storage/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StartupScripts/sample.ps1 b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Tags/Commands.Tags/StartupScripts/sample.ps1 b/src/ResourceManager/Tags/Commands.Tags/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Tags/Commands.Tags/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/StartupScripts/sample.ps1 b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/StartupScripts/sample.ps1 b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Websites/Commands.Websites/StartupScripts/sample.ps1 b/src/ResourceManager/Websites/Commands.Websites/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1dbc147be0de --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#placeholder for future scripts \ No newline at end of file diff --git a/tools/AzureRM.Example.psm1 b/tools/AzureRM.Example.psm1 index a0823eb08331..f05892c94c2d 100644 --- a/tools/AzureRM.Example.psm1 +++ b/tools/AzureRM.Example.psm1 @@ -9,4 +9,6 @@ $PSDefaultParameterValues.Clear() Set-StrictMode -Version Latest -%IMPORTED-DEPENDENCIES% \ No newline at end of file +%IMPORTED-DEPENDENCIES% + +./StartupScript/sample.ps1 \ No newline at end of file diff --git a/tools/UpdateModules.ps1 b/tools/UpdateModules.ps1 index 84bdb15647b9..7d63e880bcb4 100644 --- a/tools/UpdateModules.ps1 +++ b/tools/UpdateModules.ps1 @@ -96,7 +96,7 @@ elseif (`$module -eq `$null) ` if ([string]::IsNullOrEmpty($buildConfig)) { Write-Verbose "Setting build configuration to 'Release'" - $buildConfig = "Release" + $buildConfig = "Debug" } if ([string]::IsNullOrEmpty($scope)) From 7e05469de53a8fc370a010fef03248696cb95071 Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Tue, 14 Nov 2017 11:04:28 -0800 Subject: [PATCH 03/11] ensure startupscripts are written to output directory --- .../Commands.AnalysisServices.Dataplane.csproj | 2 +- .../Commands.AnalysisServices.csproj | 2 +- .../Commands.ApiManagement/Commands.ApiManagement.csproj | 2 +- .../Commands.ApplicationInsights.csproj | 5 ++++- .../Commands.Automation/Commands.Automation.csproj | 3 +++ .../Commands.AzureBackup/Commands.AzureBackup.csproj | 3 +++ .../AzureBatch/Commands.Batch/Commands.Batch.csproj | 3 +++ .../Billing/Commands.Billing/Commands.Billing.csproj | 3 +++ src/ResourceManager/Cdn/Commands.Cdn/Commands.Cdn.csproj | 3 +++ .../Commands.Management.CognitiveServices.csproj | 3 +++ .../Compute/Commands.Compute/Commands.Compute.csproj | 3 +++ .../Commands.Consumption/Commands.Consumption.csproj | 3 +++ .../Commands.ContainerInstance.csproj | 3 +++ .../Commands.ContainerRegistry.csproj | 3 +++ .../Commands.DataFactories/Commands.DataFactories.csproj | 3 +++ .../Commands.DataFactoryV2/Commands.DataFactoryV2.csproj | 3 +++ .../Commands.DataLakeAnalytics.csproj | 3 +++ .../Commands.DataLakeStore/Commands.DataLakeStore.csproj | 3 +++ .../Commands.DevTestLabs/Commands.DevTestLabs.csproj | 3 +++ src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj | 3 +++ .../EventGrid/Commands.EventGrid/Commands.EventGrid.csproj | 3 +++ .../EventHub/Commands.EventHub/Commands.EventHub.csproj | 3 +++ .../HDInsight/Commands.HDInsight/Commands.HDInsight.csproj | 3 +++ .../Insights/Commands.Insights/Commands.Insights.csproj | 3 +++ .../IotHub/Commands.IotHub/Commands.IotHub.csproj | 3 +++ .../KeyVault/Commands.KeyVault/Commands.KeyVault.csproj | 3 +++ .../LogicApp/Commands.LogicApp/Commands.LogicApp.csproj | 3 +++ .../Commands.MachineLearning/Commands.MachineLearning.csproj | 3 +++ .../Commands.MachineLearningCompute.csproj | 3 +++ .../Commands.MarketplaceOrdering.csproj | 3 +++ .../Media/Commands.Media/Commands.Media.csproj | 3 +++ .../Network/Commands.Network/Commands.Network.csproj | 3 +++ .../Commands.NotificationHubs.csproj | 3 +++ .../Commands.OperationalInsights.csproj | 3 +++ .../Commands.Management.PowerBIEmbedded.csproj | 3 +++ .../Commands.RecoveryServices.Backup.Cmdlets.csproj | 3 +++ .../Commands.RecoveryServices.SiteRecovery.csproj | 3 +++ .../Commands.RecoveryServices.csproj | 3 +++ .../Commands.RedisCache/Commands.RedisCache.csproj | 3 +++ .../Relay/Commands.Relay/Commands.Relay.csproj | 3 +++ .../Resources/Commands.Resources/Commands.Resources.csproj | 3 +++ .../Scheduler/Commands.Scheduler/Commands.Scheduler.csproj | 3 +++ .../Commands.ServerManagement.csproj | 3 +++ .../Commands.ServiceBus/Commands.ServiceBus.csproj | 3 +++ .../Commands.ServiceFabric/Commands.ServiceFabric.csproj | 3 +++ .../Commands.SiteRecovery/Commands.SiteRecovery.csproj | 3 +++ src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj | 3 +++ .../Commands.Management.Storage.csproj | 3 +++ .../Commands.StreamAnalytics/Commands.StreamAnalytics.csproj | 3 +++ src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj | 3 +++ .../Commands.TrafficManager2/Commands.TrafficManager.csproj | 3 +++ .../Commands.UsageAggregates/Commands.UsageAggregates.csproj | 3 +++ .../Websites/Commands.Websites/Commands.Websites.csproj | 3 +++ tools/AzureRM.Example.psm1 | 4 +++- 54 files changed, 157 insertions(+), 5 deletions(-) diff --git a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands.AnalysisServices.Dataplane.csproj b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands.AnalysisServices.Dataplane.csproj index 34c979818f9d..8430087643f9 100644 --- a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands.AnalysisServices.Dataplane.csproj +++ b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands.AnalysisServices.Dataplane.csproj @@ -122,7 +122,7 @@ Designer - + Always diff --git a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj index df42abbba3f2..debe1c997524 100644 --- a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj +++ b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj @@ -70,7 +70,7 @@ Designer - + Always diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj index 993fe602b405..b2bfc3e9b80b 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj @@ -145,7 +145,7 @@ Designer - + Always diff --git a/src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/Commands.ApplicationInsights.csproj b/src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/Commands.ApplicationInsights.csproj index 93ce9899df14..e965a15a7a1a 100644 --- a/src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/Commands.ApplicationInsights.csproj +++ b/src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/Commands.ApplicationInsights.csproj @@ -54,7 +54,7 @@ ..\..\..\packages\Microsoft.Azure.Management.ApplicationInsights.0.1.1-preview\lib\net452\Microsoft.Azure.Management.ApplicationInsights.dll True - + @@ -96,6 +96,9 @@ Designer + + Always + diff --git a/src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj b/src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj index c0aae0337ab3..6e1b58d19286 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj +++ b/src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj @@ -202,6 +202,9 @@ Designer + + Always + diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj index e4f79524137a..cfdfa206d8c8 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj @@ -141,6 +141,9 @@ Designer + + Always + diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj b/src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj index c2d5213d6d41..718416702b8a 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj @@ -218,6 +218,9 @@ Designer + + Always + diff --git a/src/ResourceManager/Billing/Commands.Billing/Commands.Billing.csproj b/src/ResourceManager/Billing/Commands.Billing/Commands.Billing.csproj index fbb0cae945b6..706f6717b9cd 100644 --- a/src/ResourceManager/Billing/Commands.Billing/Commands.Billing.csproj +++ b/src/ResourceManager/Billing/Commands.Billing/Commands.Billing.csproj @@ -81,6 +81,9 @@ + + Always + diff --git a/src/ResourceManager/Cdn/Commands.Cdn/Commands.Cdn.csproj b/src/ResourceManager/Cdn/Commands.Cdn/Commands.Cdn.csproj index 6377afc58e50..6d0b21f34ae8 100644 --- a/src/ResourceManager/Cdn/Commands.Cdn/Commands.Cdn.csproj +++ b/src/ResourceManager/Cdn/Commands.Cdn/Commands.Cdn.csproj @@ -138,6 +138,9 @@ Designer + + Always + PreserveNewest diff --git a/src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/Commands.Management.CognitiveServices.csproj b/src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/Commands.Management.CognitiveServices.csproj index 3d015b5cfc96..b31ba5d29222 100644 --- a/src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/Commands.Management.CognitiveServices.csproj +++ b/src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/Commands.Management.CognitiveServices.csproj @@ -86,6 +86,9 @@ Designer + + Always + diff --git a/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj b/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj index ba98923787ca..d5bcf3f3dd25 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj +++ b/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj @@ -367,6 +367,9 @@ Designer + + Always + diff --git a/src/ResourceManager/Consumption/Commands.Consumption/Commands.Consumption.csproj b/src/ResourceManager/Consumption/Commands.Consumption/Commands.Consumption.csproj index 8786bbc85c03..2cd31dd465a5 100644 --- a/src/ResourceManager/Consumption/Commands.Consumption/Commands.Consumption.csproj +++ b/src/ResourceManager/Consumption/Commands.Consumption/Commands.Consumption.csproj @@ -81,6 +81,9 @@ + + Always + diff --git a/src/ResourceManager/ContainerInstance/Commands.ContainerInstance/Commands.ContainerInstance.csproj b/src/ResourceManager/ContainerInstance/Commands.ContainerInstance/Commands.ContainerInstance.csproj index baf565b6d164..2689d7f76685 100644 --- a/src/ResourceManager/ContainerInstance/Commands.ContainerInstance/Commands.ContainerInstance.csproj +++ b/src/ResourceManager/ContainerInstance/Commands.ContainerInstance/Commands.ContainerInstance.csproj @@ -86,6 +86,9 @@ Designer + + Always + AzureRM.ContainerInstance.psd1 PreserveNewest diff --git a/src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/Commands.ContainerRegistry.csproj b/src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/Commands.ContainerRegistry.csproj index af78219f9a35..26d551b0bc2a 100644 --- a/src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/Commands.ContainerRegistry.csproj +++ b/src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/Commands.ContainerRegistry.csproj @@ -88,6 +88,9 @@ + + Always + diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj index b7e32edc7a90..59450b5f5104 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj @@ -171,6 +171,9 @@ Designer + + Always + diff --git a/src/ResourceManager/DataFactories/Commands.DataFactoryV2/Commands.DataFactoryV2.csproj b/src/ResourceManager/DataFactories/Commands.DataFactoryV2/Commands.DataFactoryV2.csproj index 008ce83f238c..455e85dcdb92 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactoryV2/Commands.DataFactoryV2.csproj +++ b/src/ResourceManager/DataFactories/Commands.DataFactoryV2/Commands.DataFactoryV2.csproj @@ -163,6 +163,9 @@ Designer + + Always + diff --git a/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Commands.DataLakeAnalytics.csproj b/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Commands.DataLakeAnalytics.csproj index d6cfc15b2324..55dfdcf986e4 100644 --- a/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Commands.DataLakeAnalytics.csproj +++ b/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Commands.DataLakeAnalytics.csproj @@ -111,6 +111,9 @@ + + Always + diff --git a/src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands.DataLakeStore.csproj b/src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands.DataLakeStore.csproj index 640ae43a9b3d..9cf5dbf57cb6 100644 --- a/src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands.DataLakeStore.csproj +++ b/src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands.DataLakeStore.csproj @@ -117,6 +117,9 @@ + + Always + diff --git a/src/ResourceManager/DevTestLabs/Commands.DevTestLabs/Commands.DevTestLabs.csproj b/src/ResourceManager/DevTestLabs/Commands.DevTestLabs/Commands.DevTestLabs.csproj index cf1c268c0dbe..be26254c31ff 100644 --- a/src/ResourceManager/DevTestLabs/Commands.DevTestLabs/Commands.DevTestLabs.csproj +++ b/src/ResourceManager/DevTestLabs/Commands.DevTestLabs/Commands.DevTestLabs.csproj @@ -81,6 +81,9 @@ Designer + + Always + diff --git a/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj b/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj index 3e778e7f6f6a..6107d15bb071 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj +++ b/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj @@ -80,6 +80,9 @@ Designer + + Always + diff --git a/src/ResourceManager/EventGrid/Commands.EventGrid/Commands.EventGrid.csproj b/src/ResourceManager/EventGrid/Commands.EventGrid/Commands.EventGrid.csproj index f53718800ea8..eebcf6cb6bae 100644 --- a/src/ResourceManager/EventGrid/Commands.EventGrid/Commands.EventGrid.csproj +++ b/src/ResourceManager/EventGrid/Commands.EventGrid/Commands.EventGrid.csproj @@ -91,6 +91,9 @@ + + Always + diff --git a/src/ResourceManager/EventHub/Commands.EventHub/Commands.EventHub.csproj b/src/ResourceManager/EventHub/Commands.EventHub/Commands.EventHub.csproj index 218885ca209d..515203966264 100644 --- a/src/ResourceManager/EventHub/Commands.EventHub/Commands.EventHub.csproj +++ b/src/ResourceManager/EventHub/Commands.EventHub/Commands.EventHub.csproj @@ -93,6 +93,9 @@ Designer + + Always + diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index 184851092bb6..c4a3d88d36ce 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -121,6 +121,9 @@ Designer + + Always + diff --git a/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj b/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj index e77c41e97ad6..845ad764daf7 100644 --- a/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj +++ b/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj @@ -172,6 +172,9 @@ Designer + + Always + diff --git a/src/ResourceManager/IotHub/Commands.IotHub/Commands.IotHub.csproj b/src/ResourceManager/IotHub/Commands.IotHub/Commands.IotHub.csproj index 97896a205662..ab5c1716ba1a 100644 --- a/src/ResourceManager/IotHub/Commands.IotHub/Commands.IotHub.csproj +++ b/src/ResourceManager/IotHub/Commands.IotHub/Commands.IotHub.csproj @@ -150,6 +150,9 @@ PreserveNewest + + Always + diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj index 26194e89958d..a4aa8b4d4379 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj @@ -140,6 +140,9 @@ Designer + + Always + diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Commands.LogicApp.csproj b/src/ResourceManager/LogicApp/Commands.LogicApp/Commands.LogicApp.csproj index 98a95737e963..7eedb068015e 100644 --- a/src/ResourceManager/LogicApp/Commands.LogicApp/Commands.LogicApp.csproj +++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Commands.LogicApp.csproj @@ -144,6 +144,9 @@ Designer + + Always + diff --git a/src/ResourceManager/MachineLearning/Commands.MachineLearning/Commands.MachineLearning.csproj b/src/ResourceManager/MachineLearning/Commands.MachineLearning/Commands.MachineLearning.csproj index 1009ec611e8c..5e56a9c778f3 100644 --- a/src/ResourceManager/MachineLearning/Commands.MachineLearning/Commands.MachineLearning.csproj +++ b/src/ResourceManager/MachineLearning/Commands.MachineLearning/Commands.MachineLearning.csproj @@ -108,6 +108,9 @@ Designer + + Always + diff --git a/src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/Commands.MachineLearningCompute.csproj b/src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/Commands.MachineLearningCompute.csproj index b51a38b0c932..cb366f274ab7 100644 --- a/src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/Commands.MachineLearningCompute.csproj +++ b/src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/Commands.MachineLearningCompute.csproj @@ -98,6 +98,9 @@ Designer + + Always + diff --git a/src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/Commands.MarketplaceOrdering.csproj b/src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/Commands.MarketplaceOrdering.csproj index 38ca6467996e..2bcd13a3e3ba 100644 --- a/src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/Commands.MarketplaceOrdering.csproj +++ b/src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/Commands.MarketplaceOrdering.csproj @@ -80,6 +80,9 @@ + + Always + diff --git a/src/ResourceManager/Media/Commands.Media/Commands.Media.csproj b/src/ResourceManager/Media/Commands.Media/Commands.Media.csproj index 9e673bb2fdf1..2d1720e8753a 100644 --- a/src/ResourceManager/Media/Commands.Media/Commands.Media.csproj +++ b/src/ResourceManager/Media/Commands.Media/Commands.Media.csproj @@ -100,6 +100,9 @@ Designer + + Always + diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj index a3d5512ddfd2..70f2a8d030e6 100644 --- a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj +++ b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj @@ -581,6 +581,9 @@ Designer + + Always + diff --git a/src/ResourceManager/NotificationHubs/Commands.NotificationHubs/Commands.NotificationHubs.csproj b/src/ResourceManager/NotificationHubs/Commands.NotificationHubs/Commands.NotificationHubs.csproj index 789d976da2d3..3ea5eb702f3c 100644 --- a/src/ResourceManager/NotificationHubs/Commands.NotificationHubs/Commands.NotificationHubs.csproj +++ b/src/ResourceManager/NotificationHubs/Commands.NotificationHubs/Commands.NotificationHubs.csproj @@ -88,6 +88,9 @@ Designer + + Always + diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj index 2dac8fa89870..cc9a2669c360 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj @@ -170,6 +170,9 @@ Designer + + Always + diff --git a/src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/Commands.Management.PowerBIEmbedded.csproj b/src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/Commands.Management.PowerBIEmbedded.csproj index e6d2530bf728..e9f2d30a35ea 100644 --- a/src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/Commands.Management.PowerBIEmbedded.csproj +++ b/src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/Commands.Management.PowerBIEmbedded.csproj @@ -123,6 +123,9 @@ + + Always + diff --git a/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/Commands.RecoveryServices.Backup.Cmdlets.csproj b/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/Commands.RecoveryServices.Backup.Cmdlets.csproj index 39fd4991d7f4..6e1de4efe137 100644 --- a/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/Commands.RecoveryServices.Backup.Cmdlets.csproj +++ b/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/Commands.RecoveryServices.Backup.Cmdlets.csproj @@ -124,6 +124,9 @@ + + Always + diff --git a/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery.csproj b/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery.csproj index 14d771e2d675..ea3a41e4ce1d 100644 --- a/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery.csproj +++ b/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery.csproj @@ -165,6 +165,9 @@ + + Always + PreserveNewest diff --git a/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj b/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj index 89fb5e81214c..473c8bdeaaf6 100644 --- a/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj +++ b/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj @@ -92,6 +92,9 @@ Designer + + Always + diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj index 36ba73a2edc3..2c21cac3dcb4 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj @@ -129,6 +129,9 @@ + + Always + diff --git a/src/ResourceManager/Relay/Commands.Relay/Commands.Relay.csproj b/src/ResourceManager/Relay/Commands.Relay/Commands.Relay.csproj index 7a15fe8bfc6f..f4ab17a24078 100644 --- a/src/ResourceManager/Relay/Commands.Relay/Commands.Relay.csproj +++ b/src/ResourceManager/Relay/Commands.Relay/Commands.Relay.csproj @@ -113,6 +113,9 @@ + + Always + diff --git a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj index ae5afc12a130..5d5f2213b279 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj +++ b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj @@ -173,6 +173,9 @@ + + Always + diff --git a/src/ResourceManager/Scheduler/Commands.Scheduler/Commands.Scheduler.csproj b/src/ResourceManager/Scheduler/Commands.Scheduler/Commands.Scheduler.csproj index 9bbe1d31bc61..e355e705bf51 100644 --- a/src/ResourceManager/Scheduler/Commands.Scheduler/Commands.Scheduler.csproj +++ b/src/ResourceManager/Scheduler/Commands.Scheduler/Commands.Scheduler.csproj @@ -115,6 +115,9 @@ Designer + + Always + diff --git a/src/ResourceManager/ServerManagement/Commands.ServerManagement/Commands.ServerManagement.csproj b/src/ResourceManager/ServerManagement/Commands.ServerManagement/Commands.ServerManagement.csproj index 80396630809b..2503a3f91e07 100644 --- a/src/ResourceManager/ServerManagement/Commands.ServerManagement/Commands.ServerManagement.csproj +++ b/src/ResourceManager/ServerManagement/Commands.ServerManagement/Commands.ServerManagement.csproj @@ -86,6 +86,9 @@ Designer + + Always + diff --git a/src/ResourceManager/ServiceBus/Commands.ServiceBus/Commands.ServiceBus.csproj b/src/ResourceManager/ServiceBus/Commands.ServiceBus/Commands.ServiceBus.csproj index 074cd056e0cf..99aaf249395a 100644 --- a/src/ResourceManager/ServiceBus/Commands.ServiceBus/Commands.ServiceBus.csproj +++ b/src/ResourceManager/ServiceBus/Commands.ServiceBus/Commands.ServiceBus.csproj @@ -118,6 +118,9 @@ Designer + + Always + diff --git a/src/ResourceManager/ServiceFabric/Commands.ServiceFabric/Commands.ServiceFabric.csproj b/src/ResourceManager/ServiceFabric/Commands.ServiceFabric/Commands.ServiceFabric.csproj index 4a8f8672f468..8a627b5ea638 100644 --- a/src/ResourceManager/ServiceFabric/Commands.ServiceFabric/Commands.ServiceFabric.csproj +++ b/src/ResourceManager/ServiceFabric/Commands.ServiceFabric/Commands.ServiceFabric.csproj @@ -79,6 +79,9 @@ Designer Always + + Always + diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Commands.SiteRecovery.csproj b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Commands.SiteRecovery.csproj index 74d0513109be..17307ddd85da 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Commands.SiteRecovery.csproj +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Commands.SiteRecovery.csproj @@ -156,6 +156,9 @@ + + Always + diff --git a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj index b53e16d380c5..8ea6fe76983a 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj +++ b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj @@ -226,6 +226,9 @@ Designer + + Always + Always diff --git a/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj b/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj index 06e4f99d1d29..731a6d0cf7ad 100644 --- a/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj +++ b/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj @@ -129,6 +129,9 @@ Designer + + Always + diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj index 8ca83564aca0..c3dc43511e0c 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj @@ -153,6 +153,9 @@ Designer + + Always + diff --git a/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj b/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj index f335543d623a..f8c420914d7d 100644 --- a/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj +++ b/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj @@ -61,6 +61,9 @@ + + Always + diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager.csproj b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager.csproj index ee762ee5a378..197daf6cf2e6 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager.csproj +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager.csproj @@ -104,6 +104,9 @@ Designer + + Always + diff --git a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Commands.UsageAggregates.csproj b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Commands.UsageAggregates.csproj index 3676e0ccf426..3e542c160b67 100644 --- a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Commands.UsageAggregates.csproj +++ b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Commands.UsageAggregates.csproj @@ -60,6 +60,9 @@ + + Always + diff --git a/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj b/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj index b97bcc731159..665ad2e2119e 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj +++ b/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj @@ -130,6 +130,9 @@ Designer + + Always + PreserveNewest diff --git a/tools/AzureRM.Example.psm1 b/tools/AzureRM.Example.psm1 index f05892c94c2d..efe3d0f75750 100644 --- a/tools/AzureRM.Example.psm1 +++ b/tools/AzureRM.Example.psm1 @@ -11,4 +11,6 @@ Set-StrictMode -Version Latest %IMPORTED-DEPENDENCIES% -./StartupScript/sample.ps1 \ No newline at end of file +Get-ChildItem "$PSScriptRoot\StartupScripts" | ForEach-Object { + & $_.FullName +} \ No newline at end of file From 8bfa93f5ec7884bd369ad8c9bd6793e8a107498c Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Tue, 14 Nov 2017 11:08:39 -0800 Subject: [PATCH 04/11] remove unecessary code in csproj --- .../Profile/Commands.Profile/Commands.Profile.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj b/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj index 013cd167c1d5..48e180b57d2c 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj +++ b/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj @@ -184,7 +184,6 @@ Resources.Designer.cs - From 6222a4c2ab1c62dd3f1ee1b663006e992f8fdab5 Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Tue, 14 Nov 2017 11:09:53 -0800 Subject: [PATCH 05/11] change from debug to release --- tools/UpdateModules.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/UpdateModules.ps1 b/tools/UpdateModules.ps1 index 7d63e880bcb4..84bdb15647b9 100644 --- a/tools/UpdateModules.ps1 +++ b/tools/UpdateModules.ps1 @@ -96,7 +96,7 @@ elseif (`$module -eq `$null) ` if ([string]::IsNullOrEmpty($buildConfig)) { Write-Verbose "Setting build configuration to 'Release'" - $buildConfig = "Debug" + $buildConfig = "Release" } if ([string]::IsNullOrEmpty($scope)) From b94af6da9b4d12fddc9962ad358f7313d3817c54 Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Thu, 30 Nov 2017 15:45:00 -0800 Subject: [PATCH 06/11] move startupscripts to new folder and ensure they are excuted during import --- ...Commands.AnalysisServices.Dataplane.csproj | 3 -- .../Commands/AddAzureASAccount.cs | 19 +----------- .../AnalysisServicesDataplaneStartup.ps1 | 2 +- src/ResourceManager/Cdn/AzureRM.Cdn.psd1 | 2 +- .../Cdn/Commands.Cdn/Commands.Cdn.csproj | 3 -- .../CustomDomain/NewAzureRmCdnCustomDomain.cs | 19 +----------- .../{ => StartupScripts}/CdnStartup.ps1 | 2 +- .../Commands.HDInsight.csproj | 3 -- .../EnableAzureHDInsightOMSCommand.cs | 22 +------------ .../AzureRmHDInsightStartup.ps1 | 2 +- ...eApplicationGatewayAvailableWafRuleSets.cs | 22 +------------ .../Commands.Network/Commands.Network.csproj | 3 -- .../AzureRmNetworkStartup.ps1 | 2 +- .../Commands.OperationalInsights.csproj | 3 -- ...sightsAzureActivityLogDataSourceCommand.cs | 24 +------------- .../OperationalInsightsStartup.ps1 | 2 +- .../Profile/AzureRM.Profile.psd1 | 4 +-- .../Account/AddAzureRmAccount.cs | 5 --- .../Commands.Profile/Commands.Profile.csproj | 3 -- .../AzureRmProfileStartup.ps1 | 2 +- ...mands.RecoveryServices.SiteRecovery.csproj | 3 -- .../RecoveryServicesAsrStartup.ps1 | 2 +- ...ServicesAsrStorageClassificationMapping.cs | 31 +------------------ .../Commands.RecoveryServices.csproj | 3 -- .../AzureRmRecoveryServicesStartup.ps1 | 2 +- ...etAzureRmRecoveryServicesBackupProperty.cs | 19 +----------- .../Sql/Commands.Sql/Commands.Sql.csproj | 3 -- .../Server/Cmdlet/GetAzureSqlServer.cs | 22 +------------ .../{ => StartupScripts}/SqlStartup.ps1 | 2 +- .../DeploymentSlots/SwitchAzureWebAppSlot.cs | 22 +------------ .../Commands.Websites.csproj | 3 -- .../{ => StartupScripts}/WebsitesStartup.ps1 | 2 +- tools/AzureRM.Example.psm1 | 4 ++- 33 files changed, 25 insertions(+), 240 deletions(-) rename src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/{ => StartupScripts}/AnalysisServicesDataplaneStartup.ps1 (94%) rename src/ResourceManager/Cdn/Commands.Cdn/{ => StartupScripts}/CdnStartup.ps1 (93%) rename src/ResourceManager/HDInsight/Commands.HDInsight/{ => StartupScripts}/AzureRmHDInsightStartup.ps1 (94%) rename src/ResourceManager/Network/Commands.Network/{ => StartupScripts}/AzureRmNetworkStartup.ps1 (94%) rename src/ResourceManager/OperationalInsights/Commands.OperationalInsights/{ => StartupScripts}/OperationalInsightsStartup.ps1 (93%) rename src/ResourceManager/Profile/Commands.Profile/{ => StartupScripts}/AzureRmProfileStartup.ps1 (95%) rename src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/{ => StartupScripts}/RecoveryServicesAsrStartup.ps1 (99%) rename src/ResourceManager/RecoveryServices/Commands.RecoveryServices/{ => StartupScripts}/AzureRmRecoveryServicesStartup.ps1 (93%) rename src/ResourceManager/Sql/Commands.Sql/{ => StartupScripts}/SqlStartup.ps1 (94%) rename src/ResourceManager/Websites/Commands.Websites/{ => StartupScripts}/WebsitesStartup.ps1 (93%) diff --git a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands.AnalysisServices.Dataplane.csproj b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands.AnalysisServices.Dataplane.csproj index 8430087643f9..42196d677bf2 100644 --- a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands.AnalysisServices.Dataplane.csproj +++ b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands.AnalysisServices.Dataplane.csproj @@ -112,9 +112,6 @@ - - PreserveNewest - PreserveNewest diff --git a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands/AddAzureASAccount.cs b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands/AddAzureASAccount.cs index bd7bf828c1af..61acc3bfc566 100644 --- a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands/AddAzureASAccount.cs +++ b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands/AddAzureASAccount.cs @@ -32,7 +32,7 @@ namespace Microsoft.Azure.Commands.AnalysisServices.Dataplane [Cmdlet("Add", "AzureAnalysisServicesAccount", DefaultParameterSetName = "UserParameterSetName", SupportsShouldProcess =true)] [Alias("Login-AzureAsAccount")] [OutputType(typeof(AsAzureProfile))] - public class AddAzureASAccountCommand : AzurePSCmdlet, IModuleAssemblyInitializer + public class AddAzureASAccountCommand : AzurePSCmdlet { private const string UserParameterSet = "UserParameterSetName"; private const string ServicePrincipalWithPasswordParameterSet = "ServicePrincipalWithPasswordParameterSetName"; @@ -189,22 +189,5 @@ public override void ExecuteCmdlet() WriteObject(asAzureProfile); } } - - public void OnImport() - { - try - { - System.Management.Automation.PowerShell invoker = null; - invoker = System.Management.Automation.PowerShell.Create(RunspaceMode.CurrentRunspace); - invoker.AddScript(File.ReadAllText(FileUtilities.GetContentFilePath( - Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), - "AnalysisServicesDataplaneStartup.ps1"))); - invoker.Invoke(); - } - catch - { - // This will throw exception for tests, ignore. - } - } } } diff --git a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/AnalysisServicesDataplaneStartup.ps1 b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/StartupScripts/AnalysisServicesDataplaneStartup.ps1 similarity index 94% rename from src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/AnalysisServicesDataplaneStartup.ps1 rename to src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/StartupScripts/AnalysisServicesDataplaneStartup.ps1 index 598c66c062df..0d2ec372cc43 100644 --- a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/AnalysisServicesDataplaneStartup.ps1 +++ b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/StartupScripts/AnalysisServicesDataplaneStartup.ps1 @@ -16,4 +16,4 @@ "Login-AzureAsAccount" = "Add-AzureAnalysisServicesAccount"; "Restart-AzureAsInstance" = "Restart-AzureAnalysisServicesInstance"; "Sync-AzureAsInstance" = "Sync-AzureAnalysisServicesInstance"; -}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | New-Alias -Description "AzureAlias" \ No newline at end of file +}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | Set-Alias -Description "AzureAlias" \ No newline at end of file diff --git a/src/ResourceManager/Cdn/AzureRM.Cdn.psd1 b/src/ResourceManager/Cdn/AzureRM.Cdn.psd1 index 3eae6f7c78a7..2ec5b8cedf58 100644 --- a/src/ResourceManager/Cdn/AzureRM.Cdn.psd1 +++ b/src/ResourceManager/Cdn/AzureRM.Cdn.psd1 @@ -91,7 +91,7 @@ CmdletsToExport = 'Get-AzureRmCdnProfile', 'Get-AzureRmCdnProfileSsoUrl', # VariablesToExport = @() # Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. -AliasesToExport = @() +AliasesToExport = 'Validate-AzureRmCdnCustomDomain' # DSC resources to export from this module # DscResourcesToExport = @() diff --git a/src/ResourceManager/Cdn/Commands.Cdn/Commands.Cdn.csproj b/src/ResourceManager/Cdn/Commands.Cdn/Commands.Cdn.csproj index 6d0b21f34ae8..b64a1e28c105 100644 --- a/src/ResourceManager/Cdn/Commands.Cdn/Commands.Cdn.csproj +++ b/src/ResourceManager/Cdn/Commands.Cdn/Commands.Cdn.csproj @@ -141,9 +141,6 @@ Always - - PreserveNewest - diff --git a/src/ResourceManager/Cdn/Commands.Cdn/CustomDomain/NewAzureRmCdnCustomDomain.cs b/src/ResourceManager/Cdn/Commands.Cdn/CustomDomain/NewAzureRmCdnCustomDomain.cs index 6cdc86bac68c..c31e8989ce6d 100644 --- a/src/ResourceManager/Cdn/Commands.Cdn/CustomDomain/NewAzureRmCdnCustomDomain.cs +++ b/src/ResourceManager/Cdn/Commands.Cdn/CustomDomain/NewAzureRmCdnCustomDomain.cs @@ -32,7 +32,7 @@ namespace Microsoft.Azure.Commands.Cdn.CustomDomain { [Cmdlet(VerbsCommon.New, "AzureRmCdnCustomDomain", DefaultParameterSetName = FieldsParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSCustomDomain))] - public class NewAzureRmCdnCustomDomain : AzureCdnCmdletBase, IModuleAssemblyInitializer + public class NewAzureRmCdnCustomDomain : AzureCdnCmdletBase { [Parameter(Mandatory = true, HelpMessage = "Host name (address) of the Azure CDN custom domain name.")] [ValidateNotNullOrEmpty] @@ -99,22 +99,5 @@ private void NewCustomDomain() WriteVerbose(Resources.Success); WriteObject(customDomain.ToPsCustomDomain()); } - - public void OnImport() - { - try - { - System.Management.Automation.PowerShell invoker = null; - invoker = System.Management.Automation.PowerShell.Create(RunspaceMode.CurrentRunspace); - invoker.AddScript(File.ReadAllText(FileUtilities.GetContentFilePath( - Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory), - "CdnStartup.ps1"))); - invoker.Invoke(); - } - catch - { - // This may throw exception for tests, ignore. - } - } } } diff --git a/src/ResourceManager/Cdn/Commands.Cdn/CdnStartup.ps1 b/src/ResourceManager/Cdn/Commands.Cdn/StartupScripts/CdnStartup.ps1 similarity index 93% rename from src/ResourceManager/Cdn/Commands.Cdn/CdnStartup.ps1 rename to src/ResourceManager/Cdn/Commands.Cdn/StartupScripts/CdnStartup.ps1 index f42becd255ca..e5be28dbf106 100644 --- a/src/ResourceManager/Cdn/Commands.Cdn/CdnStartup.ps1 +++ b/src/ResourceManager/Cdn/Commands.Cdn/StartupScripts/CdnStartup.ps1 @@ -14,4 +14,4 @@ @{ "Validate-AzureRmCdnCustomDomain" = "Test-AzureRmCdnCustomDomain"; -}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | New-Alias -Description "AzureAlias" +}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | Set-Alias -Description "AzureAlias" diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index c4a3d88d36ce..e14e0f28f676 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -111,9 +111,6 @@ AzureRM.HDInsight.psd1 PreserveNewest - - PreserveNewest - Never diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/EnableAzureHDInsightOMSCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/EnableAzureHDInsightOMSCommand.cs index e529f65094ad..ff6b56e9e93c 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/EnableAzureHDInsightOMSCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/EnableAzureHDInsightOMSCommand.cs @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.HDInsight SupportsShouldProcess = true)] [Alias("Enable-AzureRmHDInsightOMS")] [OutputType(typeof(OperationResource))] - public class EnableAzureHDInsightOMSCommand : HDInsightCmdletBase, IModuleAssemblyInitializer + public class EnableAzureHDInsightOMSCommand : HDInsightCmdletBase { #region Input Parameter Definitions @@ -79,25 +79,5 @@ public override void ExecuteCmdlet() WriteObject(operationResource); } } - - /// - /// Load global aliases for HDInsight - /// - public void OnImport() - { - try - { - System.Management.Automation.PowerShell invoker = null; - invoker = System.Management.Automation.PowerShell.Create(RunspaceMode.CurrentRunspace); - invoker.AddScript(File.ReadAllText(FileUtilities.GetContentFilePath( - Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), - "AzureRmHDInsightStartup.ps1"))); - invoker.Invoke(); - } - catch - { - // This may throw exception for tests, ignore. - } - } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/AzureRmHDInsightStartup.ps1 b/src/ResourceManager/HDInsight/Commands.HDInsight/StartupScripts/AzureRmHDInsightStartup.ps1 similarity index 94% rename from src/ResourceManager/HDInsight/Commands.HDInsight/AzureRmHDInsightStartup.ps1 rename to src/ResourceManager/HDInsight/Commands.HDInsight/StartupScripts/AzureRmHDInsightStartup.ps1 index 63ff349c3b6a..bf3fcc06e765 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/AzureRmHDInsightStartup.ps1 +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/StartupScripts/AzureRmHDInsightStartup.ps1 @@ -16,4 +16,4 @@ "Enable-AzureRmHDInsightOMS" = "Enable-AzureRmHDInsightOperationsManagementSuite"; "Disable-AzureRmHDInsightOMS" = "Disable-AzureRmHDInsightOperationsManagementSuite"; "Get-AzureRmHDInsightOMS" = "Get-AzureRmHDInsightOperationsManagementSuite"; -}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | New-Alias -Description "AzureAlias" +}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | Set-Alias -Description "AzureAlias" diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GetAzureApplicationGatewayAvailableWafRuleSets.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GetAzureApplicationGatewayAvailableWafRuleSets.cs index 67b07e73cbed..5c00646b2946 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GetAzureApplicationGatewayAvailableWafRuleSets.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GetAzureApplicationGatewayAvailableWafRuleSets.cs @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Network [Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewayAvailableWafRuleSets"), OutputType(typeof(PSApplicationGatewayAvailableWafRuleSetsResult))] [Alias("List-AzureRmApplicationGatewayAvailableWafRuleSets")] - public class GetAzureApplicationGatewayAvailableWafRuleSets : ApplicationGatewayBaseCmdlet, IModuleAssemblyInitializer + public class GetAzureApplicationGatewayAvailableWafRuleSets : ApplicationGatewayBaseCmdlet { public override void ExecuteCmdlet() { @@ -37,26 +37,6 @@ public override void ExecuteCmdlet() var psAvailableWafRuleSets = NetworkResourceManagerProfile.Mapper.Map(availableWafRuleSets); WriteObject(psAvailableWafRuleSets); } - - /// - /// Setup necessary functionality when module gets imported. - /// - public void OnImport() - { - try - { - System.Management.Automation.PowerShell invoker = null; - invoker = System.Management.Automation.PowerShell.Create(RunspaceMode.CurrentRunspace); - invoker.AddScript(File.ReadAllText(FileUtilities.GetContentFilePath( - Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), - "AzureRmNetworkStartup.ps1"))); - invoker.Invoke(); - } - catch - { - // This will throw exception for tests, ignore. - } - } } } diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj index 70f2a8d030e6..0e022f5d0402 100644 --- a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj +++ b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj @@ -567,9 +567,6 @@ AzureRM.Network.psd1 PreserveNewest - - PreserveNewest - Always diff --git a/src/ResourceManager/Network/Commands.Network/AzureRmNetworkStartup.ps1 b/src/ResourceManager/Network/Commands.Network/StartupScripts/AzureRmNetworkStartup.ps1 similarity index 94% rename from src/ResourceManager/Network/Commands.Network/AzureRmNetworkStartup.ps1 rename to src/ResourceManager/Network/Commands.Network/StartupScripts/AzureRmNetworkStartup.ps1 index 61dcf07cdefb..b54b7293b48f 100644 --- a/src/ResourceManager/Network/Commands.Network/AzureRmNetworkStartup.ps1 +++ b/src/ResourceManager/Network/Commands.Network/StartupScripts/AzureRmNetworkStartup.ps1 @@ -16,4 +16,4 @@ "List-AzureRmApplicationGatewayAvailableWafRuleSets" = "Get-AzureRmApplicationGatewayAvailableWafRuleSets" "List-AzureRmApplicationGatewayAvailableSslOptions" = "Get-AzureRmApplicationGatewayAvailableSslOptions" "List-AzureRmApplicationGatewaySslPredefinedPolicy" = "Get-AzureRmApplicationGatewaySslPredefinedPolicy" -}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | New-Alias -Description "AzureAlias" \ No newline at end of file +}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | Set-Alias -Description "AzureAlias" \ No newline at end of file diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj index cc9a2669c360..75ee5f041864 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj @@ -164,9 +164,6 @@ Designer - - PreserveNewest - Designer diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/DataSources/NewDataSourceCmdletsPerKind/NewAzureOperationalInsightsAzureActivityLogDataSourceCommand.cs b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/DataSources/NewDataSourceCmdletsPerKind/NewAzureOperationalInsightsAzureActivityLogDataSourceCommand.cs index 82deea5f3bee..f44b2a3462ca 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/DataSources/NewDataSourceCmdletsPerKind/NewAzureOperationalInsightsAzureActivityLogDataSourceCommand.cs +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/DataSources/NewDataSourceCmdletsPerKind/NewAzureOperationalInsightsAzureActivityLogDataSourceCommand.cs @@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.OperationalInsights [Cmdlet(VerbsCommon.New, "AzureRmOperationalInsightsAzureActivityLogDataSource", SupportsShouldProcess = true, DefaultParameterSetName = ByWorkspaceName), OutputType(typeof(PSDataSource))] [Alias("New-AzureRmOperationalInsightsAzureAuditDataSource")] - public class NewAzureOperationalInsightsAzureActivityLogDataSourceCommand : NewAzureOperationalInsightsDataSourceBaseCmdlet, IModuleAssemblyInitializer + public class NewAzureOperationalInsightsAzureActivityLogDataSourceCommand : NewAzureOperationalInsightsDataSourceBaseCmdlet { [Parameter(Position = 0, ParameterSetName = ByWorkspaceObject, Mandatory = true, ValueFromPipeline = true, HelpMessage = "The workspace that will contain the data source.")] @@ -74,27 +74,5 @@ public override void ExecuteCmdlet() CreatePSDataSourceWithProperties(auditLogProperties); } - - - /// - /// Load global aliases for ARM - /// - public void OnImport() - { - try - { - System.Management.Automation.PowerShell invoker = null; - invoker = System.Management.Automation.PowerShell.Create(RunspaceMode.CurrentRunspace); - invoker.AddScript(File.ReadAllText(FileUtilities.GetContentFilePath( - Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), - "OperationalInsightsStartup.ps1"))); - invoker.Invoke(); - } - catch - { - // This will throw exception for tests, ignore. - } - - } } } \ No newline at end of file diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/OperationalInsightsStartup.ps1 b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/StartupScripts/OperationalInsightsStartup.ps1 similarity index 93% rename from src/ResourceManager/OperationalInsights/Commands.OperationalInsights/OperationalInsightsStartup.ps1 rename to src/ResourceManager/OperationalInsights/Commands.OperationalInsights/StartupScripts/OperationalInsightsStartup.ps1 index 8e6356475c51..04ee885de090 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/OperationalInsightsStartup.ps1 +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/StartupScripts/OperationalInsightsStartup.ps1 @@ -14,4 +14,4 @@ @{ "New-AzureRmOperationalInsightsAzureAuditDataSource" = "New-AzureRmOperationalInsightsAzureActivityLogDataSource"; -}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | New-Alias -Description "AzureAlias" \ No newline at end of file +}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | Set-Alias -Description "AzureAlias" \ No newline at end of file diff --git a/src/ResourceManager/Profile/AzureRM.Profile.psd1 b/src/ResourceManager/Profile/AzureRM.Profile.psd1 index 49149ed3b772..266d048a4ad2 100644 --- a/src/ResourceManager/Profile/AzureRM.Profile.psd1 +++ b/src/ResourceManager/Profile/AzureRM.Profile.psd1 @@ -113,8 +113,8 @@ CmdletsToExport = 'Disable-AzureRmDataCollection', 'Disable-AzureRmContextAutosa # VariablesToExport = @() # Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. -AliasesToExport = 'Login-AzureRmAccount', 'Select-AzureRmSubscription', 'Resolve-Error', - 'Logout-AzAccount', 'Logout-AzureRmAccount', 'Login-AzAccount' +AliasesToExport = 'Login-AzureRmAccount', 'Select-AzureRmSubscription', 'Save-AzureRmProfile', 'Resolve-Error', + 'Logout-AzAccount', 'Logout-AzureRmAccount', 'Login-AzAccount', 'Select-AzureRmProfile' # DSC resources to export from this module # DscResourcesToExport = @() diff --git a/src/ResourceManager/Profile/Commands.Profile/Account/AddAzureRmAccount.cs b/src/ResourceManager/Profile/Commands.Profile/Account/AddAzureRmAccount.cs index 72a552315e27..ac499b32994b 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Account/AddAzureRmAccount.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Account/AddAzureRmAccount.cs @@ -266,11 +266,6 @@ public void OnImport() #if DEBUG } #endif - var invoker = System.Management.Automation.PowerShell.Create(RunspaceMode.CurrentRunspace); - invoker.AddScript(File.ReadAllText(FileUtilities.GetContentFilePath( - Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), - "AzureRmProfileStartup.ps1"))); - var result = invoker.Invoke(); bool autoSaveEnabled = AzureSession.Instance.ARMContextSaveMode == ContextSaveMode.CurrentUser; var autosaveVariable = System.Environment.GetEnvironmentVariable(AzureProfileConstants.AzureAutosaveVariable); diff --git a/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj b/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj index 48e180b57d2c..7811ec1486ee 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj +++ b/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj @@ -127,9 +127,6 @@ AzureRM.Profile.psd1 PreserveNewest - - PreserveNewest - Designer Always diff --git a/src/ResourceManager/Profile/Commands.Profile/AzureRmProfileStartup.ps1 b/src/ResourceManager/Profile/Commands.Profile/StartupScripts/AzureRmProfileStartup.ps1 similarity index 95% rename from src/ResourceManager/Profile/Commands.Profile/AzureRmProfileStartup.ps1 rename to src/ResourceManager/Profile/Commands.Profile/StartupScripts/AzureRmProfileStartup.ps1 index 0dbbcdd4272e..4313d2bae874 100644 --- a/src/ResourceManager/Profile/Commands.Profile/AzureRmProfileStartup.ps1 +++ b/src/ResourceManager/Profile/Commands.Profile/StartupScripts/AzureRmProfileStartup.ps1 @@ -21,5 +21,5 @@ "Logout-AzAccount" = "Remove-AzureRmAccount"; "Logout-AzureRmAccount" = "Remove-AzureRmAccount"; "Login-AzAccount" = "Add-AzureRmAccount"; -}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | New-Alias -Description "AzureAlias" | Out-Null +}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | Set-Alias -Description "AzureAlias" | Out-Null diff --git a/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery.csproj b/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery.csproj index ea3a41e4ce1d..4f339c13ce58 100644 --- a/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery.csproj +++ b/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery.csproj @@ -168,9 +168,6 @@ Always - - PreserveNewest - diff --git a/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/RecoveryServicesAsrStartup.ps1 b/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/StartupScripts/RecoveryServicesAsrStartup.ps1 similarity index 99% rename from src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/RecoveryServicesAsrStartup.ps1 rename to src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/StartupScripts/RecoveryServicesAsrStartup.ps1 index 41defc9ecf11..7a0ef44ecec1 100644 --- a/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/RecoveryServicesAsrStartup.ps1 +++ b/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/StartupScripts/RecoveryServicesAsrStartup.ps1 @@ -87,4 +87,4 @@ "Update-ASRRecoveryPlan" = "Update-AzureRmRecoveryServicesAsrRecoveryPlan"; "Update-ASRServicesProvider" = "Update-AzureRmRecoveryServicesAsrServicesProvider"; "Update-ASRvCenter" = "Update-AzureRmRecoveryServicesAsrvCenter"; -}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | New-Alias -Description "AzureAlias" +}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | Set-Alias -Description "AzureAlias" diff --git a/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/Storage/Classification/RemoveAzureRmRecoveryServicesAsrStorageClassificationMapping.cs b/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/Storage/Classification/RemoveAzureRmRecoveryServicesAsrStorageClassificationMapping.cs index 2919abcb4000..1343b376d415 100644 --- a/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/Storage/Classification/RemoveAzureRmRecoveryServicesAsrStorageClassificationMapping.cs +++ b/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/Storage/Classification/RemoveAzureRmRecoveryServicesAsrStorageClassificationMapping.cs @@ -33,8 +33,7 @@ namespace Microsoft.Azure.Commands.RecoveryServices.SiteRecovery [Alias("Remove-ASRStorageClassificationMapping")] [OutputType(typeof(ASRJob))] public class RemoveAzureRmRecoveryServicesAsrStorageClassificationMapping : - SiteRecoveryCmdletBase, - IModuleAssemblyInitializer + SiteRecoveryCmdletBase { /// /// Gets or sets primary storage classification. @@ -47,34 +46,6 @@ public class RemoveAzureRmRecoveryServicesAsrStorageClassificationMapping : [Alias("StorageClassificationMapping")] public ASRStorageClassificationMapping InputObject { get; set; } - /// - /// Add Site Recovery aliases - /// - public void OnImport() - { - try - { - AzureSessionInitializer.InitializeAzureSession(); - ResourceManagerProfileProvider.InitializeResourceManagerProfile(); - - System.Management.Automation.PowerShell invoker = null; - invoker = System.Management.Automation.PowerShell.Create( - RunspaceMode.CurrentRunspace); - invoker.AddScript( - File.ReadAllText( - FileUtilities.GetContentFilePath( - Path.GetDirectoryName( - Assembly.GetExecutingAssembly() - .Location), - "RecoveryServicesAsrStartup.ps1"))); - invoker.Invoke(); - } - catch - { - // This may throw exception for tests, ignore. - } - } - /// /// ProcessRecord of the command. /// diff --git a/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj b/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj index 473c8bdeaaf6..39ed2d8475b8 100644 --- a/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj +++ b/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj @@ -85,9 +85,6 @@ AzureRM.RecoveryServices.psd1 PreserveNewest - - PreserveNewest - Designer diff --git a/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/AzureRmRecoveryServicesStartup.ps1 b/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/StartupScripts/AzureRmRecoveryServicesStartup.ps1 similarity index 93% rename from src/ResourceManager/RecoveryServices/Commands.RecoveryServices/AzureRmRecoveryServicesStartup.ps1 rename to src/ResourceManager/RecoveryServices/Commands.RecoveryServices/StartupScripts/AzureRmRecoveryServicesStartup.ps1 index 9d54c3222e39..7cdcb9b86d2a 100644 --- a/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/AzureRmRecoveryServicesStartup.ps1 +++ b/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/StartupScripts/AzureRmRecoveryServicesStartup.ps1 @@ -14,4 +14,4 @@ @{ "Get-AzureRmRecoveryServicesBackupProperty" = "Get-AzureRmRecoveryServicesBackupProperties"; -}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | New-Alias -Description "AzureAlias" +}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | Set-Alias -Description "AzureAlias" diff --git a/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/Vault/GetAzureRmRecoveryServicesBackupProperty.cs b/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/Vault/GetAzureRmRecoveryServicesBackupProperty.cs index 19cc730df12f..600764e0486f 100644 --- a/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/Vault/GetAzureRmRecoveryServicesBackupProperty.cs +++ b/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/Vault/GetAzureRmRecoveryServicesBackupProperty.cs @@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.RecoveryServices [Cmdlet(VerbsCommon.Get, "AzureRmRecoveryServicesBackupProperty")] [Alias("Get-AzureRmRecoveryServicesBackupProperties")] [OutputType(typeof(ASRVaultBackupProperties))] - public class GetAzureRmRecoveryServicesBackupProperty : RecoveryServicesCmdletBase, IModuleAssemblyInitializer + public class GetAzureRmRecoveryServicesBackupProperty : RecoveryServicesCmdletBase { #region Parameters @@ -60,22 +60,5 @@ public override void ExecuteCmdlet() this.HandleException(exception); } } - - public void OnImport() - { - try - { - System.Management.Automation.PowerShell invoker = null; - invoker = System.Management.Automation.PowerShell.Create(RunspaceMode.CurrentRunspace); - invoker.AddScript(File.ReadAllText(FileUtilities.GetContentFilePath( - Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), - "AzureRmRecoveryServicesStartup.ps1"))); - invoker.Invoke(); - } - catch - { - // This will throw exception for tests, ignore. - } - } } } diff --git a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj index 8ea6fe76983a..c4d82c813fcf 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj +++ b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj @@ -429,9 +429,6 @@ - - PreserveNewest - diff --git a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/GetAzureSqlServer.cs b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/GetAzureSqlServer.cs index 9fd5f3d85408..a7d27e4d4fcd 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/GetAzureSqlServer.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/GetAzureSqlServer.cs @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Sql.Server.Cmdlet /// Defines the Get-AzureRmSqlServer cmdlet /// [Cmdlet(VerbsCommon.Get, "AzureRmSqlServer", ConfirmImpact = ConfirmImpact.None, SupportsShouldProcess = true)] - public class GetAzureSqlServer : AzureSqlServerCmdletBase, IModuleAssemblyInitializer + public class GetAzureSqlServer : AzureSqlServerCmdletBase { /// /// Gets or sets the name of the resource group to use. @@ -98,25 +98,5 @@ protected override IEnumerable ApplyUserInputToModel(IEnume { return model; } - - /// - /// Add Sql aliases - /// - public void OnImport() - { - try - { - System.Management.Automation.PowerShell invoker = null; - invoker = System.Management.Automation.PowerShell.Create(RunspaceMode.CurrentRunspace); - invoker.AddScript(File.ReadAllText(FileUtilities.GetContentFilePath( - Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), - "SqlStartup.ps1"))); - invoker.Invoke(); - } - catch - { - // This may throw exception for tests, ignore. - } - } } } diff --git a/src/ResourceManager/Sql/Commands.Sql/SqlStartup.ps1 b/src/ResourceManager/Sql/Commands.Sql/StartupScripts/SqlStartup.ps1 similarity index 94% rename from src/ResourceManager/Sql/Commands.Sql/SqlStartup.ps1 rename to src/ResourceManager/Sql/Commands.Sql/StartupScripts/SqlStartup.ps1 index d1624c618418..0968fac3dd11 100644 --- a/src/ResourceManager/Sql/Commands.Sql/SqlStartup.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql/StartupScripts/SqlStartup.ps1 @@ -18,5 +18,5 @@ "Remove-AzureRmSqlDatabaseServerAuditing" = "Remove-AzureRmSqlServerAuditing"; "Set-AzureRmSqlDatabaseServerAuditingPolicy" = "Set-AzureRmSqlServerAuditingPolicy"; "Use-AzureRmSqlDatabaseServerAuditingPolicy" = "Use-AzureRmSqlServerAuditingPolicy"; -}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | New-Alias -Description "AzureAlias" +}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | Set-Alias -Description "AzureAlias" diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/DeploymentSlots/SwitchAzureWebAppSlot.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/DeploymentSlots/SwitchAzureWebAppSlot.cs index 41337301d6a8..c5c2bb11201e 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/DeploymentSlots/SwitchAzureWebAppSlot.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/DeploymentSlots/SwitchAzureWebAppSlot.cs @@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots /// this commandlet will let you swap two web app slots using ARM APIs /// [Cmdlet(VerbsCommon.Switch, "AzureRmWebAppSlot", SupportsShouldProcess = true)] - public class SwitchAzureWebAppSlot : WebAppBaseCmdlet, IModuleAssemblyInitializer + public class SwitchAzureWebAppSlot : WebAppBaseCmdlet { [Parameter(Position = 0, Mandatory = true, HelpMessage = "Name of the source slot.")] [ValidateNotNullOrEmpty] @@ -125,25 +125,5 @@ private void GetConfirmActionMessages(out string actionMessage, out string proce } } } - - /// - /// Load global aliases for ARM - /// - public void OnImport() - { - try - { - System.Management.Automation.PowerShell invoker = null; - invoker = System.Management.Automation.PowerShell.Create(RunspaceMode.CurrentRunspace); - invoker.AddScript(File.ReadAllText(FileUtilities.GetContentFilePath( - Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), - "WebsitesStartup.ps1"))); - invoker.Invoke(); - } - catch(Exception) when (TestMockSupport.RunningMocked) - { - // This will throw exception for tests, ignore. - } - } } } diff --git a/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj b/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj index 665ad2e2119e..08556aa310ca 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj +++ b/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj @@ -133,9 +133,6 @@ Always - - PreserveNewest - diff --git a/src/ResourceManager/Websites/Commands.Websites/WebsitesStartup.ps1 b/src/ResourceManager/Websites/Commands.Websites/StartupScripts/WebsitesStartup.ps1 similarity index 93% rename from src/ResourceManager/Websites/Commands.Websites/WebsitesStartup.ps1 rename to src/ResourceManager/Websites/Commands.Websites/StartupScripts/WebsitesStartup.ps1 index 68bf0cee6cbf..56ed65c1a2f6 100644 --- a/src/ResourceManager/Websites/Commands.Websites/WebsitesStartup.ps1 +++ b/src/ResourceManager/Websites/Commands.Websites/StartupScripts/WebsitesStartup.ps1 @@ -14,4 +14,4 @@ @{ "Swap-AzureRmWebAppSlot" = "Switch-AzureRmWebAppSlot"; -}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | New-Alias -Description "AzureAlias" +}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | Set-Alias -Description "AzureAlias" diff --git a/tools/AzureRM.Example.psm1 b/tools/AzureRM.Example.psm1 index 007ca42929d5..5055bdc6d8ec 100644 --- a/tools/AzureRM.Example.psm1 +++ b/tools/AzureRM.Example.psm1 @@ -12,7 +12,7 @@ Set-StrictMode -Version Latest %IMPORTED-DEPENDENCIES% Get-ChildItem "$PSScriptRoot\StartupScripts" | ForEach-Object { - & $_.FullName + . $_.FullName } if ($PSVersionTable.PSVersion.Major -ge 5) @@ -41,3 +41,5 @@ $FilteredCommands | ForEach-Object { } }) } + +Export-ModuleMember -Alias * From 49dc5346f6b329feaeee26303a4f60b0ec5ed34b Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Fri, 1 Dec 2017 16:55:16 -0800 Subject: [PATCH 07/11] fix pr comments --- .../StartupScripts/sample.ps1 | 1 - .../Commands.AnalysisServices.csproj | 3 +-- .../StartupScripts/sample.ps1 | 2 +- .../Commands.ApiManagement.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.ApplicationInsights.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.Automation.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.AzureBackup.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.Batch/Commands.Batch.csproj | 2 +- .../Commands.Batch/StartupScripts/sample.ps1 | 2 +- .../Commands.Billing/Commands.Billing.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.Cdn/StartupScripts/sample.ps1 | 1 - ...mmands.Management.CognitiveServices.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.Compute/Commands.Compute.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.Compute/Commands.Compute.csproj | 3 +++ .../StartupScripts/sample.ps1 | 1 + .../Commands.Consumption.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.ContainerInstance.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.ContainerRegistry.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.DataFactories.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.DataFactoryV2.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.DataLakeAnalytics.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.DataLakeStore.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.DevTestLabs.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Dns/Commands.Dns/Commands.Dns.csproj | 2 +- .../Commands.Dns/StartupScripts/sample.ps1 | 2 +- .../Commands.EventGrid.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.EventHub.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../StartupScripts/sample.ps1 | 1 - .../Commands.Insights.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.IotHub/Commands.IotHub.csproj | 2 +- .../Commands.IotHub/StartupScripts/sample.ps1 | 2 +- .../Commands.KeyVault.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.LogicApp.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.MachineLearning.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.MachineLearningCompute.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.MarketplaceOrdering.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.Media/Commands.Media.csproj | 2 +- .../Commands.Media/StartupScripts/sample.ps1 | 2 +- .../StartupScripts/sample.ps1 | 1 - .../AzureRmNetworkStartup.ps1 | 19 ------------------- .../Commands.Network/Commands.Network.csproj | 6 +++--- .../StartupScripts/sample.ps1 | 1 + .../Commands.NotificationHubs.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../StartupScripts/sample.ps1 | 1 - ...Commands.Management.PowerBIEmbedded.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../StartupScripts/sample.ps1 | 1 - ...nds.RecoveryServices.Backup.Cmdlets.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../StartupScripts/sample.ps1 | 1 - .../StartupScripts/sample.ps1 | 1 - .../Commands.RedisCache.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.Relay/Commands.Relay.csproj | 2 +- .../Commands.Relay/StartupScripts/sample.ps1 | 2 +- .../Commands.Resources.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.Scheduler.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.ServerManagement.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.ServiceBus.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.ServiceFabric.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.SiteRecovery.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.Sql/StartupScripts/sample.ps1 | 1 - .../Commands.Management.Storage.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.Management.Storage.csproj | 3 +++ .../StartupScripts/sample.ps1 | 1 + .../Commands.StreamAnalytics.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Tags/Commands.Tags/Commands.Tags.csproj | 2 +- .../Commands.Tags/StartupScripts/sample.ps1 | 2 +- .../Commands.TrafficManager.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../Commands.UsageAggregates.csproj | 2 +- .../StartupScripts/sample.ps1 | 2 +- .../StartupScripts/sample.ps1 | 1 - 105 files changed, 100 insertions(+), 121 deletions(-) delete mode 100644 src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/StartupScripts/sample.ps1 delete mode 100644 src/ResourceManager/Cdn/Commands.Cdn/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Compute/Stack/Commands.Compute/StartupScripts/sample.ps1 delete mode 100644 src/ResourceManager/HDInsight/Commands.HDInsight/StartupScripts/sample.ps1 delete mode 100644 src/ResourceManager/Network/Commands.Network/StartupScripts/sample.ps1 delete mode 100644 src/ResourceManager/Network/Stack/Commands.Network/AzureRmNetworkStartup.ps1 create mode 100644 src/ResourceManager/Network/Stack/Commands.Network/StartupScripts/sample.ps1 delete mode 100644 src/ResourceManager/OperationalInsights/Commands.OperationalInsights/StartupScripts/sample.ps1 delete mode 100644 src/ResourceManager/Profile/Commands.Profile/StartupScripts/sample.ps1 delete mode 100644 src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/StartupScripts/sample.ps1 delete mode 100644 src/ResourceManager/RecoveryServices/Commands.RecoveryServices/StartupScripts/sample.ps1 delete mode 100644 src/ResourceManager/Sql/Commands.Sql/StartupScripts/sample.ps1 create mode 100644 src/ResourceManager/Storage/Stack/Commands.Management.Storage/StartupScripts/sample.ps1 delete mode 100644 src/ResourceManager/Websites/Commands.Websites/StartupScripts/sample.ps1 diff --git a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/StartupScripts/sample.ps1 b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/StartupScripts/sample.ps1 deleted file mode 100644 index 1dbc147be0de..000000000000 --- a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/StartupScripts/sample.ps1 +++ /dev/null @@ -1 +0,0 @@ -#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj index debe1c997524..f578038c5fe0 100644 --- a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj +++ b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj @@ -71,7 +71,7 @@ Designer - Always + @@ -81,7 +81,6 @@ Designer - {70527617-7598-4aef-b5bd-db9186b8184b} diff --git a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/StartupScripts/sample.ps1 b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/StartupScripts/sample.ps1 +++ b/src/ResourceManager/AnalysisServices/Commands.AnalysisServices/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj index b2bfc3e9b80b..75a56203fe65 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj @@ -146,7 +146,7 @@ - Always + diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/StartupScripts/sample.ps1 b/src/ResourceManager/ApiManagement/Commands.ApiManagement/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/StartupScripts/sample.ps1 +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/Commands.ApplicationInsights.csproj b/src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/Commands.ApplicationInsights.csproj index e965a15a7a1a..1d3de6b22926 100644 --- a/src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/Commands.ApplicationInsights.csproj +++ b/src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/Commands.ApplicationInsights.csproj @@ -97,7 +97,7 @@ Designer - Always + diff --git a/src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/StartupScripts/sample.ps1 b/src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/StartupScripts/sample.ps1 +++ b/src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj b/src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj index 6e1b58d19286..df386099958c 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj +++ b/src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj @@ -203,7 +203,7 @@ Designer - Always + diff --git a/src/ResourceManager/Automation/Commands.Automation/StartupScripts/sample.ps1 b/src/ResourceManager/Automation/Commands.Automation/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/Automation/Commands.Automation/StartupScripts/sample.ps1 +++ b/src/ResourceManager/Automation/Commands.Automation/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj index cfdfa206d8c8..324ef1315151 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj @@ -142,7 +142,7 @@ Designer - Always + diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/StartupScripts/sample.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/StartupScripts/sample.ps1 +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj b/src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj index 718416702b8a..83c273d7bed6 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj @@ -219,7 +219,7 @@ Designer - Always + diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/StartupScripts/sample.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/StartupScripts/sample.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Billing/Commands.Billing/Commands.Billing.csproj b/src/ResourceManager/Billing/Commands.Billing/Commands.Billing.csproj index 706f6717b9cd..db2e43ec57dd 100644 --- a/src/ResourceManager/Billing/Commands.Billing/Commands.Billing.csproj +++ b/src/ResourceManager/Billing/Commands.Billing/Commands.Billing.csproj @@ -82,7 +82,7 @@ - Always + diff --git a/src/ResourceManager/Billing/Commands.Billing/StartupScripts/sample.ps1 b/src/ResourceManager/Billing/Commands.Billing/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/Billing/Commands.Billing/StartupScripts/sample.ps1 +++ b/src/ResourceManager/Billing/Commands.Billing/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Cdn/Commands.Cdn/StartupScripts/sample.ps1 b/src/ResourceManager/Cdn/Commands.Cdn/StartupScripts/sample.ps1 deleted file mode 100644 index 1dbc147be0de..000000000000 --- a/src/ResourceManager/Cdn/Commands.Cdn/StartupScripts/sample.ps1 +++ /dev/null @@ -1 +0,0 @@ -#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/Commands.Management.CognitiveServices.csproj b/src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/Commands.Management.CognitiveServices.csproj index b31ba5d29222..d018952544d3 100644 --- a/src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/Commands.Management.CognitiveServices.csproj +++ b/src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/Commands.Management.CognitiveServices.csproj @@ -87,7 +87,7 @@ Designer - Always + diff --git a/src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/StartupScripts/sample.ps1 b/src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/StartupScripts/sample.ps1 +++ b/src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj b/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj index d5bcf3f3dd25..70985eb6fa7a 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj +++ b/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj @@ -368,7 +368,7 @@ Designer - Always + diff --git a/src/ResourceManager/Compute/Commands.Compute/StartupScripts/sample.ps1 b/src/ResourceManager/Compute/Commands.Compute/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/Compute/Commands.Compute/StartupScripts/sample.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Compute/Stack/Commands.Compute/Commands.Compute.csproj b/src/ResourceManager/Compute/Stack/Commands.Compute/Commands.Compute.csproj index f486a93e8638..d4a2fc2a70dd 100644 --- a/src/ResourceManager/Compute/Stack/Commands.Compute/Commands.Compute.csproj +++ b/src/ResourceManager/Compute/Stack/Commands.Compute/Commands.Compute.csproj @@ -471,6 +471,9 @@ Designer + + + diff --git a/src/ResourceManager/Compute/Stack/Commands.Compute/StartupScripts/sample.ps1 b/src/ResourceManager/Compute/Stack/Commands.Compute/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1a3d1052f460 --- /dev/null +++ b/src/ResourceManager/Compute/Stack/Commands.Compute/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Consumption/Commands.Consumption/Commands.Consumption.csproj b/src/ResourceManager/Consumption/Commands.Consumption/Commands.Consumption.csproj index 2cd31dd465a5..cc8b043c8d4d 100644 --- a/src/ResourceManager/Consumption/Commands.Consumption/Commands.Consumption.csproj +++ b/src/ResourceManager/Consumption/Commands.Consumption/Commands.Consumption.csproj @@ -82,7 +82,7 @@ - Always + diff --git a/src/ResourceManager/Consumption/Commands.Consumption/StartupScripts/sample.ps1 b/src/ResourceManager/Consumption/Commands.Consumption/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/Consumption/Commands.Consumption/StartupScripts/sample.ps1 +++ b/src/ResourceManager/Consumption/Commands.Consumption/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/ContainerInstance/Commands.ContainerInstance/Commands.ContainerInstance.csproj b/src/ResourceManager/ContainerInstance/Commands.ContainerInstance/Commands.ContainerInstance.csproj index 2689d7f76685..dd461243e1cc 100644 --- a/src/ResourceManager/ContainerInstance/Commands.ContainerInstance/Commands.ContainerInstance.csproj +++ b/src/ResourceManager/ContainerInstance/Commands.ContainerInstance/Commands.ContainerInstance.csproj @@ -87,7 +87,7 @@ Designer - Always + AzureRM.ContainerInstance.psd1 diff --git a/src/ResourceManager/ContainerInstance/Commands.ContainerInstance/StartupScripts/sample.ps1 b/src/ResourceManager/ContainerInstance/Commands.ContainerInstance/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/ContainerInstance/Commands.ContainerInstance/StartupScripts/sample.ps1 +++ b/src/ResourceManager/ContainerInstance/Commands.ContainerInstance/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/Commands.ContainerRegistry.csproj b/src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/Commands.ContainerRegistry.csproj index 26d551b0bc2a..c9aa29dbf1bc 100644 --- a/src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/Commands.ContainerRegistry.csproj +++ b/src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/Commands.ContainerRegistry.csproj @@ -89,7 +89,7 @@ - Always + diff --git a/src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/StartupScripts/sample.ps1 b/src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/StartupScripts/sample.ps1 +++ b/src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj index 59450b5f5104..5014c86ba963 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj @@ -172,7 +172,7 @@ Designer - Always + diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/StartupScripts/sample.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactories/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/StartupScripts/sample.ps1 +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactoryV2/Commands.DataFactoryV2.csproj b/src/ResourceManager/DataFactories/Commands.DataFactoryV2/Commands.DataFactoryV2.csproj index 455e85dcdb92..1c982a8019d0 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactoryV2/Commands.DataFactoryV2.csproj +++ b/src/ResourceManager/DataFactories/Commands.DataFactoryV2/Commands.DataFactoryV2.csproj @@ -164,7 +164,7 @@ Designer - Always + diff --git a/src/ResourceManager/DataFactories/Commands.DataFactoryV2/StartupScripts/sample.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactoryV2/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactoryV2/StartupScripts/sample.ps1 +++ b/src/ResourceManager/DataFactories/Commands.DataFactoryV2/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Commands.DataLakeAnalytics.csproj b/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Commands.DataLakeAnalytics.csproj index 55dfdcf986e4..4f06fae97528 100644 --- a/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Commands.DataLakeAnalytics.csproj +++ b/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Commands.DataLakeAnalytics.csproj @@ -112,7 +112,7 @@ - Always + diff --git a/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/StartupScripts/sample.ps1 b/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/StartupScripts/sample.ps1 +++ b/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands.DataLakeStore.csproj b/src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands.DataLakeStore.csproj index 9cf5dbf57cb6..181e1460cec5 100644 --- a/src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands.DataLakeStore.csproj +++ b/src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands.DataLakeStore.csproj @@ -118,7 +118,7 @@ - Always + diff --git a/src/ResourceManager/DataLakeStore/Commands.DataLakeStore/StartupScripts/sample.ps1 b/src/ResourceManager/DataLakeStore/Commands.DataLakeStore/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/DataLakeStore/Commands.DataLakeStore/StartupScripts/sample.ps1 +++ b/src/ResourceManager/DataLakeStore/Commands.DataLakeStore/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/DevTestLabs/Commands.DevTestLabs/Commands.DevTestLabs.csproj b/src/ResourceManager/DevTestLabs/Commands.DevTestLabs/Commands.DevTestLabs.csproj index be26254c31ff..7ee8854579a4 100644 --- a/src/ResourceManager/DevTestLabs/Commands.DevTestLabs/Commands.DevTestLabs.csproj +++ b/src/ResourceManager/DevTestLabs/Commands.DevTestLabs/Commands.DevTestLabs.csproj @@ -82,7 +82,7 @@ Designer - Always + diff --git a/src/ResourceManager/DevTestLabs/Commands.DevTestLabs/StartupScripts/sample.ps1 b/src/ResourceManager/DevTestLabs/Commands.DevTestLabs/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/DevTestLabs/Commands.DevTestLabs/StartupScripts/sample.ps1 +++ b/src/ResourceManager/DevTestLabs/Commands.DevTestLabs/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj b/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj index 6107d15bb071..14b74e9f4e48 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj +++ b/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj @@ -81,7 +81,7 @@ Designer - Always + diff --git a/src/ResourceManager/Dns/Commands.Dns/StartupScripts/sample.ps1 b/src/ResourceManager/Dns/Commands.Dns/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/Dns/Commands.Dns/StartupScripts/sample.ps1 +++ b/src/ResourceManager/Dns/Commands.Dns/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/EventGrid/Commands.EventGrid/Commands.EventGrid.csproj b/src/ResourceManager/EventGrid/Commands.EventGrid/Commands.EventGrid.csproj index eebcf6cb6bae..3a596e74c274 100644 --- a/src/ResourceManager/EventGrid/Commands.EventGrid/Commands.EventGrid.csproj +++ b/src/ResourceManager/EventGrid/Commands.EventGrid/Commands.EventGrid.csproj @@ -92,7 +92,7 @@ - Always + diff --git a/src/ResourceManager/EventGrid/Commands.EventGrid/StartupScripts/sample.ps1 b/src/ResourceManager/EventGrid/Commands.EventGrid/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/EventGrid/Commands.EventGrid/StartupScripts/sample.ps1 +++ b/src/ResourceManager/EventGrid/Commands.EventGrid/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/EventHub/Commands.EventHub/Commands.EventHub.csproj b/src/ResourceManager/EventHub/Commands.EventHub/Commands.EventHub.csproj index 515203966264..76ebc5b1a61f 100644 --- a/src/ResourceManager/EventHub/Commands.EventHub/Commands.EventHub.csproj +++ b/src/ResourceManager/EventHub/Commands.EventHub/Commands.EventHub.csproj @@ -94,7 +94,7 @@ Designer - Always + diff --git a/src/ResourceManager/EventHub/Commands.EventHub/StartupScripts/sample.ps1 b/src/ResourceManager/EventHub/Commands.EventHub/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/EventHub/Commands.EventHub/StartupScripts/sample.ps1 +++ b/src/ResourceManager/EventHub/Commands.EventHub/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/StartupScripts/sample.ps1 b/src/ResourceManager/HDInsight/Commands.HDInsight/StartupScripts/sample.ps1 deleted file mode 100644 index 1dbc147be0de..000000000000 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/StartupScripts/sample.ps1 +++ /dev/null @@ -1 +0,0 @@ -#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj b/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj index 845ad764daf7..034ec695cdbc 100644 --- a/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj +++ b/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj @@ -173,7 +173,7 @@ Designer - Always + diff --git a/src/ResourceManager/Insights/Commands.Insights/StartupScripts/sample.ps1 b/src/ResourceManager/Insights/Commands.Insights/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/Insights/Commands.Insights/StartupScripts/sample.ps1 +++ b/src/ResourceManager/Insights/Commands.Insights/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/IotHub/Commands.IotHub/Commands.IotHub.csproj b/src/ResourceManager/IotHub/Commands.IotHub/Commands.IotHub.csproj index ab5c1716ba1a..433157345b9c 100644 --- a/src/ResourceManager/IotHub/Commands.IotHub/Commands.IotHub.csproj +++ b/src/ResourceManager/IotHub/Commands.IotHub/Commands.IotHub.csproj @@ -151,7 +151,7 @@ - Always + diff --git a/src/ResourceManager/IotHub/Commands.IotHub/StartupScripts/sample.ps1 b/src/ResourceManager/IotHub/Commands.IotHub/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/IotHub/Commands.IotHub/StartupScripts/sample.ps1 +++ b/src/ResourceManager/IotHub/Commands.IotHub/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj index a4aa8b4d4379..5ae0fc00400a 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj @@ -141,7 +141,7 @@ Designer - Always + diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/StartupScripts/sample.ps1 b/src/ResourceManager/KeyVault/Commands.KeyVault/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/StartupScripts/sample.ps1 +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Commands.LogicApp.csproj b/src/ResourceManager/LogicApp/Commands.LogicApp/Commands.LogicApp.csproj index 7eedb068015e..758d36a12d37 100644 --- a/src/ResourceManager/LogicApp/Commands.LogicApp/Commands.LogicApp.csproj +++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Commands.LogicApp.csproj @@ -145,7 +145,7 @@ Designer - Always + diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/StartupScripts/sample.ps1 b/src/ResourceManager/LogicApp/Commands.LogicApp/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/LogicApp/Commands.LogicApp/StartupScripts/sample.ps1 +++ b/src/ResourceManager/LogicApp/Commands.LogicApp/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/MachineLearning/Commands.MachineLearning/Commands.MachineLearning.csproj b/src/ResourceManager/MachineLearning/Commands.MachineLearning/Commands.MachineLearning.csproj index 5e56a9c778f3..74d8571d9c41 100644 --- a/src/ResourceManager/MachineLearning/Commands.MachineLearning/Commands.MachineLearning.csproj +++ b/src/ResourceManager/MachineLearning/Commands.MachineLearning/Commands.MachineLearning.csproj @@ -109,7 +109,7 @@ Designer - Always + diff --git a/src/ResourceManager/MachineLearning/Commands.MachineLearning/StartupScripts/sample.ps1 b/src/ResourceManager/MachineLearning/Commands.MachineLearning/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/MachineLearning/Commands.MachineLearning/StartupScripts/sample.ps1 +++ b/src/ResourceManager/MachineLearning/Commands.MachineLearning/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/Commands.MachineLearningCompute.csproj b/src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/Commands.MachineLearningCompute.csproj index cb366f274ab7..3a40e77987b0 100644 --- a/src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/Commands.MachineLearningCompute.csproj +++ b/src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/Commands.MachineLearningCompute.csproj @@ -99,7 +99,7 @@ Designer - Always + diff --git a/src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/StartupScripts/sample.ps1 b/src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/StartupScripts/sample.ps1 +++ b/src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/Commands.MarketplaceOrdering.csproj b/src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/Commands.MarketplaceOrdering.csproj index 2bcd13a3e3ba..b28ff7d71707 100644 --- a/src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/Commands.MarketplaceOrdering.csproj +++ b/src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/Commands.MarketplaceOrdering.csproj @@ -81,7 +81,7 @@ - Always + diff --git a/src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/StartupScripts/sample.ps1 b/src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/StartupScripts/sample.ps1 +++ b/src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Media/Commands.Media/Commands.Media.csproj b/src/ResourceManager/Media/Commands.Media/Commands.Media.csproj index 2d1720e8753a..1bcbbd2a4c33 100644 --- a/src/ResourceManager/Media/Commands.Media/Commands.Media.csproj +++ b/src/ResourceManager/Media/Commands.Media/Commands.Media.csproj @@ -101,7 +101,7 @@ Designer - Always + diff --git a/src/ResourceManager/Media/Commands.Media/StartupScripts/sample.ps1 b/src/ResourceManager/Media/Commands.Media/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/Media/Commands.Media/StartupScripts/sample.ps1 +++ b/src/ResourceManager/Media/Commands.Media/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Network/Commands.Network/StartupScripts/sample.ps1 b/src/ResourceManager/Network/Commands.Network/StartupScripts/sample.ps1 deleted file mode 100644 index 1dbc147be0de..000000000000 --- a/src/ResourceManager/Network/Commands.Network/StartupScripts/sample.ps1 +++ /dev/null @@ -1 +0,0 @@ -#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Network/Stack/Commands.Network/AzureRmNetworkStartup.ps1 b/src/ResourceManager/Network/Stack/Commands.Network/AzureRmNetworkStartup.ps1 deleted file mode 100644 index 61dcf07cdefb..000000000000 --- a/src/ResourceManager/Network/Stack/Commands.Network/AzureRmNetworkStartup.ps1 +++ /dev/null @@ -1,19 +0,0 @@ -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -@{ - "List-AzureRmApplicationGatewayAvailableWafRuleSets" = "Get-AzureRmApplicationGatewayAvailableWafRuleSets" - "List-AzureRmApplicationGatewayAvailableSslOptions" = "Get-AzureRmApplicationGatewayAvailableSslOptions" - "List-AzureRmApplicationGatewaySslPredefinedPolicy" = "Get-AzureRmApplicationGatewaySslPredefinedPolicy" -}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | New-Alias -Description "AzureAlias" \ No newline at end of file diff --git a/src/ResourceManager/Network/Stack/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Stack/Commands.Network/Commands.Network.csproj index 2ac20806d208..bc24fb7504b2 100644 --- a/src/ResourceManager/Network/Stack/Commands.Network/Commands.Network.csproj +++ b/src/ResourceManager/Network/Stack/Commands.Network/Commands.Network.csproj @@ -530,9 +530,6 @@ AzureRM.Network.psd1 PreserveNewest - - PreserveNewest - Always @@ -544,6 +541,9 @@ Designer + + + diff --git a/src/ResourceManager/Network/Stack/Commands.Network/StartupScripts/sample.ps1 b/src/ResourceManager/Network/Stack/Commands.Network/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1a3d1052f460 --- /dev/null +++ b/src/ResourceManager/Network/Stack/Commands.Network/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/NotificationHubs/Commands.NotificationHubs/Commands.NotificationHubs.csproj b/src/ResourceManager/NotificationHubs/Commands.NotificationHubs/Commands.NotificationHubs.csproj index 3ea5eb702f3c..8827ff4d0ee3 100644 --- a/src/ResourceManager/NotificationHubs/Commands.NotificationHubs/Commands.NotificationHubs.csproj +++ b/src/ResourceManager/NotificationHubs/Commands.NotificationHubs/Commands.NotificationHubs.csproj @@ -89,7 +89,7 @@ Designer - Always + diff --git a/src/ResourceManager/NotificationHubs/Commands.NotificationHubs/StartupScripts/sample.ps1 b/src/ResourceManager/NotificationHubs/Commands.NotificationHubs/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/NotificationHubs/Commands.NotificationHubs/StartupScripts/sample.ps1 +++ b/src/ResourceManager/NotificationHubs/Commands.NotificationHubs/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/StartupScripts/sample.ps1 b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/StartupScripts/sample.ps1 deleted file mode 100644 index 1dbc147be0de..000000000000 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/StartupScripts/sample.ps1 +++ /dev/null @@ -1 +0,0 @@ -#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/Commands.Management.PowerBIEmbedded.csproj b/src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/Commands.Management.PowerBIEmbedded.csproj index e9f2d30a35ea..c60786585b9f 100644 --- a/src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/Commands.Management.PowerBIEmbedded.csproj +++ b/src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/Commands.Management.PowerBIEmbedded.csproj @@ -124,7 +124,7 @@ - Always + diff --git a/src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/StartupScripts/sample.ps1 b/src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/StartupScripts/sample.ps1 +++ b/src/ResourceManager/PowerBIEmbedded/Commands.Management.PowerBIEmbedded/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Profile/Commands.Profile/StartupScripts/sample.ps1 b/src/ResourceManager/Profile/Commands.Profile/StartupScripts/sample.ps1 deleted file mode 100644 index 1dbc147be0de..000000000000 --- a/src/ResourceManager/Profile/Commands.Profile/StartupScripts/sample.ps1 +++ /dev/null @@ -1 +0,0 @@ -#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/Commands.RecoveryServices.Backup.Cmdlets.csproj b/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/Commands.RecoveryServices.Backup.Cmdlets.csproj index 6e1de4efe137..64aeefc196a1 100644 --- a/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/Commands.RecoveryServices.Backup.Cmdlets.csproj +++ b/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/Commands.RecoveryServices.Backup.Cmdlets.csproj @@ -125,7 +125,7 @@ - Always + diff --git a/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/StartupScripts/sample.ps1 b/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/StartupScripts/sample.ps1 +++ b/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/StartupScripts/sample.ps1 b/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/StartupScripts/sample.ps1 deleted file mode 100644 index 1dbc147be0de..000000000000 --- a/src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/StartupScripts/sample.ps1 +++ /dev/null @@ -1 +0,0 @@ -#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/StartupScripts/sample.ps1 b/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/StartupScripts/sample.ps1 deleted file mode 100644 index 1dbc147be0de..000000000000 --- a/src/ResourceManager/RecoveryServices/Commands.RecoveryServices/StartupScripts/sample.ps1 +++ /dev/null @@ -1 +0,0 @@ -#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj index 2c21cac3dcb4..5cf35e1c8a73 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj @@ -130,7 +130,7 @@ - Always + diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/StartupScripts/sample.ps1 b/src/ResourceManager/RedisCache/Commands.RedisCache/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/StartupScripts/sample.ps1 +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Relay/Commands.Relay/Commands.Relay.csproj b/src/ResourceManager/Relay/Commands.Relay/Commands.Relay.csproj index f4ab17a24078..476bc283ac80 100644 --- a/src/ResourceManager/Relay/Commands.Relay/Commands.Relay.csproj +++ b/src/ResourceManager/Relay/Commands.Relay/Commands.Relay.csproj @@ -114,7 +114,7 @@ - Always + diff --git a/src/ResourceManager/Relay/Commands.Relay/StartupScripts/sample.ps1 b/src/ResourceManager/Relay/Commands.Relay/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/Relay/Commands.Relay/StartupScripts/sample.ps1 +++ b/src/ResourceManager/Relay/Commands.Relay/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj index 023bbbec11d3..3acc98a4a725 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj +++ b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj @@ -177,7 +177,7 @@ - Always + diff --git a/src/ResourceManager/Resources/Commands.Resources/StartupScripts/sample.ps1 b/src/ResourceManager/Resources/Commands.Resources/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/Resources/Commands.Resources/StartupScripts/sample.ps1 +++ b/src/ResourceManager/Resources/Commands.Resources/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Scheduler/Commands.Scheduler/Commands.Scheduler.csproj b/src/ResourceManager/Scheduler/Commands.Scheduler/Commands.Scheduler.csproj index e355e705bf51..b9e066048cea 100644 --- a/src/ResourceManager/Scheduler/Commands.Scheduler/Commands.Scheduler.csproj +++ b/src/ResourceManager/Scheduler/Commands.Scheduler/Commands.Scheduler.csproj @@ -116,7 +116,7 @@ Designer - Always + diff --git a/src/ResourceManager/Scheduler/Commands.Scheduler/StartupScripts/sample.ps1 b/src/ResourceManager/Scheduler/Commands.Scheduler/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/Scheduler/Commands.Scheduler/StartupScripts/sample.ps1 +++ b/src/ResourceManager/Scheduler/Commands.Scheduler/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/ServerManagement/Commands.ServerManagement/Commands.ServerManagement.csproj b/src/ResourceManager/ServerManagement/Commands.ServerManagement/Commands.ServerManagement.csproj index 2503a3f91e07..24c362baab64 100644 --- a/src/ResourceManager/ServerManagement/Commands.ServerManagement/Commands.ServerManagement.csproj +++ b/src/ResourceManager/ServerManagement/Commands.ServerManagement/Commands.ServerManagement.csproj @@ -87,7 +87,7 @@ Designer - Always + diff --git a/src/ResourceManager/ServerManagement/Commands.ServerManagement/StartupScripts/sample.ps1 b/src/ResourceManager/ServerManagement/Commands.ServerManagement/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/ServerManagement/Commands.ServerManagement/StartupScripts/sample.ps1 +++ b/src/ResourceManager/ServerManagement/Commands.ServerManagement/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/ServiceBus/Commands.ServiceBus/Commands.ServiceBus.csproj b/src/ResourceManager/ServiceBus/Commands.ServiceBus/Commands.ServiceBus.csproj index 99aaf249395a..fad1e93cbb01 100644 --- a/src/ResourceManager/ServiceBus/Commands.ServiceBus/Commands.ServiceBus.csproj +++ b/src/ResourceManager/ServiceBus/Commands.ServiceBus/Commands.ServiceBus.csproj @@ -119,7 +119,7 @@ Designer - Always + diff --git a/src/ResourceManager/ServiceBus/Commands.ServiceBus/StartupScripts/sample.ps1 b/src/ResourceManager/ServiceBus/Commands.ServiceBus/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/ServiceBus/Commands.ServiceBus/StartupScripts/sample.ps1 +++ b/src/ResourceManager/ServiceBus/Commands.ServiceBus/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/ServiceFabric/Commands.ServiceFabric/Commands.ServiceFabric.csproj b/src/ResourceManager/ServiceFabric/Commands.ServiceFabric/Commands.ServiceFabric.csproj index 8a627b5ea638..4aec3b9ff933 100644 --- a/src/ResourceManager/ServiceFabric/Commands.ServiceFabric/Commands.ServiceFabric.csproj +++ b/src/ResourceManager/ServiceFabric/Commands.ServiceFabric/Commands.ServiceFabric.csproj @@ -80,7 +80,7 @@ Always - Always + diff --git a/src/ResourceManager/ServiceFabric/Commands.ServiceFabric/StartupScripts/sample.ps1 b/src/ResourceManager/ServiceFabric/Commands.ServiceFabric/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/ServiceFabric/Commands.ServiceFabric/StartupScripts/sample.ps1 +++ b/src/ResourceManager/ServiceFabric/Commands.ServiceFabric/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Commands.SiteRecovery.csproj b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Commands.SiteRecovery.csproj index 17307ddd85da..03bc75f60730 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Commands.SiteRecovery.csproj +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Commands.SiteRecovery.csproj @@ -157,7 +157,7 @@ - Always + diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/StartupScripts/sample.ps1 b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/StartupScripts/sample.ps1 +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql/StartupScripts/sample.ps1 b/src/ResourceManager/Sql/Commands.Sql/StartupScripts/sample.ps1 deleted file mode 100644 index 1dbc147be0de..000000000000 --- a/src/ResourceManager/Sql/Commands.Sql/StartupScripts/sample.ps1 +++ /dev/null @@ -1 +0,0 @@ -#placeholder for future scripts \ No newline at end of file diff --git a/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj b/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj index 731a6d0cf7ad..84ca2b5b7a52 100644 --- a/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj +++ b/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj @@ -130,7 +130,7 @@ Designer - Always + diff --git a/src/ResourceManager/Storage/Commands.Management.Storage/StartupScripts/sample.ps1 b/src/ResourceManager/Storage/Commands.Management.Storage/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/Storage/Commands.Management.Storage/StartupScripts/sample.ps1 +++ b/src/ResourceManager/Storage/Commands.Management.Storage/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Storage/Stack/Commands.Management.Storage/Commands.Management.Storage.csproj b/src/ResourceManager/Storage/Stack/Commands.Management.Storage/Commands.Management.Storage.csproj index 9d9c909dbbbc..07d1bfdbc17e 100644 --- a/src/ResourceManager/Storage/Stack/Commands.Management.Storage/Commands.Management.Storage.csproj +++ b/src/ResourceManager/Storage/Stack/Commands.Management.Storage/Commands.Management.Storage.csproj @@ -143,6 +143,9 @@ Designer + + + diff --git a/src/ResourceManager/Storage/Stack/Commands.Management.Storage/StartupScripts/sample.ps1 b/src/ResourceManager/Storage/Stack/Commands.Management.Storage/StartupScripts/sample.ps1 new file mode 100644 index 000000000000..1a3d1052f460 --- /dev/null +++ b/src/ResourceManager/Storage/Stack/Commands.Management.Storage/StartupScripts/sample.ps1 @@ -0,0 +1 @@ +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj index c3dc43511e0c..e6a025461061 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj @@ -154,7 +154,7 @@ Designer - Always + diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StartupScripts/sample.ps1 b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StartupScripts/sample.ps1 +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj b/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj index f8c420914d7d..07fa5bb5a899 100644 --- a/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj +++ b/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj @@ -62,7 +62,7 @@ - Always + diff --git a/src/ResourceManager/Tags/Commands.Tags/StartupScripts/sample.ps1 b/src/ResourceManager/Tags/Commands.Tags/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/Tags/Commands.Tags/StartupScripts/sample.ps1 +++ b/src/ResourceManager/Tags/Commands.Tags/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager.csproj b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager.csproj index 197daf6cf2e6..8e707a3f38af 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager.csproj +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager.csproj @@ -105,7 +105,7 @@ Designer - Always + diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/StartupScripts/sample.ps1 b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/StartupScripts/sample.ps1 +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Commands.UsageAggregates.csproj b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Commands.UsageAggregates.csproj index 3e542c160b67..b7306f37fbbc 100644 --- a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Commands.UsageAggregates.csproj +++ b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Commands.UsageAggregates.csproj @@ -61,7 +61,7 @@ - Always + diff --git a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/StartupScripts/sample.ps1 b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/StartupScripts/sample.ps1 index 1dbc147be0de..1a3d1052f460 100644 --- a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/StartupScripts/sample.ps1 +++ b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/StartupScripts/sample.ps1 @@ -1 +1 @@ -#placeholder for future scripts \ No newline at end of file +#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ResourceManager/Websites/Commands.Websites/StartupScripts/sample.ps1 b/src/ResourceManager/Websites/Commands.Websites/StartupScripts/sample.ps1 deleted file mode 100644 index 1dbc147be0de..000000000000 --- a/src/ResourceManager/Websites/Commands.Websites/StartupScripts/sample.ps1 +++ /dev/null @@ -1 +0,0 @@ -#placeholder for future scripts \ No newline at end of file From 75ff63d42b9bf9061ecba6b3d771735d3b4c6007 Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Fri, 1 Dec 2017 17:42:06 -0800 Subject: [PATCH 08/11] update wxi file --- setup/azurecmdfiles.wxi | 148 ++++++++++++++++++++++++---------------- 1 file changed, 88 insertions(+), 60 deletions(-) diff --git a/setup/azurecmdfiles.wxi b/setup/azurecmdfiles.wxi index a8f65088e2d8..2933c8f0cdfc 100644 --- a/setup/azurecmdfiles.wxi +++ b/setup/azurecmdfiles.wxi @@ -14,9 +14,6 @@ - - - @@ -29,6 +26,11 @@ + + + + + @@ -202,9 +204,6 @@ - - - @@ -223,6 +222,11 @@ + + + + + @@ -231,9 +235,6 @@ - - - @@ -243,6 +244,11 @@ + + + + + @@ -574,9 +580,6 @@ - - - @@ -595,6 +598,11 @@ + + + + + @@ -603,9 +611,6 @@ - - - @@ -633,6 +638,11 @@ + + + + + @@ -816,9 +826,6 @@ - - - @@ -831,6 +838,11 @@ + + + + + @@ -868,9 +880,11 @@ - - - + + + + + @@ -896,9 +910,6 @@ - - - @@ -989,6 +1000,11 @@ + + + + + @@ -997,9 +1013,6 @@ - - - @@ -1012,6 +1025,11 @@ + + + + + @@ -1020,9 +1038,6 @@ - - - @@ -1059,6 +1074,11 @@ + + + + + @@ -1073,9 +1093,6 @@ - - - @@ -1091,12 +1108,17 @@ - - - + + + + + + + + @@ -1320,9 +1342,6 @@ - - - @@ -1341,6 +1360,11 @@ + + + + + @@ -1382,12 +1406,14 @@ - - - + + + + + @@ -1529,9 +1555,11 @@ - - - + + + + + @@ -3167,11 +3195,11 @@ - + @@ -3225,19 +3253,19 @@ - + - + @@ -3339,16 +3367,15 @@ - + - @@ -3358,6 +3385,7 @@ + @@ -3413,11 +3441,11 @@ - + @@ -3429,7 +3457,7 @@ - + @@ -3437,7 +3465,6 @@ - @@ -3468,16 +3495,16 @@ + - + - @@ -3490,18 +3517,19 @@ + - - + + @@ -3569,13 +3597,13 @@ - + @@ -3589,8 +3617,8 @@ - + @@ -3634,7 +3662,7 @@ - + From 0737962ca04db7ef3a26cbe88ac16bad1292d28d Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Wed, 6 Dec 2017 14:40:29 -0800 Subject: [PATCH 09/11] Fix issue --- tools/AzureRM.Example.psm1 | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/AzureRM.Example.psm1 b/tools/AzureRM.Example.psm1 index bef70bfafb35..82a348d95c82 100644 --- a/tools/AzureRM.Example.psm1 +++ b/tools/AzureRM.Example.psm1 @@ -45,5 +45,3 @@ $FilteredCommands | ForEach-Object { } }) } - -Export-ModuleMember -Alias * From a40e628b3bd79769664a39d3c11b2b5bea72e18d Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Wed, 6 Dec 2017 15:57:56 -0800 Subject: [PATCH 10/11] test path --- tools/AzureRM.Example.psm1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/AzureRM.Example.psm1 b/tools/AzureRM.Example.psm1 index 82a348d95c82..7635b2399118 100644 --- a/tools/AzureRM.Example.psm1 +++ b/tools/AzureRM.Example.psm1 @@ -11,8 +11,11 @@ Set-StrictMode -Version Latest %IMPORTED-DEPENDENCIES% -Get-ChildItem "$PSScriptRoot\StartupScripts" | ForEach-Object { - . $_.FullName +if (Test-Path -Path "$PSScriptRoot\StartupScripts") +{ + Get-ChildItem "$PSScriptRoot\StartupScripts" | ForEach-Object { + . $_.FullName + } } if ($PSVersionTable.PSVersion.Major -ge 5) From 0ade659e00c73cb3dd21f071505e584254af74a1 Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Wed, 6 Dec 2017 16:00:00 -0800 Subject: [PATCH 11/11] remove test text --- tools/UpdateModules.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/UpdateModules.ps1 b/tools/UpdateModules.ps1 index eea8af17bd3b..a8a5f8de39ae 100644 --- a/tools/UpdateModules.ps1 +++ b/tools/UpdateModules.ps1 @@ -92,7 +92,6 @@ function Add-PSM1Dependency $file = Get-Item -Path $Path $manifestFile = $file.Name $psm1file = $manifestFile -replace ".psd1", ".psm1" - Write-Host "here" + $Path Update-ModuleManifest -Path $Path -RootModule $psm1file } }