Skip to content

Merge from Azure/azure-powershell/dev #22

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 10,000 commits into from
Nov 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
c85ce80
Merge pull request #3017 from michaelcohenmicrosoft/dev
markcowl Oct 11, 2016
210a9a8
Merge pull request #3049 from zhencui/dev
markcowl Oct 11, 2016
fe88464
Merge pull request #3055 from corinajacobson/fixDnsRecordsTest
markcowl Oct 11, 2016
5b8d84a
Resolve code review feedback
cormacpayne Oct 11, 2016
8322fd2
add Startup script as well
Oct 11, 2016
7c63206
Merge pull request #3042 from cormacpayne/fix-parameters
markcowl Oct 11, 2016
fb5bf5e
Add comment to backwards compat alias
Oct 11, 2016
2725c6d
Update help for Profile cmdlets
cormacpayne Oct 11, 2016
43ae8b2
Merge remote-tracking branch 'upstream/dev' into profile-help
cormacpayne Oct 11, 2016
ef96857
Generate MAML with updated markdown and module changes
cormacpayne Oct 11, 2016
c944dad
implement the interface
Oct 12, 2016
d48d944
Fix Import-AzureRmApiManagementApi for Importing by Links
solankisamir Oct 11, 2016
c07ca01
Add support for creating ApiManagement Service with Additional Region…
solankisamir Oct 11, 2016
467127d
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
gucalder Oct 12, 2016
365b2a5
Making the output of the Remove and Add cmdlets reflect the types and…
gucalder Oct 12, 2016
8dec609
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
gucalder Oct 12, 2016
afda585
Merge branch 'dev' of https://github.com/AuxMon/azure-powershell into…
gucalder Oct 12, 2016
b653f2e
Changing the warning messages of some cmdlets
gucalder Oct 12, 2016
f0d4443
Update format of PR template
cormacpayne Oct 12, 2016
cf95871
Add file that outlines breaking changes to documentation
cormacpayne Oct 12, 2016
ad339ca
Merge branch 'xizhaPowerShell' into dev
Oct 12, 2016
ccfa770
Add change log for each module
cormacpayne Oct 12, 2016
1ef7ca8
Updating powershell
athipp Oct 12, 2016
c875080
multiple updates
shahabhijeet Oct 12, 2016
f8110d3
Merge remote-tracking branch 'upstream/dev' into dev
Oct 13, 2016
c26b7d1
Enabled auto login for running PS Smoke tests. It uses Serviceprincip…
shahabhijeet Oct 13, 2016
a60a884
removing files that got copied by mistakes
shahabhijeet Oct 13, 2016
158f7b1
Removing unused code, deleting hard coded values
shahabhijeet Oct 13, 2016
caa0df9
Merge pull request #2978 from haitch/dev
markcowl Oct 13, 2016
6cffcaa
Merge pull request #3009 from DeepakRajendranMsft/release-3.0.0
markcowl Oct 13, 2016
4aa49a6
Update ChangeLog base
cormacpayne Oct 13, 2016
20caafb
For VMBackup, use per-VHD resource group instead of VM RG
Oct 13, 2016
b4550ef
On Windows, VolumeType should default to Data for disable
Oct 13, 2016
b6dac4f
Fix comment formatting
Oct 13, 2016
039cfb1
Merge remote-tracking branch 'upstream/dev' into dev
Oct 13, 2016
f72c240
Fix help doc
Oct 13, 2016
45d878e
Add script to update service change logs, send all changes to master …
cormacpayne Oct 13, 2016
0faeaef
Add comments to script
cormacpayne Oct 13, 2016
34ef0f9
Merge pull request #3050 from jasper-schneider/feature/management-lib
markcowl Oct 13, 2016
41c1fe0
Reorganize the test order to be alphabetical by RP
markcowl Oct 13, 2016
1bc47ad
Merge pull request #3068 from solankisamir/Issue3058_ImportFix
markcowl Oct 13, 2016
90d9432
Merge pull request #3071 from cormacpayne/update-contributing
markcowl Oct 13, 2016
4e362ea
Fix module version for each change log, erasing previous release note…
cormacpayne Oct 13, 2016
49fb274
Remove SupportsShouldProcess as Cmdlet does not change anything on th…
solankisamir Oct 14, 2016
5bb00f3
Added documentation and flow of auto login, cleaned up some code
shahabhijeet Oct 14, 2016
61dd978
Remove SDK templates from ps branch
shahabhijeet Oct 14, 2016
798a781
Merge pull request #3053 from Azure/projtemplate
markcowl Oct 14, 2016
9444027
Add ServiceManagement and Storage change logs and logic to script
cormacpayne Oct 14, 2016
2e4f35b
Merge remote-tracking branch 'upstream/dev' into add-changelogs
cormacpayne Oct 14, 2016
2be4d7a
Update documentation and add logic for AzureRM.psd1 release notes
cormacpayne Oct 14, 2016
5f5341d
Added parameterset to Set-TestFramework function, added function to p…
shahabhijeet Oct 14, 2016
bfa5aee
Add Obsolete attribute to Environment parameter and suppress warning
cormacpayne Oct 14, 2016
94a2d9b
Change how warning for Environment parameter is suppressed
cormacpayne Oct 17, 2016
417acea
Merge pull request #3075 from xizhamsft/dev
shahabhijeet Oct 17, 2016
5e411d9
Removing dot sourcing from function scope and including back to the e…
shahabhijeet Oct 17, 2016
8481242
Merge remote-tracking branch 'upstream/dev' into dev
boringuser Oct 17, 2016
a8169af
Add validation on Input parameters
solankisamir Oct 17, 2016
fe3347c
Merge remote-tracking branch 'refs/remotes/Azure/dev' into consolidat…
solankisamir Oct 17, 2016
8e504a8
use getobjectbyobjectid when looking up groups by id, remove unnecess…
surabhi-pandey Oct 15, 2016
d561222
Merge branch 'dev' of github.com:Azure/azure-powershell into dev
surabhi-pandey Oct 17, 2016
5b9a26b
"Fixed test due to invalid ValidateSet clause"
solankisamir Oct 17, 2016
29d860d
Add PremiumRS value to DatabaseEdition enum
hshihMS Oct 17, 2016
7ccdbee
Merge pull request #3064 from cormacpayne/profile-help
markcowl Oct 18, 2016
bdd7e3a
Adding help, refactoring to use platyPS/markdown
boringuser Oct 18, 2016
a983bd7
Additional help changes for ML commitment plans
boringuser Oct 18, 2016
dd1d898
Merge branch 'dev' of github.com:Azure/azure-powershell into dev
surabhi-pandey Oct 18, 2016
19706ae
Extracted one time setup functions into a separate file, this will be…
shahabhijeet Oct 18, 2016
f4a0448
Updating BaseUri to exclude AADAuthPoint and Graphi Uri
shahabhijeet Oct 18, 2016
8a32dd6
Merge pull request #3070 from solankisamir/consolidatedeployment_vnetid
shahabhijeet Oct 18, 2016
ff9310b
addressing additional code review feedback: Move cert/pub settings de…
shahabhijeet Oct 18, 2016
9422d7e
adding documentation for the smoke tests
shahabhijeet Oct 18, 2016
1c4538a
adding documentation for using Repo-Tasks module
shahabhijeet Oct 18, 2016
16c49c5
Merge pull request #3090 from surabhi-pandey/dev
shahabhijeet Oct 19, 2016
be57487
Merge pull request #3081 from Azure/reorg-tests
shahabhijeet Oct 19, 2016
2330247
Merge pull request #3076 from Azure/autoTest
shahabhijeet Oct 19, 2016
da4a812
Merge pull request #3052 from Azure/scriptModule
shahabhijeet Oct 19, 2016
30b0a69
Revert "On Windows, VolumeType should default to Data for disable"
Oct 19, 2016
745be58
Add null check
Oct 19, 2016
53906ef
fix useremotegateway for vnet peering
DeepakRajendranMsft Oct 19, 2016
a51dd7e
Add current and upcoming breaking change document for each module
cormacpayne Oct 19, 2016
1401f64
Merging from Azure/dev
gucalder Oct 19, 2016
f1e0318
Add script to update breaking change docs, and add logic/docs for RDF…
cormacpayne Oct 19, 2016
dbc6c56
Insights: Using the Swagger spec for all the cmdlets but the Metrics'…
gucalder Oct 19, 2016
b4fb290
Update documentation to include information on breaking change docs
cormacpayne Oct 19, 2016
d2f7c62
Fixing the help, the warning messages, and minor details
gucalder Oct 19, 2016
d84ee5e
Fixing some piping issue.
diwudd Oct 19, 2016
adc3828
fixed module manifest to include psm1, added Install VS Project templ…
shahabhijeet Oct 19, 2016
43dd149
Merge pull request #3100 from shahabhijeet/dev
shahabhijeet Oct 20, 2016
188e54f
fix error in Test-AzureRmVMAEMExtension and improve error message for…
MSSedusch Oct 20, 2016
3424d30
Disable Windows Azure Diagnostics per default
MSSedusch Oct 20, 2016
d498d15
udpating to consume nuget version for sdk
athipp Oct 20, 2016
014bac0
minor fix on parameter name - swaping alias and actual name
DeepakRajendranMsft Oct 20, 2016
fea783c
Adding KeyVault.Core back to the project and wxi file
gucalder Oct 20, 2016
5659cf7
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
gucalder Oct 20, 2016
f681ee6
Update documentation for platyPSHelp
cormacpayne Oct 20, 2016
1dfaf74
Additional changes per PR feedback
boringuser Oct 21, 2016
4a27523
Write error when getting non-existing lock.
Tiano2017 Oct 21, 2016
dd648b7
Merge branch 'dev' of https://github.com/Azure/azure-powershell into …
Tiano2017 Oct 21, 2016
2a9db46
Adding Azure Session user agent to Publish-AzureWebsiteProject Command
pragupta-ms Oct 21, 2016
8e34d95
Adding Scenario tests for Remove Cmdlets.
diwudd Oct 21, 2016
f7e7575
Copying session records files.
diwudd Oct 21, 2016
4c9e0a9
Merge pull request #2993 from ericwill-msft/dev
cormacpayne Oct 21, 2016
b3e6cb6
Push a query operation only if extension isn't installed
Oct 21, 2016
d689f28
Merge pull request #3092 from hshihMS/dev
shahabhijeet Oct 21, 2016
87ea3c5
Updated the New-AzureRmHDInsightCluster cmdlet to support component
iyerrb Oct 21, 2016
2477612
Set this.Name if it it's null
Oct 22, 2016
69c33d0
Merge pull request #3105 from krkhan/disable_regression_fix
shahabhijeet Oct 22, 2016
a356df8
Powershell changes for AnalysisServices.
athipp Oct 22, 2016
8fa5a11
Help file for analysisServices
athipp Oct 22, 2016
a26a9c5
updating command syntax documentation
athipp Oct 22, 2016
485f5ab
Fixing some comments.
diwudd Oct 24, 2016
2375b16
Fixing static analysis tool errors
athipp Oct 24, 2016
93c3ce4
Fixing bugs
athipp Oct 24, 2016
14fe256
Merge remote-tracking branch 'refs/remotes/Azure/dev' into dev
athipp Oct 24, 2016
c572d1f
Fixing Review comments.
athipp Oct 24, 2016
a3c9a4e
Merge pull request #3112 from krkhan/ade_query_fix
cormacpayne Oct 24, 2016
6ccc667
Updated packages.config to use the latest HDInsight SDK version
iyerrb Oct 24, 2016
eb8ebaf
Updating some json files properties.
diwudd Oct 24, 2016
c3a8607
Resolve code review comments
cormacpayne Oct 24, 2016
4952670
Updated Add-AzureRmHDInsightComponentVersion cmdlet with ShouldProcess
iyerrb Oct 24, 2016
4bb49a7
Refactoring.
Tiano2017 Oct 24, 2016
2010c3e
Resolve code review comments
cormacpayne Oct 25, 2016
c2b6dc7
Merge pull request #3085 from cormacpayne/add-changelogs
markcowl Oct 25, 2016
0e5e6a7
Merge pull request #3104 from cormacpayne/update-platyps-help
markcowl Oct 25, 2016
245e738
Added ConfirmAction to Add-AzureRmHDInsightComponentVersion cmdlet
iyerrb Oct 25, 2016
0b5e9d1
Add ci to sync docs from source code repo to content repo
Oct 25, 2016
8951051
Resolving CR comments
pragupta-ms Oct 25, 2016
056de9c
Fix build breaks
iyerrb Oct 25, 2016
e9125bd
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
gucalder Oct 25, 2016
9ff3450
Removing section of the proj file that should not be there. Re-enabli…
gucalder Oct 25, 2016
38d3d7b
Remove PremiumRS edition value due to public preview schedule changes
hshihMS Oct 25, 2016
7124d3b
Merge remote-tracking branch 'upstream/dev' into breaking-change-modu…
cormacpayne Oct 25, 2016
dab2653
Merge remote-tracking branch 'upstream/dev' into vmbackup_stgaccts_fix
Oct 25, 2016
fd0ffa0
Pass endpoint suddix when creating CloudStorageAccount
Oct 25, 2016
d41757e
Merge pull request #3099 from AuxMon/dev
markcowl Oct 25, 2016
f57f5d4
Merge pull request #3095 from DeepakRajendranMsft/FixVnetPeering
shahabhijeet Oct 25, 2016
ef1e0b6
Merge pull request #3123 from krkhan/vmbackup_stgaccts_fix
cormacpayne Oct 26, 2016
2d5f1d2
Re-generate VMSS and ACS cmdlets with update Powershell auto-generator.
hyonholee Oct 26, 2016
96a31d5
Merge pull request #3120 from hshihMS/dev
markcowl Oct 26, 2016
e2b100e
Merge pull request #3101 from diwudd/wud/consistsupport
markcowl Oct 26, 2016
ed90169
[AppGW] Backend health bug fixes
kagamsft Oct 26, 2016
82aacf8
[AppGW] Updating Network SDK version in compute cmd-lets
kagamsft Oct 26, 2016
128f1ec
[AppGW] Fixing help file
kagamsft Oct 26, 2016
547b62a
[AppGW] Fixing help file
kagamsft Oct 26, 2016
579d8db
remove position parameter from switch parameters
MSSedusch Oct 26, 2016
8dff698
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
hyonholee Oct 26, 2016
7720b73
Update compute library to 13.1.0 and re-generate powershell cmdlets
hyonholee Oct 26, 2016
02125be
Merge pull request #3107 from TianoMS/tiano-d2
cormacpayne Oct 26, 2016
96b14c4
Script requires PowerShellGet module
cormacpayne Oct 26, 2016
3c33667
Merge pull request #3110 from iyerrb/dev
markcowl Oct 26, 2016
6986f64
Add test attributes to Batch tests
Oct 26, 2016
a9da57a
[AppGW] Fixing help file
kagamsft Oct 26, 2016
df9cd9b
[AppGW] Adding ShouldProcess and Force parameter in RemoveAzureApplic…
kagamsft Oct 26, 2016
ccfbc1c
Update the format of Get-AzureRmVM result
hyonholee Oct 26, 2016
f36ce35
Add HDInsight secure hadoop cluster creation support in powershell
mumou Oct 27, 2016
8a1dd8e
Separate parameter sets for Set-AzureRmVM -Redeploy and -Generalized
hyonholee Oct 27, 2016
a6847dc
Merge pull request #3140 from jasper-schneider/testAttributes
markcowl Oct 27, 2016
0ad3a65
Update Compute change log for October release
hyonholee Oct 27, 2016
b321db7
Merge pull request #3144 from mumou/dev
markcowl Oct 27, 2016
4cfb92b
Update to latest private ADLS package
Oct 21, 2016
7b2f403
ADL PowerShell changes
Oct 27, 2016
2f778bb
Add deprecation warnings for secret management.
Oct 27, 2016
b121cb9
Add tests and re-run to ensure all are passing.
Oct 27, 2016
55a7edb
Add changes to the change log.
Oct 27, 2016
b01a2c4
Updating the userAgent to just use the UserAgents from the management…
pragupta-ms Oct 27, 2016
317a228
Removing extra using statement.
pragupta-ms Oct 27, 2016
e3ba6db
Support Should Process for new cmdlets.
Oct 27, 2016
2b284f1
Rerun filesystem tests and include new ADL tests
Oct 27, 2016
1216e38
[AppGW] Adding ConfirmAction in RemoveAzureApplicationGatewaySslPolic…
kagamsft Oct 27, 2016
51c8809
Merge pull request #3097 from cormacpayne/breaking-change-module-docs
markcowl Oct 27, 2016
da95b28
Merge pull request #3141 from hyonholee/dev
markcowl Oct 27, 2016
b6b6dcc
Remove Local feed for ADL
Oct 27, 2016
dab63f0
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
kagamsft Oct 27, 2016
26d6b16
Merge pull request #3109 from pragupta-ms/dev
markcowl Oct 27, 2016
d49c5cd
Merge pull request #3129 from kagamsft/dev
markcowl Oct 27, 2016
282b3a6
Add obsolete warning for the old credential object
Oct 27, 2016
fecb61f
Update module versions for release
cormacpayne Oct 27, 2016
e11d763
Fix AzureStackAdmin and AzureStackStorage versions
cormacpayne Oct 27, 2016
c46892f
Merge remote-tracking branch 'Azure/dev' into dev
athipp Oct 27, 2016
6335da5
Merge pull request #3150 from cormacpayne/release-3.1.0
cormacpayne Oct 27, 2016
b68cefe
Removing unused references.
athipp Oct 28, 2016
ec1a5ce
Addressing Review Comments
athipp Oct 28, 2016
2a2fabf
fixing review comments
athipp Oct 28, 2016
8026445
build break fix
athipp Oct 28, 2016
7e1268e
Reverting unnecessary changes
athipp Oct 28, 2016
62996f2
Fixing build break.
athipp Oct 28, 2016
1f6a2f6
Revert "Fixing build break."
athipp Oct 28, 2016
d2e4861
Revert "fixing review comments"
athipp Oct 28, 2016
ee9baef
removing .psd1 from installer
athipp Oct 28, 2016
2ba96b3
removing help file format
athipp Oct 28, 2016
f322cd9
regenerating wxi
athipp Oct 28, 2016
8c5d4b5
Revert "regenerating wxi"
athipp Oct 28, 2016
bf65f38
Removing unused files
athipp Oct 28, 2016
52e8cb8
Removing unused references
athipp Oct 28, 2016
3334947
Adding PsVersion to userAgent, defaulting to v3.0 if Host is null, th…
shahabhijeet Oct 28, 2016
ff667c8
removing reference to format file
athipp Oct 28, 2016
f169818
updating help file
athipp Oct 28, 2016
45651c3
Updating Tests and Help
athipp Oct 28, 2016
bbe1d3b
Updating Tests
athipp Oct 28, 2016
9a383de
fixing tests
athipp Oct 28, 2016
12df850
Adding diagnostic message to get userAgent as well as it's Counts pri…
shahabhijeet Oct 28, 2016
81535a2
removing reference to tags and adding ref to analysisservices psd1
athipp Oct 28, 2016
ce715b7
Updating tests
athipp Oct 28, 2016
a443f27
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
Oct 28, 2016
d643911
Address PR feedback.
Oct 28, 2016
3af7b46
Double check help, missed a force remove
Oct 28, 2016
2532e3e
Properly update types for GET
Oct 28, 2016
9831043
Accidentally unchecked in last commit for types
Oct 28, 2016
f30c654
removing unnecessary dependencies
athipp Oct 28, 2016
419a869
regenerating test recorded json files
athipp Oct 28, 2016
95d98f9
Updating Assert condition and adding more diagnostic traces
shahabhijeet Oct 28, 2016
2d9df3e
Updating/adjusting Trait categories
shahabhijeet Oct 28, 2016
8d62464
Merge pull request #3152 from begoldsm/dev
markcowl Oct 28, 2016
5a94020
Merge pull request #3154 from Azure/psVerRel310
cormacpayne Oct 29, 2016
4548fce
Incorporating review comments
athipp Oct 30, 2016
d462714
fixing help file and psd1
athipp Oct 30, 2016
9bc0b22
Review comments
athipp Oct 31, 2016
17eef8f
Merge remote-tracking branch 'Azure/release-3.1.0' into dev
athipp Oct 31, 2016
407c690
Merge pull request #3103 from athipp/dev
markcowl Oct 31, 2016
8035561
Add changes for release 3.1.0
cormacpayne Oct 31, 2016
86a4768
Update change logs and module manifest files for release
cormacpayne Oct 31, 2016
c2ff66a
Revert changes that led to incorrect module versions
cormacpayne Nov 1, 2016
4f7e230
Update change log versions for AzureStackAdmin and AzureStackStorage
cormacpayne Nov 1, 2016
3d1beec
Merge pull request #3159 from cormacpayne/update-logs
markcowl Nov 1, 2016
15bb4e1
Merge pull request #3163 from Azure/release-3.1.0
markcowl Nov 2, 2016
a72839c
Merge pull request #3165 from Azure/master
cormacpayne Nov 2, 2016
a364bc2
Updating paths for build env shortcut and Repo-Tasks module
shahabhijeet Nov 2, 2016
00ee0bb
Update platyPSHelp documentation
cormacpayne Nov 2, 2016
7b01b2f
Add CheckIn trait to AzurePSComletMessageQueue test
cormacpayne Nov 2, 2016
49adbf4
Merge pull request #3106 from Visual-Studio-China/dev
markcowl Nov 3, 2016
6c44dcd
Merge pull request #3166 from cormacpayne/update-platyps-doc
markcowl Nov 3, 2016
75035b3
Merge pull request #3167 from cormacpayne/move-profile-test
markcowl Nov 3, 2016
3a44723
deleting AzStack refernces as it was checked in by mistake. c4f3923b7…
shahabhijeet Nov 5, 2016
78cfa79
Add geo filter to CDN powershell
Nov 4, 2016
9f240f7
name space fix
Nov 8, 2016
0fe8bc0
add copy directory to csproj
Nov 8, 2016
37bab32
fix null reference bug in geo filter
Nov 8, 2016
b0914a8
Fix Set-AzureRmOperationalInsightsSavedSearch ETag
lwang2016 Nov 9, 2016
6ebee16
add new test suites
MSSedusch Nov 9, 2016
5ffb5d7
Correct dev guide wiki link
Nov 9, 2016
b3976bd
add new test records
MSSedusch Nov 9, 2016
dd40a95
Merge pull request #3177 from csmengwan/dev
shahabhijeet Nov 9, 2016
857311f
Merge pull request #3185 from jonsabo/readmeupdate
shahabhijeet Nov 10, 2016
77f543f
Merge pull request #3184 from lwang2016/dev
shahabhijeet Nov 10, 2016
10fc37e
Update AzureDiskEncryptionPreRequisiteSetup.ps1
ejarvi Nov 10, 2016
b4fe711
Merge pull request #3176 from shahabhijeet/removeAzStackRef
markcowl Nov 12, 2016
958c014
Merge pull request #3190 from Azure/ejarvi-kvpatch
markcowl Nov 12, 2016
2c93502
add test recodings to project
MSSedusch Nov 15, 2016
ef16451
Merging: Rel 3.2.0 ==> Master (#3199) (#3200)
shahabhijeet Nov 17, 2016
38ab463
Merge pull request #3102 from MSSedusch/dev
markcowl Nov 18, 2016
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### Cmdlet(s)

### PowerShell Version
Instructions: to get PowerShell version, type `$PSVersionTable` and look for the value associated with `PSVersion`

### Module Version

### OS Version
Instructions: to get OS version, type `$PSversionTable` and look for value associated with `BuildVersion`

### Description

### Debug Output
Instructions: to get Debug Output, set `$DebugPreference="Continue"` and then execute the cmdlet or script causing the issue

### Script/Steps for Reproduction
34 changes: 34 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!-- DO NOT DELETE THIS TEMPLATE -->

## Description
<!--
Please add an informative description that covers the changes made by the pull request.

If applicable, reference the bug/issue that this pull request fixes here.
-->

---

This checklist is used to make sure that common guidelines for a pull request are followed. You can find a more complete discussion of PowerShell cmdlet best practices [here](https://msdn.microsoft.com/en-us/library/dd878270(v=vs.85).aspx).

- [ ] **I have read the [contribution guidelines](https://github.com/Azure/azure-powershell/blob/dev/CONTRIBUTING.md).**
- [ ] **If changes were made to any cmdlet, the XML help was regenerated using the [platyPSHelp module](https://github.com/Azure/azure-powershell/blob/dev/documentation/platyPSHelp-documentation.md).**
- [ ] **If any large changes are made to a service, they are reflected in the respective [change log](https://github.com/Azure/azure-powershell/blob/dev/CONTRIBUTING.md#updating-the-change-log).**

### [General Guidelines](https://github.com/Azure/azure-powershell/blob/dev/CONTRIBUTING.md#general-guidelines)
- [ ] Title of the pull request is clear and informative.
- [ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, [see this page](https://github.com/Azure/azure-powershell/blob/dev/documentation/cleaning-up-commits.md).
- [ ] The pull request does not introduce [breaking changes](https://github.com/Azure/azure-powershell/blob/dev/documentation/breaking-changes.md) (unless a major version change occurs in the assembly and module).

### [Testing Guidelines](https://github.com/Azure/azure-powershell/blob/dev/CONTRIBUTING.md#testing-guidelines)
- [ ] Pull request includes test coverage for the included changes.
- [ ] PowerShell scripts used in tests should do any necessary setup as part of the test or suite setup, and should not use hard-coded values for locations or existing resources.

### [Cmdlet Signature Guidelines](https://github.com/Azure/azure-powershell/blob/dev/CONTRIBUTING.md#cmdlet-signature-guidelines)
- [ ] New cmdlets that make changes or have side effects should implement `ShouldProcess` and have `SupportShouldProcess=true` specified in the cmdlet attribute. You can find more information on `ShouldProcess` [here](https://gist.github.com/markcowl/338e16fe5c8bbf195aff9f8af0db585d#what-is-the-change).
- [ ] Cmdlet specifies `OutputType` attribute if any output is produced - if the cmdlet produces no output, it should implement a `PassThrough` parameter.

### [Cmdlet Parameter Guidelines](https://github.com/Azure/azure-powershell/blob/dev/CONTRIBUTING.md#cmdlet-parameter-guidelines)
- [ ] Parameter types should not expose types from the management library - complex parameter types should be defined in the module.
- [ ] Complex parameter types are discouraged - a parameter type should be simple types as often as possible. If complex types are used, they should be shallow and easily creatable from a constructor or another cmdlet.
- [ ] Cmdlet parameter sets should be mutually exclusive - each parameter set must have at least one mandatory parameter not in other parameter sets.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# The Backup*/ rule will ignore the backup and restore cmdlets
# for Azure web apps. Exclude that directory from being ignored here.
!/src/ResourceManager/Websites/Commands.Websites/Cmdlets/BackupRestore

# SQL Server files
*.mdf
*.ldf
Expand All @@ -192,3 +196,8 @@ UpgradeLog*.htm

# Microsoft Fakes
FakesAssemblies/

.vs/
/tools/*.dll
*.GhostDoc.xml
pingme.txt
333 changes: 247 additions & 86 deletions AzurePowershell.Test.targets

Large diffs are not rendered by default.

183 changes: 180 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,182 @@
# Contribute Code or Provide Feedback
# Contribute Code or Provide Feedback for Azure PowerShell

If you would like to become an active contributor to this project please follow the instructions provided in [Microsoft Azure Projects Contribution Guidelines](http://windowsazure.github.com/guidelines.html).
This repository contains a set of PowerShell cmdlets for developers and administrators to develop, deploy, and manage Microsoft Azure applications.

If you encounter any bugs with Microsoft Azure PowerShell please file an issue in the [Issues](https://github.com/WindowsAzure/azure-sdk-tools/issues) section of the project.
## Basics

If you would like to become an active contributor to this project please follow the instructions provided in [Microsoft Azure Projects Contribution Guidelines](http://azure.github.io/guidelines/).

In the Azure Developer Experience, you are at Step 5:

[API Design Review](https://github.com/Azure/adx-documentation-pr#begin-api-design-review) -> [Engage with ADX team](https://github.com/Azure/adx-documentation-pr/blob/master/README.md#engage-with-adx-team) -> [Swagger specification](https://github.com/Azure/adx-documentation-pr#create-swagger-specification) -> [SDKs](https://github.com/Azure/adx-documentation-pr#sdks) -> _**[CLIs](https://github.com/Azure/adx-documentation-pr#clis)**_

## Table of Contents

[Before Starting](#before-starting)
- [Onboarding](#onboarding)
- [GitHub Basics](#github-basics)
- [GitHub Workflow](#github-workflow)
- [Forking the Azure/azure-powershell repository](#forking-the-azureazure-powershell-repository)
- [Code of Conduct](#code-of-conduct)

[Filing Issues](#filing-issues)

[Making Changes](#making-changes)
- [Pull Requests](#pull-requests)
- [SDK for .NET](#sdk-for-net)
- [Pull Request Guidelines](#pull-request-guidelines)
- [Cleaning up commits](#cleaning-up-commits)
- [Updating the change log](#updating-the-change-log)
- [General guidelines](#general-guidelines)
- [Testing guidelines](#testing-guidelines)
- [Cmdlet signature guidelines](#cmdlet-signature-guidelines)
- [Cmdlet parameter guidelines](#cmdlet-parameter-guidelines)
- [Cmdlet pipeline guidelines](#cmdlet-pipeline-guidelines)

## Before Starting

### Onboarding

Make sure that your GitHub account is part of the Azure organization. [Use this page](http://aka.ms/azuregithub) to link your account.

Before cloning this repository, please make sure you have started in our [documentation repository](https://github.com/Azure/adx-documentation-pr) (you will only have access to that page if you are part of the Azure organization).

### GitHub Basics

#### GitHub Workflow

If you don't have experience with Git and GitHub, some of the terminology and process can be confusing. [Here is a guide to understanding the GitHub flow](https://guides.github.com/introduction/flow/) and [here is a guide to understanding the basic Git commands](https://services.github.com/kit/downloads/github-git-cheat-sheet.pdf).

#### Forking the Azure/azure-powershell repository

Unless you are working with multiple contributors on the same file, we ask that you fork the repository and submit your pull request from there. [Here is a guide to forks in GitHub](https://guides.github.com/activities/forking/).

### Code of Conduct

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.

## Filing Issues

You can find all of the issues that have been filed in the [Issues](https://github.com/Azure/azure-powershell/issues) section of the repository.

If you encounter any bugs with Microsoft Azure PowerShell, please file an issue [here](https://github.com/Azure/azure-powershell/issues/new) and make sure to fill out the provided template with the requested information.

To suggest a new feature or changes that could be made to Azure PowerShell, file an issue the same way you would for a bug, but remove the provided template and replace it with information about your suggestion.

You can find the code complete and release dates of the next three Azure PowerShell releases in the [Milestones](https://github.com/Azure/azure-powershell/milestones) section of the Issue page. Each milestone will display the issues that are being worked on for the corresponding release.

## Making Changes

### Pull Requests

You can find all of the pull requests that have been opened in the [Pull Request](https://github.com/Azure/azure-powershell/pulls) section of the repository.

To open your own pull request, click [here](https://github.com/Azure/azure-powershell/compare). When creating a pull request, keep the following in mind:
- Make sure you are pointing to the fork and branch that your changes were made in
- Choose the correct branch you want your pull request to be merged into
- The **dev** branch is for active development; changes in this branch will be in the next Azure PowerShell release
- The **master** branch contains a snapshot of the source code at the time of the last release
- The **release-X.X.X** branch is for active development during a release
- The pull request template that is provided **should be filled out**; this is not something that should just be deleted or ignored when the pull request is created
- Deleting or ignoring this template will elongate the time it takes for your pull request to be reviewed
- The SLA for reviewing pull requests is **two business days**

### SDK for .NET

Before making any changes to the Azure PowerShell repository, the corresponding NuGet packages must have been published from the [Azure SDK for .NET](https://github.com/Azure/azure-sdk-for-net) repository.

For more information on how to make changes to the SDK for .NET repository and publish the corresponding packages to NuGet, click [here](https://github.com/Azure/azure-sdk-for-net/blob/AutoRest/README.md).

### Pull Request Guidelines

A pull request template will automatically be included as a part of your PR. Please fill out the checklist as specified. Pull requests **will not be reviewed** unless they include a properly completed checklist.

The following is a list of guidelines that pull requests opened in the Azure PowerShell repository must adhere to. You can find a more complete discussion of PowerShell cmdlet best practices [here](https://msdn.microsoft.com/en-us/library/dd878270(v=vs.85).aspx).

#### Cleaning up Commits

If you are thinking about making a large change to your Azure PowerShell cmdlets, **break up the change into small, logical, testable chunks, and organize your pull requests accordingly**.

Often when a pull request is created with a large number of files changed and/or a large number of lines of code added and/or removed, GitHub will have a difficult time opening up the changes on their site. This forces the Azure PowerShell team to uses separate software, such as CodeFlow or Beyond Compare, to do a code review on the pull request.

If you find yourself creating a pull request and are unable to see all the changes on GitHub, we recommend **splitting the pull request into multiple pull requests that are able to be reviewed on GitHub**.

If splitting up the pull request is not an option, we recommend **creating individual commits for different parts of the pull request, which can be reviewed individually on GitHub**.

For more information on cleaning up the commits in a pull request, such as how to rebase, squash, and cherry-pick, click [here](./documentation/cleaning-up-commits.md).

#### Updating the change log

Any public API changes that are made to a service must be reflected in the respecitve change log. This change log will allow customers to easily track what has been changed between releases of a service.

For ResourceManager services, the change log is located at `src\ResourceManager\SERVICE\ChangeLog.md`.

For ServiceManagement services, the change log is located at `src\ServiceManagement\Services\Commands.Utilities\ChangeLog.md`.

For Storage, this change log is located at `src\Storage\ChangeLog.md`.

#### Breaking Changes

Breaking changes should **not** be introduced into the repository without giving customers at least six months notice. For a description of breaking changes in Azure PowerShell, see [here](https://github.com/Azure/azure-powershell/blob/dev/documentation/breaking-changes.md).

Whenever a service team announces a breaking change, they must add it to the `upcoming-breaking-changes.md` file in their respective service folder. When the service team is ready to release the module with the breaking change, they must move the corresponding information from `upcoming-breaking-changes.md` into the `current-breaking-changes.md` file located in their service folder.

#### General guidelines

The following guidelines must be followed in **EVERY** pull request that is opened.

- Title of the pull request is clear and informative
- There are a small number of commits that each have an informative message
- A description of the changes the pull request makes is included, and a reference to the bug/issue the pull request fixes is included, if applicable
- All files have the Microsoft copyright header
- Cmdlets refer to the management libraries through NuGet references - no dlls are checked in
- The pull request does not introduce [breaking changes](https://github.com/markcowl/azure-powershell/blob/doc1/documentation/changes.md#breaking-change-definition) (unless a major version change occurs in the assembly and module)

#### Testing guidelines

The following guidelines must be followed in **EVERY** pull request that is opened.

- Pull request includes test coverage for the included changes
- Tests must use xunit, and should either use Moq to mock management client calls, or use the scenario test framework
- Test code should not contain hard coded values for resource names, resource locations, subscriptions, tenants, or similar values. Test scripts, when run live, should be executable using any subscription and any location in Azure
- PowerShell scripts used in tests must do any necessary setup as part of the test or suite setup, and should not use hard-coded values for existing resources
- Test should not use App.config files for settings
- Tests should use the built-in PowerShell functions for generating random names when unique names are necessary - this will store names in the test recording
- Tests should use `Start-Sleep` to pause rather than `Thread.Sleep`

#### Cmdlet signature guidelines

The following guidelines must be followed in pull requests that add, edit, or remove a cmdlet.

- Cmdlet name uses an approved PowerShell verb - use enums for `VerbsCommon`, `VerbsCommunication`, `VerbLifecycle`, `VerbsOther` whenever possible
- Cmdlet noun name uses the AzureRm prefix for management cmdlets, and the Azure prefix for data plane cmdlets
- Cmdlet specifies the `OutputType` attribute if any output is produced; if the cmdlet produces no output, it should implement a `PassThrough` parameter
- If the cmdlet makes changes or has side effects, it should implement `ShouldProcess` and have `SupportsShouldProcess = true` specified in the cmdlet attribute. See a discussion about correct `ShouldProcess` implementation [here](https://gist.github.com/markcowl/338e16fe5c8bbf195aff9f8af0db585d#what-is-the-change).
- Cmdlets should derive from AzureRmCmdlet for management cmdlets, and AzureDataCmdlet for data cmdlets
- If multiple parameter sets are implemented, the cmdlet should specify a `DefaultParameterSetName` in its cmdlet attribute

#### Cmdlet parameter guidelines

The following guidelines must be followed in pull requests that add, edit, or remove a parameter.

- Cmdlets should have no more than four positional parameters
- Cmdlet parameter sets should be mutually exclusive - each parameter set must have at least one mandatory parameter not in other parameter sets
- Parameter types should not expose types from the management library - complex parameter types should be defined in the module
- Complex parameter types are discouraged - a parameter type should be simple types as often as possible. If complex types are used, they should be shallow and easily creatable from a constructor or another cmdlet
- Parameters should be explicitly marked as `Mandatory` or not, and should contain a `HelpMessage`
- No parameter is of type `object`
- Management cmdlets should have the following parameters and aliases:
- `ResourceGroupName` with (optional) alias to `ResourceGroupName` type `string` marked as `[ValueFromPipelineByPropertyName]`
- `Name` with alias to `ResourceName` type `string` marked as `[ValueFromPipelineByPropertyName]`
- `Location` (if appropriate) type `string`
- `Tag` type `HashTable`

#### Cmdlet pipeline guidelines

The following guidelines must be followed in pull requests that make changes to pipeline parameters.

- Complex parameters should take values from the pipeline when possible, and certainly when they match the output type of another cmdlets
- Only one parameter should use `ValueFromPipeline` per parameter set; parameters from different parameter sets may have this attribute, but should not be convertible
- No parameter is of type `object`
- Each management cmdlet should have a parameter set that takes `ResourceGroupName` and `Name` from the pipeline by property value
- For a given resource type, it should be possible to pipe the output of `Get` and `New` cmdlets to the input of `Set`, `Update`, `Remove` and other action cmdlets for that resource
Loading