Skip to content

Merge the commit from preview branch to Storage OAuth branch #5988

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 207 commits into from
Apr 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
d7a0cb5
Add DPS cmdlet and test
anusapan Mar 14, 2018
03b4d6b
Updated the Installer
anusapan Mar 14, 2018
fdff715
Update help cmdlet
anusapan Mar 14, 2018
d24ed90
cmdlet review feedback
anusapan Mar 15, 2018
c0f018c
Add Updated cmdlet help documents
anusapan Mar 15, 2018
9d8680a
Merge pull request #4 from anusapan/DPS
anusapan Mar 16, 2018
7fc2163
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
anusapan Mar 16, 2018
794deed
Fix build issues and update csproj
anusapan Mar 20, 2018
7c64382
merged upstream preview
anusapan Mar 20, 2018
267556a
updated helpissue exception
anusapan Mar 21, 2018
b66bbd4
encode psd1 to utf-8
anusapan Mar 21, 2018
a190290
update the helpissues.csv content
anusapan Mar 21, 2018
d8fc494
update csproj
anusapan Mar 21, 2018
8389c1b
resolved cmdlet review design comments
anusapan Mar 23, 2018
a5f95f4
Added Guid input check
Mar 23, 2018
f1f0ac6
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
anusapan Mar 27, 2018
bfebe79
Adding unit tests for GUID check
Mar 27, 2018
4ddeaa2
Updating change log
Mar 27, 2018
44164ec
resolved cmdlet review design level-2
anusapan Mar 27, 2018
8d7e35b
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
anusapan Mar 28, 2018
8f21933
update the test ps script
anusapan Mar 29, 2018
ab2b1b4
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
anusapan Mar 29, 2018
efd64e8
Update netcore versions
markcowl Mar 30, 2018
1f8ed36
Fix issue with RepoTasks in NetCore build
markcowl Mar 31, 2018
a8e191a
Fix release notes issue and publish modules issue
markcowl Mar 31, 2018
d116a54
fix build location for storage module
markcowl Apr 1, 2018
8b4bfaf
Fix netcore signing for storage module
markcowl Apr 1, 2018
84e038e
Update storage module output directory
markcowl Apr 1, 2018
46d5907
Remove preview module from AzureRm.Netcore
markcowl Apr 1, 2018
cd5c1e8
Update NetCore version
markcowl Apr 2, 2018
de3003e
Fix issues with RepoTasks project
markcowl Apr 2, 2018
7bff8d0
Update repotasks tests to avoid nuget issues
markcowl Apr 2, 2018
36626bf
Prepended a space before -and
MiYanni Apr 2, 2018
54a020f
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
anusapan Apr 2, 2018
193a626
Merge pull request #5847 from markcowl/netcore-011
MiYanni Apr 2, 2018
3ce48e7
Corrected types filename casing to not cause loading issues on Linux
MiYanni Apr 2, 2018
4d3f47b
Added script to build Storage psm1
MiYanni Apr 2, 2018
ad7ecc6
Merge branch 'AzureRM.NetCore.0.11.0' of https://github.com/Azure/azu…
MiYanni Apr 2, 2018
cb7627a
Merge branch 'preview' of github.com:/azure/azure-powershell into net…
markcowl Apr 3, 2018
7f67271
Merge branch 'azurerm-psm1-fix' of github.com:cormacpayne/azure-power…
markcowl Apr 3, 2018
b7d3718
Update tools to include storage module build
markcowl Apr 3, 2018
20b73c9
Merge branch 'netcore-011' of github.com:markcowl/azure-powershell in…
markcowl Apr 3, 2018
bd1c6a1
updating module script to build storage
markcowl Apr 3, 2018
384657d
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
anusapan Apr 3, 2018
3bc7500
VM, VMSS: Win10 image
sergey-shandar Apr 3, 2018
c0be84d
changelog.
sergey-shandar Apr 3, 2018
060e211
resolved PR comments
anusapan Apr 4, 2018
73b603a
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
anusapan Apr 4, 2018
6e761f2
Merge branch 'release-2018-04-06' of github.com:/azure/azure-powershe…
markcowl Apr 5, 2018
2ce410e
Revert "Added Guid input check"
Apr 5, 2018
0a9f605
Using Guid type for Guid inputs
Apr 5, 2018
63b318e
SQL sync of missing cmdlets
MiYanni Apr 6, 2018
795e1f8
Merge pull request #34 from MiYanni/netcore-011a
markcowl Apr 6, 2018
ae0ef2e
Remove rootmodule
markcowl Apr 6, 2018
d995899
Remove preview from Aks
markcowl Apr 6, 2018
bc3f256
Update build and psd1 files for module load issues
markcowl Apr 6, 2018
5eeab93
Merge branch 'netcore-011a' of github.com:markcowl/azure-powershell i…
markcowl Apr 6, 2018
6e2269e
Update references
markcowl Apr 6, 2018
d8d3f35
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
anusapan Apr 6, 2018
092b15e
Consolidate dependency versions to fix module loading issues
markcowl Apr 6, 2018
891242f
Remove recoveryservices cmdlets and adapt to netstandard and desktop …
markcowl Apr 6, 2018
08ccb17
Updated the TestMappings.json
anusapan Apr 6, 2018
445ed59
remove preview modules
markcowl Apr 6, 2018
0cfd4f1
Fix storage uploading issues
markcowl Apr 7, 2018
c357fd0
fixing psd1 formatting issue with profile module
markcowl Apr 7, 2018
abfaaf3
Fixing storage management dependency for compute
markcowl Apr 7, 2018
3fe9ec2
Merge pull request #5880 from markcowl/netcore-011a
markcowl Apr 8, 2018
e01203d
Update NewAzureRmServiceFabricCluster.cs
aljo-microsoft Apr 9, 2018
e867b1d
Merge branch 'preview' into sergey-win10
cormacpayne Apr 10, 2018
97033ac
Update ChangeLog.md
aljo-microsoft Apr 10, 2018
d97a5d8
Update ChangeLog.md
aljo-microsoft Apr 10, 2018
f0ee097
Update ChangeLog.md
aljo-microsoft Apr 10, 2018
4079963
Update ChangeLog.md
aljo-microsoft Apr 10, 2018
a6e9ae3
Update ChangeLog.md
aljo-microsoft Apr 10, 2018
3033fa7
Revert change that ignored the StoredCertificateSettings property
cormacpayne Apr 10, 2018
0923ca0
Enable soft delete and resource locks on keyvault
Apr 10, 2018
688bcae
Win10 image test.
sergey-shandar Apr 11, 2018
4ae42cf
[doc] Create VM Image for partners #5498
vladimir-shcherbakov Apr 11, 2018
13f9b46
better password
sergey-shandar Apr 11, 2018
c873d7c
Update README.md
craiglandis Apr 11, 2018
45480aa
Update vm-for-partners.md
vladimir-shcherbakov Apr 11, 2018
9ae0095
Update the example to use an image that exists
sam-cogan Apr 11, 2018
7a1112e
update module name and version
Apr 11, 2018
e8c6d5e
fix csproj
Apr 11, 2018
a524a32
merge changes
Apr 11, 2018
fb152ac
Merge branch 'master' into AzureRM.NetCore.0.11.0
markcowl Apr 11, 2018
b8b6872
Merge branch 'preview' into sergey-win10
sergey-shandar Apr 11, 2018
9e0003c
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
anusapan Apr 11, 2018
1080859
remove preview tag for managmentpartner
jeffrey-ace Apr 11, 2018
f7a97f4
fix help files
Apr 11, 2018
4cc06e8
fix names
Apr 11, 2018
2563c57
Updated examples to include up to date references to virtualmachineco…
bgklein Apr 11, 2018
54273bd
Merge branch 'preview' into sergey-win10
sergey-shandar Apr 11, 2018
ecdcb83
Resolved PR comments
anusapan Apr 12, 2018
c34aa6c
Add DisableVMAgent parameter to Set-AzureRmVMOperatingSystem cmdlet
hyonholee Apr 12, 2018
a251351
Merge https://github.com/Azure/azure-powershell into preview
bgklein Apr 12, 2018
e6da2ef
updated changelog to reflect documentation change
bgklein Apr 12, 2018
433920e
Updated examples to use WindowsServer
bgklein Apr 12, 2018
e4f5db8
fix docker login change for branch push job
markcowl Apr 12, 2018
3804944
Replace System.IO to AzureSession.Instance.DataStore
anusapan Apr 12, 2018
3de7396
Merge pull request #5936 from bgklein/preview
cormacpayne Apr 12, 2018
fa4ae1c
Merge pull request #5930 from Azure/AzureRM.NetCore.0.11.0
cormacpayne Apr 12, 2018
813d2c8
Update Get-AzureRmVMImage.md
cormacpayne Apr 12, 2018
8cb3f69
Temporary ActiveDirectoryClient missing method workaround.
wilcobmsft Apr 12, 2018
6532778
fix completers
Apr 12, 2018
6209378
Merge branch 'preview' into preview
markcowl Apr 12, 2018
4a05aa1
Merge pull request #5923 from Azure/craiglandis-patch-1
markcowl Apr 12, 2018
575428f
Merge pull request #5926 from sam-cogan/patch-3
markcowl Apr 12, 2018
92f2228
Merge master to preview for NetCore 0.11.0
markcowl Apr 13, 2018
140c285
Merge pull request #5942 from wilcobmsft/wilcob/aadworkaround
Apr 13, 2018
bf2d8b5
Merge branch 'preview' into releaseSub
Apr 13, 2018
2e67e02
Merge branch 'preview' into netcore11-merge
markcowl Apr 13, 2018
289c3e4
Merge pull request #5867 from sergey-shandar/sergey-win10
Apr 13, 2018
af9c1bf
Merge pull request #5919 from Azure/rdfe-change
Apr 13, 2018
1b62d96
Merge pull request #5946 from markcowl/netcore11-merge
cormacpayne Apr 13, 2018
e88acb4
Merge branch 'preview' into disable
hyonholee Apr 13, 2018
1468d0a
[ForumsTeam] Updated broken link of Set-AzureKeyVaultSecrect cmdlet =…
CHEEKATLAPRADEEP Apr 13, 2018
d2b8d2e
Update Add-AzureRmVMSecret.md
cormacpayne Apr 13, 2018
7ab2461
Merge branch 'preview' of github.com:Azure/azure-powershell into rele…
Apr 13, 2018
b441fc0
Merge branch 'releaseSub' of github.com:maddieclayton/azure-powershel…
Apr 13, 2018
fadda76
Updated markdown files
Apr 13, 2018
da03401
Merge pull request #5948 from CHEEKATLAPRADEEP/patch-1
cormacpayne Apr 13, 2018
a8f59b7
fixing send feedback for twitchy
sphibbs Apr 13, 2018
c626219
resolve comments
anusapan Apr 13, 2018
56982c8
Enable NetCore scenario tests and set up scenario test build
markcowl Apr 13, 2018
62e436b
Merge pull request #5950 from v-Ajnava/preview_local
Apr 13, 2018
2f9cf52
Merge pull request #5929 from maddieclayton/releaseSub
Apr 13, 2018
cdce222
updating comment and removing line
sphibbs Apr 13, 2018
2b2d6af
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
anusapan Apr 13, 2018
7b0f934
Updating change log
Apr 13, 2018
0d6db06
Merge pull request #5954 from sphibbs/sphibbs-feedback
cormacpayne Apr 14, 2018
744cc32
Fix issues with netcore and desktop tests, clean up build files
markcowl Apr 16, 2018
86f6183
[Storage] Fix the output of failed cmdlets not contain failure detail…
blueww Apr 10, 2018
7b2043a
Fix a build error
blueww Apr 11, 2018
7336b54
Add change log for failure storage cmdlets output fix
blueww Apr 16, 2018
a0f0c5a
Fixed broken link to platyPS module installation
anton-evseev Apr 16, 2018
a5a3e66
Merge pull request #5961 from Azure/dev-doc-fix
cormacpayne Apr 16, 2018
7afe415
Fix build for AzureStack tests
markcowl Apr 16, 2018
507f671
Merge pull request #5908 from aljo-microsoft/preview
cormacpayne Apr 16, 2018
ef75553
Merge branch 'preview' into ReservedInstance
cormacpayne Apr 16, 2018
384849c
fix the comments
anusapan Apr 16, 2018
61301d1
Remove deprecated SiteRecovery project
cormacpayne Apr 16, 2018
7029396
remove atscope param as part of breaking change
darshanhs90 Apr 16, 2018
68fe612
rerecord tests
darshanhs90 Apr 16, 2018
c635a4b
update changelog
darshanhs90 Apr 16, 2018
12d8db7
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
anusapan Apr 16, 2018
b750904
update breaking change issues
darshanhs90 Apr 16, 2018
3127716
Add additional logging around module path creation
markcowl Apr 17, 2018
89508cc
Merge pull request #5964 from darshanhs90/preview1
Apr 17, 2018
03c0705
Fix race condition with module build
markcowl Apr 17, 2018
c45ed67
Update BreakingChangeIssues.csv
cormacpayne Apr 17, 2018
c4e7bcb
added existing project to complete build
anusapan Apr 17, 2018
dab61bb
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
anusapan Apr 17, 2018
2d96d5c
Clean up Stack module lookup
markcowl Apr 17, 2018
42c82cb
Merge branch 'preview' into ReservedInstance
corquiri Apr 17, 2018
889ce71
Change from relative to full paths
markcowl Apr 17, 2018
ac4efd2
Update vm-for-partners.md
vladimir-shcherbakov Apr 17, 2018
81be87d
Fix eventing issue
markcowl Apr 17, 2018
59bb58f
Update Tools.Common.csproj
cormacpayne Apr 17, 2018
25167f4
Update vm-for-partners.md
vladimir-shcherbakov Apr 17, 2018
02e7022
Update vm-for-partners.md
vladimir-shcherbakov Apr 17, 2018
38a944a
Remove skipped tests that test nothing and associated infrastructure
markcowl Apr 17, 2018
a99efcd
Merge pull request #5917 from wastoresh/outputissue
MiYanni Apr 17, 2018
f0c6897
Remove AzureBackup module for netsign build
markcowl Apr 17, 2018
bc824cb
ApiManagement breaking changes
cormacpayne Apr 17, 2018
b1cb4ba
Automation breaking changes
cormacpayne Apr 17, 2018
1c096fe
Cdn breaking changes
cormacpayne Apr 17, 2018
d0a3e79
Compute breaking changes
cormacpayne Apr 17, 2018
a7a9130
DataFactories breaking changes
cormacpayne Apr 17, 2018
cb792b8
Dns breaking changes
cormacpayne Apr 17, 2018
652f372
Insights breaking changes
cormacpayne Apr 17, 2018
4e69a19
MachineLearning breaking changes
cormacpayne Apr 17, 2018
afef0e1
Media breaking changes
cormacpayne Apr 17, 2018
6373259
Network breaking changes
cormacpayne Apr 17, 2018
d279b71
NotificationHubs breaking changes
cormacpayne Apr 17, 2018
f8ac7aa
OperationalInsights breaking changes
cormacpayne Apr 17, 2018
bc8019c
RedisCache breaking changes
cormacpayne Apr 17, 2018
42b493e
Storage breaking changes
cormacpayne Apr 17, 2018
917423a
Merge pull request #5922 from vladimir-shcherbakov/iss##5498
Apr 18, 2018
53e50d6
Merge pull request #5827 from corquiri/ReservedInstance
cormacpayne Apr 18, 2018
4416172
Merge pull request #5973 from markcowl/remove-useless-garbage
cormacpayne Apr 18, 2018
498e925
Changed test file name and re-record the test session
anusapan Apr 18, 2018
67b1874
Merge pull request #5953 from markcowl/netcore-test2
markcowl Apr 18, 2018
7e04fa4
Merge pull request #5962 from cormacpayne/remove-site-recovery
Apr 18, 2018
e517332
Update New-AzureRmAnalysisServicesFirewallConfig.md
stiglyt Apr 18, 2018
dbeb9ef
Update New-AzureRmTag.md
haschdl Apr 18, 2018
c5551b0
Fix test failures and suppress breaking change exceptions
cormacpayne Apr 18, 2018
52f38db
Merge pull request #5978 from Azure/stiglyt-patch-1
cormacpayne Apr 18, 2018
a38e1e0
Update AzureRM.DeviceProvisioningServices.psd1
cormacpayne Apr 18, 2018
dbedc33
Merge pull request #5980 from haschdl/patch-1
cormacpayne Apr 18, 2018
d71e7aa
Merge remote-tracking branch 'upstream/preview' into breaking-changes
cormacpayne Apr 18, 2018
7624a06
Merge pull request #5766 from anusapan/preview
cormacpayne Apr 18, 2018
ffb67e3
Merge pull request #5976 from cormacpayne/breaking-changes
cormacpayne Apr 19, 2018
53d2a11
Merge pull request #5889 from hyonholee/disable
cormacpayne Apr 19, 2018
7ae18f5
Update AzureRM.ManagementPartner.psd1
cormacpayne Apr 19, 2018
3ecb718
Breaking Change: Remove PErFileThreadCount and ConcurrentFileCount fr…
rahuldutta90 Apr 19, 2018
3d9f754
Update the changelog and breaking changes log
rahuldutta90 Apr 19, 2018
3f14bc2
Add exceptions for breaking changes, remove unused usings in Remove-A…
rahuldutta90 Apr 19, 2018
07930bc
Add VMSS Redeploy and PerformMaintenance features
hyonholee Apr 18, 2018
30818fc
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
hyonholee Apr 19, 2018
8193e1e
Update ChangeLog for VMSS Redeploy and PerformMaintenance.
hyonholee Apr 19, 2018
febdf16
Fix format.ps1xml for KeyVault
Apr 19, 2018
2470034
Merge pull request #5994 from maddieclayton/kvbug
cormacpayne Apr 19, 2018
65e7e6c
Merge pull request #5989 from Azure/adls-data-plane-breakingchanges
cormacpayne Apr 19, 2018
74fc599
Merge pull request #5931 from jeffrey-ACE/preview
cormacpayne Apr 19, 2018
b7952d5
Merge pull request #5992 from hyonholee/redeploy
cormacpayne Apr 19, 2018
dec9bf4
Merge pull request #5921 from SudhakaraReddyEvuri/suredd-prereq-keyvault
cormacpayne Apr 19, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dotnet: 2.1.2
dist: trusty

