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 authored and Travis Plunk committed 2018-02-13 09:23:53 -08:00
1 parent 0ad9fc9d70
commit c1c5344a88
1567 files changed
+3484 -5749

No files matched your search

@@ -1,6 +1,5 @@
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.ObjectModel;
using System.Management.Automation.Provider;
@@ -208,7 +207,6 @@ namespace System.Management.Automation
context != null,
"Caller should validate context before calling this method");
ItemCmdletProvider itemCmdletProvider =
GetItemProviderInstance(providerInstance);
@@ -363,7 +361,6 @@ namespace System.Management.Automation
context != null,
"Caller should validate context before calling this method");
ItemCmdletProvider itemCmdletProvider =
GetItemProviderInstance(providerInstance);
@@ -598,7 +595,6 @@ namespace System.Management.Automation
context != null,
"Caller should validate context before calling this method");
ItemCmdletProvider itemCmdletProvider =
GetItemProviderInstance(providerInstance);
@@ -762,7 +758,6 @@ namespace System.Management.Automation
context != null,
"Caller should validate context before calling this method");
ItemCmdletProvider itemCmdletProvider =
GetItemProviderInstance(providerInstance);
@@ -989,7 +984,6 @@ namespace System.Management.Automation
context != null,
"Caller should validate context before calling this method");
ItemCmdletProvider itemCmdletProvider =
GetItemProviderInstance(providerInstance);
@@ -1144,7 +1138,6 @@ namespace System.Management.Automation
context != null,
"Caller should validate context before calling this method");
ItemCmdletProvider itemCmdletProvider =
GetItemProviderInstance(providerInstance);
@@ -1358,7 +1351,6 @@ namespace System.Management.Automation
context != null,
"Caller should validate context before calling this method");
ItemCmdletProvider itemCmdletProvider =
GetItemProviderInstance(providerInstance);
@@ -1513,7 +1505,6 @@ namespace System.Management.Automation
context != null,
"Caller should validate context before calling this method");
ItemCmdletProvider itemCmdletProvider =
GetItemProviderInstance(providerInstance);