Skip to content

Commit 37f6422

Browse files
author
Maddie Clayton
authored
Merge branch 'preview' into force
2 parents 66a378c + 958eb29 commit 37f6422

File tree

468 files changed

+12821
-14536
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

468 files changed

+12821
-14536
lines changed

Azure.PowerShell.Netcore.sln

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Reservations.Netco
111111
EndProject
112112
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Scheduler.Netcore", "src\ResourceManager\Scheduler\Commands.Scheduler\Commands.Scheduler.Netcore.csproj", "{A65322AC-2B28-482C-84A5-59D8BAF2F46D}"
113113
EndProject
114-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.ServerManagement.Netcore", "src\ResourceManager\ServerManagement\Commands.ServerManagement\Commands.ServerManagement.Netcore.csproj", "{A6D19586-2219-440C-A7C9-EA729DB76294}"
115-
EndProject
116114
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.ServiceBus.Netcore", "src\ResourceManager\ServiceBus\Commands.ServiceBus\Commands.ServiceBus.Netcore.csproj", "{3BA76D29-C71E-42FC-B6E8-C9D06668D07C}"
117115
EndProject
118116
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.ServiceFabric.Netcore", "src\ResourceManager\ServiceFabric\Commands.ServiceFabric\Commands.ServiceFabric.Netcore.csproj", "{6F245A28-8648-4A71-9DBA-ABC381CA9B7D}"
@@ -823,18 +821,6 @@ Global
823821
{A65322AC-2B28-482C-84A5-59D8BAF2F46D}.Release|x64.Build.0 = Release|Any CPU
824822
{A65322AC-2B28-482C-84A5-59D8BAF2F46D}.Release|x86.ActiveCfg = Release|Any CPU
825823
{A65322AC-2B28-482C-84A5-59D8BAF2F46D}.Release|x86.Build.0 = Release|Any CPU
826-
{A6D19586-2219-440C-A7C9-EA729DB76294}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
827-
{A6D19586-2219-440C-A7C9-EA729DB76294}.Debug|Any CPU.Build.0 = Debug|Any CPU
828-
{A6D19586-2219-440C-A7C9-EA729DB76294}.Debug|x64.ActiveCfg = Debug|Any CPU
829-
{A6D19586-2219-440C-A7C9-EA729DB76294}.Debug|x64.Build.0 = Debug|Any CPU
830-
{A6D19586-2219-440C-A7C9-EA729DB76294}.Debug|x86.ActiveCfg = Debug|Any CPU
831-
{A6D19586-2219-440C-A7C9-EA729DB76294}.Debug|x86.Build.0 = Debug|Any CPU
832-
{A6D19586-2219-440C-A7C9-EA729DB76294}.Release|Any CPU.ActiveCfg = Release|Any CPU
833-
{A6D19586-2219-440C-A7C9-EA729DB76294}.Release|Any CPU.Build.0 = Release|Any CPU
834-
{A6D19586-2219-440C-A7C9-EA729DB76294}.Release|x64.ActiveCfg = Release|Any CPU
835-
{A6D19586-2219-440C-A7C9-EA729DB76294}.Release|x64.Build.0 = Release|Any CPU
836-
{A6D19586-2219-440C-A7C9-EA729DB76294}.Release|x86.ActiveCfg = Release|Any CPU
837-
{A6D19586-2219-440C-A7C9-EA729DB76294}.Release|x86.Build.0 = Release|Any CPU
838824
{3BA76D29-C71E-42FC-B6E8-C9D06668D07C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
839825
{3BA76D29-C71E-42FC-B6E8-C9D06668D07C}.Debug|Any CPU.Build.0 = Debug|Any CPU
840826
{3BA76D29-C71E-42FC-B6E8-C9D06668D07C}.Debug|x64.ActiveCfg = Debug|Any CPU

TestMappings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@
127127
"src/ResourceManager/OperationalInsights/": [
128128
".\\src\\ResourceManager\\OperationalInsights\\Commands.OperationalInsights.Test\\bin\\Debug\\Microsoft.Azure.Commands.OperationalInsights.Test.dll"
129129
],
130+
"src/ResourceManager/PolicyInsights/": [
131+
".\\src\\ResourceManager\\PolicyInsights\\Commands.PolicyInsights.Test\\bin\\Debug\\Microsoft.Azure.Commands.PolicyInsights.Test.dll"
132+
],
130133
"src/ResourceManager/PowerBIEmbedded/": [
131134
".\\src\\ResourceManager\\PowerBIEmbedded\\Commands.PowerBIEmbedded.Test\\bin\\Debug\\Microsoft.Azure.Commands.PowerBIEmbedded.Test.dll"
132135
],

documentation/azure-powershell-modules.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Below is a table of modules containing ARM cmdlets found in the [`AzureRM`](http
4949
| Network | `AzureRM.Network` | [![Network](https://img.shields.io/powershellgallery/v/AzureRM.Network.svg?style=flat-square&label=AzureRM.Network)](https://www.powershellgallery.com/packages/AzureRM.Network/) |
5050
| Notification Hubs | `AzureRM.NotificationHubs` | [![Notification Hubs](https://img.shields.io/powershellgallery/v/AzureRM.NotificationHubs.svg?style=flat-square&label=AzureRM.NotificationHubs)](https://www.powershellgallery.com/packages/AzureRM.NotificationHubs/) |
5151
| Operational Insights | `AzureRM.OperationalInsights` | [![Operational Insights](https://img.shields.io/powershellgallery/v/AzureRM.OperationalInsights.svg?style=flat-square&label=AzureRM.OperationalInsights)](https://www.powershellgallery.com/packages/AzureRM.OperationalInsights/) |
52+
| Policy Insights | `AzureRM.PolicyInsights` | [![Policy Insights](https://img.shields.io/powershellgallery/v/AzureRM.PolicyInsights.svg?style=flat-square&label=AzureRM.PolicyInsights)](https://www.powershellgallery.com/packages/AzureRM.PolicyInsights/) |
5253
| Power BI Embedded | `AzureRM.PowerBIEmbedded` | [![Power BI Embedded](https://img.shields.io/powershellgallery/v/AzureRM.PowerBIEmbedded.svg?style=flat-square&label=AzureRM.PowerBIEmbedded)](https://www.powershellgallery.com/packages/AzureRM.PowerBIEmbedded/) |
5354
| Profile | `AzureRM.Profile` | [![Profile](https://img.shields.io/powershellgallery/v/AzureRM.Profile.svg?style=flat-square&label=AzureRM.Profile)](https://www.powershellgallery.com/packages/AzureRM.Profile/) |
5455
| Recovery Services | `AzureRM.RecoveryServices` | [![Recovery Services](https://img.shields.io/powershellgallery/v/AzureRM.RecoveryServices.svg?style=flat-square&label=AzureRM.RecoveryServices)](https://www.powershellgallery.com/packages/AzureRM.RecoveryServices/) |

src/Common/Commands.Common.Graph.RBAC/ActiveDirectory/ActiveDirectoryClient.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,18 @@ public void RemoveAllSpCredentials(string spObjectId)
689689
PatchSpPasswordCredentials(spObjectId, passwordCredentials: null);
690690
}
691691

692+
public string GetObjectIdFromUPN(string upn)
693+
{
694+
var odataQueryFilter = new Rest.Azure.OData.ODataQuery<User>(s => s.UserPrincipalName == upn);
695+
var user = GraphClient.Users.List(odataQueryFilter.ToString()).SingleOrDefault();
696+
if (user == null)
697+
{
698+
throw new InvalidOperationException(String.Format(ProjectResources.UserWithUPNDoesntExist, upn));
699+
}
700+
701+
return user.ObjectId;
702+
}
703+
692704
public string GetObjectIdFromSPN(string spn)
693705
{
694706
var odataQueryFilter = new Rest.Azure.OData.ODataQuery<ServicePrincipal>(s => s.ServicePrincipalNames.Contains(spn));

src/Common/Commands.Common.Graph.RBAC/Properties/Resources.Designer.cs

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Common/Commands.Common.Graph.RBAC/Properties/Resources.resx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,7 @@
144144
<data name="ServicePrincipalWithSPNDoesntExist" xml:space="preserve">
145145
<value>Service principal with SPN '{0}' does not exist.</value>
146146
</data>
147+
<data name="UserWithUPNDoesntExist" xml:space="preserve">
148+
<value>User with UPN '{0}' does not exist.</value>
149+
</data>
147150
</root>

src/ResourceManager.ForRefactoringOnly.sln

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RecoveryServices.B
179179
EndProject
180180
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Scheduler", "ResourceManager\Scheduler\Commands.Scheduler\Commands.Scheduler.csproj", "{84FABEE4-86CD-43B5-A131-9FDAE3A58F0B}"
181181
EndProject
182-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ServerManagement", "ResourceManager\ServerManagement\Commands.ServerManagement\Commands.ServerManagement.csproj", "{3CAE1B57-8192-4945-A6C5-6E5E8DEA4BA9}"
183-
EndProject
184182
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ServiceBus", "ResourceManager\ServiceBus\Commands.ServiceBus\Commands.ServiceBus.csproj", "{C26229EF-8700-4A4B-99DD-DCA77E0B96DC}"
185183
EndProject
186184
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Billing.Test", "ResourceManager\Billing\Commands.Billing.Test\Commands.Billing.Test.csproj", "{9A685061-0EF3-4963-AC60-88610F6D309E}"
@@ -201,8 +199,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RecoveryServices.B
201199
EndProject
202200
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Scheduler.Test", "ResourceManager\Scheduler\Commands.Scheduler.Test\Commands.Scheduler.Test.csproj", "{7181C815-A8C5-4BEC-988F-BD1F64D0BDC9}"
203201
EndProject
204-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ServerManagement.Test", "ResourceManager\ServerManagement\Commands.ServerManagement.Test\Commands.ServerManagement.Test.csproj", "{133561EC-8192-4ADC-AF41-39C4D3AD323B}"
205-
EndProject
206202
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ServiceBus.Test", "ResourceManager\ServiceBus\Commands.ServiceBus.Test\Commands.ServiceBus.Test.csproj", "{B36F96EC-A9C1-4C86-B406-472FF4458C9E}"
207203
EndProject
208204
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.AnalysisServices.Dataplane", "ResourceManager\AnalysisServices\Commands.AnalysisServices.Dataplane\Commands.AnalysisServices.Dataplane.csproj", "{4944B213-4F12-4815-B416-3FF1853ADCC1}"
@@ -1267,18 +1263,6 @@ Global
12671263
{84FABEE4-86CD-43B5-A131-9FDAE3A58F0B}.Release|x64.Build.0 = Release|Any CPU
12681264
{84FABEE4-86CD-43B5-A131-9FDAE3A58F0B}.Release|x86.ActiveCfg = Release|Any CPU
12691265
{84FABEE4-86CD-43B5-A131-9FDAE3A58F0B}.Release|x86.Build.0 = Release|Any CPU
1270-
{3CAE1B57-8192-4945-A6C5-6E5E8DEA4BA9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1271-
{3CAE1B57-8192-4945-A6C5-6E5E8DEA4BA9}.Debug|Any CPU.Build.0 = Debug|Any CPU
1272-
{3CAE1B57-8192-4945-A6C5-6E5E8DEA4BA9}.Debug|x64.ActiveCfg = Debug|Any CPU
1273-
{3CAE1B57-8192-4945-A6C5-6E5E8DEA4BA9}.Debug|x64.Build.0 = Debug|Any CPU
1274-
{3CAE1B57-8192-4945-A6C5-6E5E8DEA4BA9}.Debug|x86.ActiveCfg = Debug|Any CPU
1275-
{3CAE1B57-8192-4945-A6C5-6E5E8DEA4BA9}.Debug|x86.Build.0 = Debug|Any CPU
1276-
{3CAE1B57-8192-4945-A6C5-6E5E8DEA4BA9}.Release|Any CPU.ActiveCfg = Release|Any CPU
1277-
{3CAE1B57-8192-4945-A6C5-6E5E8DEA4BA9}.Release|Any CPU.Build.0 = Release|Any CPU
1278-
{3CAE1B57-8192-4945-A6C5-6E5E8DEA4BA9}.Release|x64.ActiveCfg = Release|Any CPU
1279-
{3CAE1B57-8192-4945-A6C5-6E5E8DEA4BA9}.Release|x64.Build.0 = Release|Any CPU
1280-
{3CAE1B57-8192-4945-A6C5-6E5E8DEA4BA9}.Release|x86.ActiveCfg = Release|Any CPU
1281-
{3CAE1B57-8192-4945-A6C5-6E5E8DEA4BA9}.Release|x86.Build.0 = Release|Any CPU
12821266
{C26229EF-8700-4A4B-99DD-DCA77E0B96DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
12831267
{C26229EF-8700-4A4B-99DD-DCA77E0B96DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
12841268
{C26229EF-8700-4A4B-99DD-DCA77E0B96DC}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -1399,18 +1383,6 @@ Global
13991383
{7181C815-A8C5-4BEC-988F-BD1F64D0BDC9}.Release|x64.Build.0 = Release|Any CPU
14001384
{7181C815-A8C5-4BEC-988F-BD1F64D0BDC9}.Release|x86.ActiveCfg = Release|Any CPU
14011385
{7181C815-A8C5-4BEC-988F-BD1F64D0BDC9}.Release|x86.Build.0 = Release|Any CPU
1402-
{133561EC-8192-4ADC-AF41-39C4D3AD323B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1403-
{133561EC-8192-4ADC-AF41-39C4D3AD323B}.Debug|Any CPU.Build.0 = Debug|Any CPU
1404-
{133561EC-8192-4ADC-AF41-39C4D3AD323B}.Debug|x64.ActiveCfg = Debug|Any CPU
1405-
{133561EC-8192-4ADC-AF41-39C4D3AD323B}.Debug|x64.Build.0 = Debug|Any CPU
1406-
{133561EC-8192-4ADC-AF41-39C4D3AD323B}.Debug|x86.ActiveCfg = Debug|Any CPU
1407-
{133561EC-8192-4ADC-AF41-39C4D3AD323B}.Debug|x86.Build.0 = Debug|Any CPU
1408-
{133561EC-8192-4ADC-AF41-39C4D3AD323B}.Release|Any CPU.ActiveCfg = Release|Any CPU
1409-
{133561EC-8192-4ADC-AF41-39C4D3AD323B}.Release|Any CPU.Build.0 = Release|Any CPU
1410-
{133561EC-8192-4ADC-AF41-39C4D3AD323B}.Release|x64.ActiveCfg = Release|Any CPU
1411-
{133561EC-8192-4ADC-AF41-39C4D3AD323B}.Release|x64.Build.0 = Release|Any CPU
1412-
{133561EC-8192-4ADC-AF41-39C4D3AD323B}.Release|x86.ActiveCfg = Release|Any CPU
1413-
{133561EC-8192-4ADC-AF41-39C4D3AD323B}.Release|x86.Build.0 = Release|Any CPU
14141386
{B36F96EC-A9C1-4C86-B406-472FF4458C9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14151387
{B36F96EC-A9C1-4C86-B406-472FF4458C9E}.Debug|Any CPU.Build.0 = Debug|Any CPU
14161388
{B36F96EC-A9C1-4C86-B406-472FF4458C9E}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -1753,7 +1725,6 @@ Global
17531725
{3EA1FA5A-32EE-4D5A-AB2C-8AD523078A56} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
17541726
{65E15D74-1E24-4600-8671-D0B420524B17} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
17551727
{7181C815-A8C5-4BEC-988F-BD1F64D0BDC9} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
1756-
{133561EC-8192-4ADC-AF41-39C4D3AD323B} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
17571728
{B36F96EC-A9C1-4C86-B406-472FF4458C9E} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
17581729
{C1BDA476-A5CC-4394-914D-48B0EC31A710} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
17591730
{03632E67-424C-4EE5-969A-CF9E4E3DE423} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}

src/ResourceManager/Aks/AzureRM.Aks.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Copyright = 'Microsoft Corporation. All rights reserved.'
3333
Description = 'Microsoft Azure PowerShell - - Azure managed Kubernetes commands'
3434

3535
# Minimum version of the Windows PowerShell engine required by this module
36-
PowerShellVersion = '3.0'
36+
PowerShellVersion = '5.0'
3737

3838
# Name of the Windows PowerShell host required by this module
3939
# PowerShellHostName = ''

src/ResourceManager/Aks/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020
## Current Release
2121
* Updated to the latest version of the Azure ClientRuntime
22+
* Set minimum dependency of module to PowerShell 5.0
2223

2324
## Version 0.0.1
2425
* Initial command set for AKS

src/ResourceManager/Aks/Commands.Aks.Test/Commands.Aks.Test.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@
6767
</Reference>
6868
<Reference Include="System" />
6969
<Reference Include="System.Core" />
70-
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
71-
<Private>False</Private>
72-
</Reference>
7370
<Reference Include="Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.28.3.860, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7471
<SpecificVersion>False</SpecificVersion>
7572
<HintPath>..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.28.3\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll</HintPath>

src/ResourceManager/Aks/Commands.Aks/Commands.Aks.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,6 @@
124124
<HintPath>..\..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
125125
<Private>True</Private>
126126
</Reference>
127-
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
128-
<HintPath>..\..\..\packages\System.Management.Automation_PowerShell_3.0.6.3.9600.17400\lib\net40\System.Management.Automation.dll</HintPath>
129-
<Private>True</Private>
130-
</Reference>
131127
<Reference Include="YamlDotNet, Version=4.2.4.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e, processorArchitecture=MSIL">
132128
<HintPath>..\..\..\packages\YamlDotNet.Signed.4.2.4\lib\net45\YamlDotNet.dll</HintPath>
133129
<Private>True</Private>

src/ResourceManager/AnalysisServices/AzureRM.AnalysisServices.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Copyright = 'Microsoft Corporation. All rights reserved.'
3333
Description = 'Microsoft Azure PowerShell - Analysis Services'
3434

3535
# Minimum version of the Windows PowerShell engine required by this module
36-
PowerShellVersion = '3.0'
36+
PowerShellVersion = '5.0'
3737

3838
# Name of the Windows PowerShell host required by this module
3939
# PowerShellHostName = ''

src/ResourceManager/AnalysisServices/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Current Release
21+
* Set minimum dependency of module to PowerShell 5.0
2122

2223
## Version 0.6.6
2324
* Updated to the latest version of the Azure ClientRuntime

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Azure.AnalysisServices.psd1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
# Generated on: 12/02/2016
77
#
88

9-
@{
9+
@{
10+
11+
# Script module or binary module file associated with this manifest.
12+
# RootModule = ''
1013

1114
# Version number of this module.
1215
ModuleVersion = '0.5.0'
@@ -27,7 +30,7 @@ Copyright = 'Microsoft Corporation. All rights reserved.'
2730
Description = 'Microsoft Azure PowerShell - Analysis Services server management'
2831

2932
# Minimum version of the Windows PowerShell engine required by this module
30-
PowerShellVersion = '3.0'
33+
PowerShellVersion = '5.0'
3134

3235
# Name of the Windows PowerShell host required by this module
3336
PowerShellHostName = ''

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands.AnalysisServices.Dataplane.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<Reference Include="System.Xml.Linq" />
8585
<Reference Include="System.Data" />
8686
<Reference Include="System.Xml" />
87-
<Reference Include="System.Management.Automation" />
87+
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
8888
</ItemGroup>
8989
<ItemGroup>
9090
<Compile Include="Commands\AddAzureASAccount.cs" />
@@ -120,7 +120,7 @@
120120
<SubType>Designer</SubType>
121121
</None>
122122
<None Include="StartupScripts\*.ps1">
123-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
123+
<!-- <CopyToOutputDirectory>Always</CopyToOutputDirectory> -->
124124
</None>
125125
</ItemGroup>
126126
<ItemGroup>

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/StartupScripts/AzureAnalysisServicesStartup.ps1

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Test/Commands.AnalysisServices.Test.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,6 @@
123123
</Reference>
124124
<Reference Include="System" />
125125
<Reference Include="System.Core" />
126-
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
127-
<SpecificVersion>False</SpecificVersion>
128-
<HintPath>C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll</HintPath>
129-
</Reference>
130126
<Reference Include="System.Net" />
131127
<Reference Include="System.Net.Http" />
132128
<Reference Include="System.Net.Http.Extensions, Version=2.2.28.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
<Reference Include="Microsoft.Azure.Management.Analysis, Version=2.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
3939
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Analysis.2.0.3\lib\net452\Microsoft.Azure.Management.Analysis.dll</HintPath>
4040
</Reference>
41-
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
4241
</ItemGroup>
4342
<ItemGroup>
4443
<Compile Include="Commands\NewAzureRmAnalysisServicesFirewallRule.cs" />

src/ResourceManager/ApiManagement/AzureRM.ApiManagement.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Copyright = 'Microsoft Corporation. All rights reserved.'
3333
Description = 'Microsoft Azure PowerShell - Api Management service cmdlets for Azure Resource Manager'
3434

3535
# Minimum version of the Windows PowerShell engine required by this module
36-
PowerShellVersion = '3.0'
36+
PowerShellVersion = '5.0'
3737

3838
# Name of the Windows PowerShell host required by this module
3939
# PowerShellHostName = ''

src/ResourceManager/ApiManagement/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Current Release
21+
* Set minimum dependency of module to PowerShell 5.0
2122

2223
## Version 5.1.2
2324
* Updated to the latest version of the Azure ClientRuntime

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
<HintPath>..\..\..\packages\Microsoft.Azure.Management.ApiManagement.3.4.0-preview\lib\net45\Microsoft.Azure.Management.ApiManagement.dll</HintPath>
5757
<Private>True</Private>
5858
</Reference>
59-
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
6059
</ItemGroup>
6160
<ItemGroup>
6261
<Compile Include="ApiManagementClient.cs" />

0 commit comments

Comments
 (0)