env:
- NAME="azure-powershell-core" CONFIG="Release"
- NAME="azure-powershell-core" CONFIG="Debug"

services:
- docker
Expand All @@ -21,13 +21,14 @@ before_install:

script:
- dotnet msbuild build.proj /t:BuildNetcore /p:Configuration=$CONFIG
- dotnet test src/Azure.PowerShell.Netcore.Test.sln --filter="AcceptanceType=CheckIn" --configuration $CONFIG

after_success:
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
docker build . -t $DOCKER_USER/$NAME:$TRAVIS_COMMIT --build-arg CONFIG=$CONFIG;
docker tag $DOCKER_USER/$NAME:$TRAVIS_COMMIT $DOCKER_USER/$NAME:$TRAVIS_BRANCH;

docker login -u $DOCKER_USER -p $DOCKER_PASS;
echo "$DOCKER_PASS" | docker login -u $DOCKER_USER --password-stdin;

docker push $DOCKER_USER/$NAME:$TRAVIS_COMMIT;
docker push $DOCKER_USER/$NAME:$TRAVIS_BRANCH;
Expand Down
205 changes: 1 addition & 204 deletions Azure.PowerShell.Netcore.sln

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion AzurePowershell.Test.targets
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<CommonTestDebug>.\src\ServiceManagement\Common\Commands.Common.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Common.Test.dll</CommonTestDebug>
<BackupTestDebug>.\src\ResourceManager\AzureBackup\Commands.AzureBackup.Test\bin\Debug\Microsoft.Azure.Commands.AzureBackup.Test.dll</BackupTestDebug>
<RecoveryServicesBackupTestDebug>.\src\ResourceManager\AzureBackup\Commands.RecoveryServices.Backup.Test\bin\Debug\Microsoft.Azure.Commands.RecoveryServices.Backup.Test.dll</RecoveryServicesBackupTestDebug>
<SiteRecoveryTestDebug>.\src\ResourceManager\SiteRecovery\Commands.SiteRecovery.Test\bin\Debug\Microsoft.Azure.Commands.SiteRecovery.Test.dll</SiteRecoveryTestDebug>
<SqlTestDebug>.\src\ResourceManager\Sql\Commands.Sql.Test\bin\Debug\Microsoft.Azure.Commands.Sql.Test.dll</SqlTestDebug>
<ComputeDebug>.\src\ResourceManager\Compute\Commands.Compute.Test\bin\Debug\Microsoft.Azure.Commands.Compute.dll</ComputeDebug>
<ComputeTestDebug>.\src\ResourceManager\Compute\Commands.Compute.Test\bin\Debug\Microsoft.Azure.Commands.Compute.Test.dll</ComputeTestDebug>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ To install the module containing the legacy RDFE cmdlets, run the following comm
Install-Module -Name Azure
```

If you have an earlier version of the Azure PowerShell modules installed from the PowerShell Gallery and would like to update to the latest version, run the following commands in an elevated PowerShell session:
If you have an earlier version of the Azure PowerShell modules installed from the PowerShell Gallery and would like to update to the latest version, run the following commands in an elevated PowerShell session. Update-Module installs the new version side-by-side with the old version. It does not remove the old version.

```powershell
# Update to the latest version of AzureRM
Expand Down
10 changes: 4 additions & 6 deletions TestMappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@
"src/ResourceManager/IotHub/": [
".\\src\\ResourceManager\\IotHub\\Commands.IotHub.Test\\bin\\Debug\\Microsoft.Azure.Commands.IotHub.Test.dll"
],
"src/ResourceManager/DeviceProvisioningServices/": [
".\\src\\ResourceManager\\DeviceProvisioningServices\\Commands.DeviceProvisioningServices.Test\\bin\\Debug\\Microsoft.Azure.Commands.DeviceProvisioningServices.dll"
],
"src/ResourceManager/KeyVault/": [
".\\src\\ResourceManager\\Compute\\Commands.Compute.Test\\bin\\Debug\\Microsoft.Azure.Commands.Compute.Test.dll",
".\\src\\ResourceManager\\KeyVault\\Commands.KeyVault.Test\\bin\\Debug\\Microsoft.Azure.Commands.KeyVault.Test.dll",
Expand Down Expand Up @@ -141,8 +144,7 @@
],
"src/ResourceManager/RecoveryServices/": [
".\\src\\ResourceManager\\RecoveryServices.Backup\\Commands.RecoveryServices.Backup.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServices.Backup.Test.dll",
".\\src\\ResourceManager\\RecoveryServices\\Commands.RecoveryServices.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServicesArm.Test.dll",
".\\src\\ResourceManager\\SiteRecovery\\Commands.SiteRecovery.Test\\bin\\Debug\\Microsoft.Azure.Commands.SiteRecovery.Test.dll"
".\\src\\ResourceManager\\RecoveryServices\\Commands.RecoveryServices.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServicesArm.Test.dll"
],
"src/ResourceManager/RedisCache/": [
".\\src\\ResourceManager\\RedisCache\\Commands.RedisCache.Test\\bin\\Debug\\Microsoft.Azure.Commands.RedisCache.Test.dll"
Expand All @@ -159,16 +161,12 @@
"src/ResourceManager/Scheduler/": [
".\\src\\ResourceManager\\Scheduler\\Commands.Scheduler.Test\\bin\\Debug\\Microsoft.Azure.Commands.Scheduler.Test.dll"
],
"src/ResourceManager/ServerManagement/": [],
"src/ResourceManager/ServiceBus/": [
".\\src\\ResourceManager\\ServiceBus\\Commands.ServiceBus.Test\\bin\\Debug\\Microsoft.Azure.Commands.ServiceBus.Test.dll"
],
"src/ResourceManager/ServiceFabric/": [
".\\src\\ResourceManager\\ServiceFabric\\Commands.ServiceFabric.Test\\bin\\Debug\\Microsoft.Azure.Commands.ServiceFabric.Test.dll"
],
"src/ResourceManager/SiteRecovery/": [
".\\src\\ResourceManager\\SiteRecovery\\Commands.SiteRecovery.Test\\bin\\Debug\\Microsoft.Azure.Commands.SiteRecovery.Test.dll"
],
"src/ResourceManager/Sql/": [
".\\src\\ResourceManager\\Sql\\Commands.Sql.Test\\bin\\Debug\\Microsoft.Azure.Commands.Sql.Test.dll"
],
Expand Down
6 changes: 3 additions & 3 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<NetCore Condition=" $(NetCore) == '' " >false</NetCore>
<SkipHelp Condition =" '$(SkipHelp)' == '' ">false</SkipHelp>
<BuildTasksPath>$(LibraryToolsFolder)\BuildPackagesTask\Microsoft.Azure.Build.Tasks\bin\$(Configuration)</BuildTasksPath>
<Stack Condition = "'$(Scope)' == '' or '$(Scope)' == 'all' or '$(Scope)' == 'Stack' ">true</Stack>
<Stack Condition = "(('$(Scope)' == '' or '$(Scope)' == 'all') and '$(NetCore)' == 'false') or '$(Scope)' == 'Stack' ">true</Stack>
<Latest Condition = "'$(Scope)' == '' or '$(Scope)' != 'Stack'">true</Latest>
</PropertyGroup>
<ItemGroup>
Expand All @@ -71,7 +71,7 @@

<StaticAnalysis Include=".\tools\StaticAnalysis\StaticAnalysis.sln" />
<LocalBuildTasks Include="$(LibraryToolsFolder)\BuildPackagesTask\Microsoft.Azure.Build.Tasks.sln" />
<LocalBuildTasks Include="$(LibraryToolsFolder)\RepoTasks\RepoTasks.sln" />
<LocalBuildTasks Include="$(LibraryToolsFolder)\RepoTasks\RepoTasks.sln" Condition="'$(NetCore)' == 'false'"/>
</ItemGroup>

<!-- Tasks -->
Expand Down Expand Up @@ -417,7 +417,7 @@
Condition="!$(DelaySign) and '@(ScriptsToSign)' != ''"/>

<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\CheckSignature.ps1 -CustomPath $(LibrarySourceFolder)\Package\$(Configuration) &quot;"
ContinueOnError="ErrorAndContinue" />
ContinueOnError="ErrorAndContinue" Condition="'$(NetCore)' == 'false'"/>

<!-- Copying signed shortcut back -->
<Copy SourceFiles="$(LibrarySourceFolder)\Package\$(Configuration)\AzureRM.Netcore.psd1"
Expand Down
2 changes: 0 additions & 2 deletions documentation/azure-powershell-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,8 @@ Below is a table of modules containing ARM cmdlets found in the [`AzureRM`](http
| Reservations | `AzureRM.Reservations` | [![Reservations](https://img.shields.io/powershellgallery/v/AzureRM.Reservations.svg?style=flat-square&label=AzureRM.Reservations)](https://www.powershellgallery.com/packages/AzureRM.Reservations/) |
| Resources | `AzureRM.Resources` | [![Resources](https://img.shields.io/powershellgallery/v/AzureRM.Resources.svg?style=flat-square&label=AzureRM.Resources)](https://www.powershellgallery.com/packages/AzureRM.Resources/) |
| Scheduler | `AzureRM.Scheduler` | [![Scheduler](https://img.shields.io/powershellgallery/v/AzureRM.Scheduler.svg?style=flat-square&label=AzureRM.Scheduler)](https://www.powershellgallery.com/packages/AzureRM.Scheduler/) |
| Server Management | `AzureRM.ServerManagement` | [![Server Management](https://img.shields.io/powershellgallery/v/AzureRM.ServerManagement.svg?style=flat-square&label=AzureRM.ServerManagement)](https://www.powershellgallery.com/packages/AzureRM.ServerManagement/) |
| Service Bus | `AzureRM.ServiceBus` | [![Service Bus](https://img.shields.io/powershellgallery/v/AzureRM.ServiceBus.svg?style=flat-square&label=AzureRM.ServiceBus)](https://www.powershellgallery.com/packages/AzureRM.ServiceBus/) |
| Service Fabric | `AzureRM.ServiceFabric` | [![Service Fabric](https://img.shields.io/powershellgallery/v/AzureRM.ServiceFabric.svg?style=flat-square&label=AzureRM.ServiceFabric)](https://www.powershellgallery.com/packages/AzureRM.ServiceFabric/) |
| Site Recovery | `AzureRM.SiteRecovery` | [![Site Recovery](https://img.shields.io/powershellgallery/v/AzureRM.SiteRecovery.svg?style=flat-square&label=AzureRM.SiteRecovery)](https://www.powershellgallery.com/packages/AzureRM.SiteRecovery/) |
| Sql | `AzureRM.Sql` | [![Sql](https://img.shields.io/powershellgallery/v/AzureRM.Sql.svg?style=flat-square&label=AzureRM.Sql)](https://www.powershellgallery.com/packages/AzureRM.Sql/) |
| Storage | `AzureRM.Storage` | [![Storage](https://img.shields.io/powershellgallery/v/AzureRM.Storage.svg?style=flat-square&label=AzureRM.Storage)](https://www.powershellgallery.com/packages/AzureRM.Storage/) |
| Stream Analytics | `AzureRM.StreamAnalytics` | [![Stream Analytics](https://img.shields.io/powershellgallery/v/AzureRM.StreamAnalytics.svg?style=flat-square&label=AzureRM.StreamAnalytics)](https://www.powershellgallery.com/packages/AzureRM.StreamAnalytics/) |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The following prerequisites should be completed before contributing to the Azure
- Install the latest version of [Git](https://git-scm.com/downloads)
- Install the latest version of [WiX](http://wixtoolset.org/releases/)
- After installation, ensure that the path to "WiX Toolset\bin" has been added to your `PATH` environment variable
- Install the [`platyPS` module](https://github.com/Azure/azure-powershell/blob/preview/documentation/help-generation.md#installing-platyps)
- Install the [`platyPS` module](https://github.com/Azure/azure-powershell/blob/preview/documentation/development-docs/help-generation.md#installing-platyps)
- Set the PowerShell [execution policy](https://technet.microsoft.com/en-us/library/ee176961.aspx) to **Unrestricted** for the following versions of PowerShell:
- `C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe`
- `C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe`
Expand Down
140 changes: 140 additions & 0 deletions documentation/development-docs/vm-for-partners.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
If you need an Azure Virtual Machine with all the [prerequisites](https://github.com/Azure/azure-powershell/blob/preview/documentation/development-docs/azure-powershell-developer-guide.md#prerequisites) installed and ready to build and test Powershell Azure - follow the steps below.

# Copy the PowerShell Azure VHD blob to your subscription and create a VM from it.

1. Make sure that you have the version 4.5.0 or above of the AzureRM.Compute PowerShell module. Run the following command to install it. This version has the "easy VM create" cmdlet that we are going to use in the script below to create a VM.
```PowerShell
Install-Module AzureRM.Compute --MinimumVersion 4.5.0
```
2. Email [email protected] to obtain a VHD SAS URI, and assign that unique URI to the variable below.
```PowerShell
$VhdSasUri = <vhd-sas-uri-requested-from-us>
```
3. Create some variables. **_Before setting the ```$Location``` variable - make sure your subscription supports virtual machine creation in the location._**
```PowerShell
$SubscriptionId = <subscription-id>
$ResourceGroupName = <resource-group-name>
#Make sure your subscription supports virtual machine creation in the location.
$Location = <location>

$Random_5_digits = Get-Random -SetSeed (Get-Date).Second | ForEach-Object {$_.ToString().Substring(5)}
$StorageAccountName = "poshazureenv" + $Random_5_digits
$StorageContainerName = "vhds"

$VhdFileName = "ps-azure-env.vhd"
$ImageName = "ps-azure-env-image"
$VmName = "ps-azure-env"
$VMSize= "Standard_D4s_v3"

$VmLogin = <login>
$VmPassword = <password>

$ErrorActionPreference = "Stop"
$VmCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $VmLogin, $(ConvertTo-SecureString -String $VmPassword -AsPlainText -Force)
```
4. Sign in to your Azure account.
```PowerShell
Connect-AzureRmAccount
```
5. Execute the Powershell script. The script essentially does the following:
1. Checks if a **resource group** with the name ```$ResourceGroupName``` exists if not - creates it for you.
2. Checks if a **storage account** with the name ```$StorageAccountName``` exists if not - creates it for you.
3. Checks if a **storage account container** with the name ```$StorageAccountName``` exists if not - creates it for you.
4. Copies a **VHD** from the location ```$VhdSasUri``` to you storage account container.
5. Creates an **image** form the VHD with the ```$ImageName``` name.
5. Creates a **VM** from the image with the ```$VmName``` name.
```PowerShell
function SelectSubscription() {
Write-Host "==> SelectSubscription"
$null = Select-AzureRmSubscription -SubscriptionId $SubscriptionId
}

function CreateResourceGroupIfNone() {
Write-Host "==> CreateResourceGroupIfNone"
$null = Get-AzureRmResourceGroup -Name $ResourceGroupName -ErrorVariable rgNotPresent -ErrorAction SilentlyContinue
if ($rgNotPresent) {
$null = New-AzureRmResourceGroup -Name $ResourceGroupName -Location $Location
Write-Host "`tCreated resource group $ResourceGroupName" -ForegroundColor Yellow
}
}

function CreateStorageIfNone() {
Write-Host "==> CreateStorageIfNone"

# Storage Account
Write-Host "`tStorage Account"
try {
$sa = Get-AzureRmStorageAccount -StorageAccountName $StorageAccountName -ResourceGroupName $ResourceGroupName
} catch {
if ($_ -like "*was not found*") {
$sa = New-AzureRmStorageAccount -ResourceGroupName $ResourceGroupName -Name $StorageAccountName -Location $Location -SkuName Standard_LRS
Write-Host "`tCreated storage account $StorageAccountName." -ForegroundColor Yellow
} else {
throw $_.Exception
}
}

$script:StorageAccountContext = $sa.Context

# Storage Container
Write-Host "`tStorage Container"
try {
$sc = Get-AzureStorageContainer -Name $StorageContainerName -Context $StorageAccountContext
} catch {
if ($_ -like "*Can not find the container*") {
$sc = New-AzureStorageContainer -Name $StorageContainerName -Context $StorageAccountContext
Write-Host "`tCreated storage container $StorageContainerName." -ForegroundColor Yellow
} else {
throw $_.Exception
}
}
}

function CopyVhdBlob() {
Write-Host "==> Start-AzureStorageBlobCopy"
$null = Start-AzureStorageBlobCopy -AbsoluteUri $VhdSasUri -DestContainer $StorageContainerName -DestContext $StorageAccountContext -DestBlob $VhdFileName
$Time = [System.Diagnostics.Stopwatch]::StartNew()
Write-Host "==> Polling Azure Storage Blob Copy State..."
$null = Get-AzureStorageBlobCopyState -Blob $VhdFileName -Container $StorageContainerName -Context $StorageAccountContext -WaitForComplete
$CurrentTime = $Time.Elapsed
$Elapsed = $([string]::Format("{0:d2}:{1:d2}:{2:d2}", $CurrentTime.hours, $CurrentTime.minutes, $CurrentTime.seconds))
Write-Host "`tVHD blob has been copied. Time: $Elapsed" -ForegroundColor Yellow
}

function CreateImageFromVhd() {
Write-Host "==> CreateImageFromVhd"
$Blob = Get-AzureStorageBlob -Context $StorageAccountContext -Container $StorageContainerName -Blob $VhdFileName
$BlobUri = $Blob.ICloudBlob.Uri.AbsoluteUri

$ImageConfig = New-AzureRmImageConfig -Location $Location
$ImageConfig = Set-AzureRmImageOsDisk -Image $ImageConfig -OsType Windows -OsState Generalized -BlobUri $BlobUri
$script:Image = New-AzureRmImage -ImageName $ImageName -ResourceGroupName $ResourceGroupName -Image $ImageConfig
}

function CreateVmFromImage() {
Write-Host "==> CreateVmFromImage"
New-AzureRmVm -Name $VmName -Location $Location -ResourceGroupName $ResourceGroupName -ImageName $Image.Id -Credential $VmCredential -Size $VmSize
}

SelectSubscription
CreateResourceGroupIfNone
CreateStorageIfNone
CopyVhdBlob
CreateImageFromVhd
CreateVmFromImage

Write-Host "==> All done."
```

# Github Settings and Repository Setup
You will need to set up the GitHub configuration so that commits appear with your GitHub name.
```
git config --global user.email "<Your email on GitHub>"
```
```
git config --global user.name "<Your name>"
```
Next, you will need to follow the steps [here](https://github.com/Azure/azure-powershell/wiki/Azure-Powershell-Developer-Guide#environment-setup) to set up your local fork of Azure/azure-powershell.

# Building and Running Tests
This image has been set up to build and run tests immediately. To build the project, run msbuild build.proj in the Developer Command Prompt for VS2015. Once this has completed, you can open your module in Visual Studio and start development there. To record tests, follow the instructions [here](https://github.com/Azure/azure-powershell/wiki/Azure-Powershell-Developer-Guide#recordingrunning-tests).
Loading