Update copyright and license headers (#6134)

Based on standard practices, we need to have a copyright and license notice at the top of each source file. Removed existing copyrights and updated/added copyright notices for .h, .cpp, .cs, .ps1, and .psm1 files.

Updated module manifests for consistency to have Author = "PowerShell" and Company = "Microsoft Corporation". Removed multiple line breaks.

Separate PR coming to update contribution document for new source files: #6140

Manually reviewed each change.

Fix #6073
This commit is contained in:
Steve Lee
2018-02-13 09:23:53 -08:00
committed by Travis Plunk
parent 0ad9fc9d70
commit c1c5344a88
1567 changed files with 3484 additions and 5749 deletions
@@ -1,4 +1,6 @@
Describe "Tests for hashtable to PSCustomObject conversion" -Tags "CI" {
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
Describe "Tests for hashtable to PSCustomObject conversion" -Tags "CI" {
BeforeAll {
class SampleClass5 {
[int]$a
@@ -113,7 +115,6 @@
}
}
It 'Creating an object of an existing type from hashtable should succeed' {
$result = [System.Management.Automation.Host.Coordinates]@{X=10;Y=33}
$result.X | should be 10