diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 498fe0f..53b24c7 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -151,14 +151,14 @@ Additional references:
(See [Contributing to documentation related to PowerShell](#contributing-to-documentation-related-to-powershell) for more info.)
* If your change adds a new source file, ensure the appropriate copyright and license headers is on top.
It is standard practice to have both a copyright and license notice for each source file.
- * For `.h`, `.cpp`, and `.cs` files use:
+ * For `.h`, `.cpp`, `.cs`, and `.rc` files use:
- // Copyright (c) Microsoft Corporation. All rights reserved.
+ // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
* For `.ps1` and `.psm1` files use:
- # Copyright (c) Microsoft Corporation. All rights reserved.
+ # Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
* If your change adds a new module manifest (.psd1 file), ensure that:
@@ -166,7 +166,7 @@ Additional references:
```powershell
Author = "PowerShell"
Company = "Microsoft Corporation"
- Copyright = "Copyright (c) Microsoft Corporation. All rights reserved."
+ Copyright = "Copyright (c) Microsoft Corporation."
```
### Pull Request - Work in Progress
diff --git a/build.psm1 b/build.psm1
index 5319c0d..6e1f5dd 100644
--- a/build.psm1
+++ b/build.psm1
@@ -1,4 +1,4 @@
-# Copyright (c) Microsoft Corporation. All rights reserved.
+# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# On Unix paths is separated by colon
@@ -586,7 +586,7 @@ function Start-BuildPowerShellNativePackage
MIT
PowerShell
en-US
- © Microsoft Corporation. All rights reserved.
+ © Microsoft Corporation.
@@ -981,7 +981,7 @@ Fix steps:
Start-NativeExecution { & "~/.rcedit/rcedit-x64.exe" $pwshPath --set-icon "$PSScriptRoot\assets\Powershell_black.ico" `
--set-file-version $fileVersion --set-product-version $ReleaseVersion --set-version-string "ProductName" "PowerShell Core 6" `
- --set-version-string "LegalCopyright" "(C) Microsoft Corporation. All Rights Reserved." `
+ --set-version-string "LegalCopyright" "(c) Microsoft Corporation." `
--application-manifest "$PSScriptRoot\assets\pwsh.manifest" } | Write-Verbose
}
diff --git a/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.nuspec b/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.nuspec
index 3d27acf..13aa0a7 100644
--- a/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.nuspec
+++ b/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.nuspec
@@ -7,6 +7,6 @@
Microsoft
false
PowerShell Core ETW resource binary
- (c) Microsoft Corporation. All rights reserved.
+ (c) Microsoft Corporation.
diff --git a/src/PowerShell.Core.Instrumentation/RegisterManifest.ps1 b/src/PowerShell.Core.Instrumentation/RegisterManifest.ps1
index 44a39ed..8acd2cb 100644
--- a/src/PowerShell.Core.Instrumentation/RegisterManifest.ps1
+++ b/src/PowerShell.Core.Instrumentation/RegisterManifest.ps1
@@ -1,4 +1,4 @@
-# Copyright (c) Microsoft Corporation. All rights reserved.
+# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
<#
diff --git a/src/PowerShell.Core.Instrumentation/version.rc b/src/PowerShell.Core.Instrumentation/version.rc
index 7b797f3..6c3c425 100644
--- a/src/PowerShell.Core.Instrumentation/version.rc
+++ b/src/PowerShell.Core.Instrumentation/version.rc
@@ -1,6 +1,6 @@
-//
-// Copyright (C) Microsoft. All rights reserved.
-//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
#include
#include
diff --git a/src/libpsl-native/src/createhardlink.cpp b/src/libpsl-native/src/createhardlink.cpp
index 2d1f990..fa5700d 100644
--- a/src/libpsl-native/src/createhardlink.cpp
+++ b/src/libpsl-native/src/createhardlink.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief create new hard link
diff --git a/src/libpsl-native/src/createhardlink.h b/src/libpsl-native/src/createhardlink.h
index c286934..4bda198 100644
--- a/src/libpsl-native/src/createhardlink.h
+++ b/src/libpsl-native/src/createhardlink.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/createprocess.cpp b/src/libpsl-native/src/createprocess.cpp
index 299cfd2..e6b1608 100644
--- a/src/libpsl-native/src/createprocess.cpp
+++ b/src/libpsl-native/src/createprocess.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "createprocess.h"
diff --git a/src/libpsl-native/src/createprocess.h b/src/libpsl-native/src/createprocess.h
index af6afe4..e4dcf59 100644
--- a/src/libpsl-native/src/createprocess.h
+++ b/src/libpsl-native/src/createprocess.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/createsymlink.cpp b/src/libpsl-native/src/createsymlink.cpp
index a652417..59da860 100644
--- a/src/libpsl-native/src/createsymlink.cpp
+++ b/src/libpsl-native/src/createsymlink.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief create new symbolic link
diff --git a/src/libpsl-native/src/createsymlink.h b/src/libpsl-native/src/createsymlink.h
index 6f9252c..38b4fab 100644
--- a/src/libpsl-native/src/createsymlink.h
+++ b/src/libpsl-native/src/createsymlink.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/followsymlink.cpp b/src/libpsl-native/src/followsymlink.cpp
index 215130b..3bcedf5 100644
--- a/src/libpsl-native/src/followsymlink.cpp
+++ b/src/libpsl-native/src/followsymlink.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief returns whether a path is a symbolic link
diff --git a/src/libpsl-native/src/followsymlink.h b/src/libpsl-native/src/followsymlink.h
index 27f0344..279436e 100644
--- a/src/libpsl-native/src/followsymlink.h
+++ b/src/libpsl-native/src/followsymlink.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/getcommonlstat.cpp b/src/libpsl-native/src/getcommonlstat.cpp
index 3aa878d..ed425f5 100644
--- a/src/libpsl-native/src/getcommonlstat.cpp
+++ b/src/libpsl-native/src/getcommonlstat.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief returns the stat of a file
diff --git a/src/libpsl-native/src/getcommonlstat.h b/src/libpsl-native/src/getcommonlstat.h
index dc2aaba..41a2808 100644
--- a/src/libpsl-native/src/getcommonlstat.h
+++ b/src/libpsl-native/src/getcommonlstat.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/getcommonstat.cpp b/src/libpsl-native/src/getcommonstat.cpp
index 53b50c2..b19c1bc 100644
--- a/src/libpsl-native/src/getcommonstat.cpp
+++ b/src/libpsl-native/src/getcommonstat.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief returns the stat of a file
diff --git a/src/libpsl-native/src/getcommonstat.h b/src/libpsl-native/src/getcommonstat.h
index bb17b22..b24ad31 100644
--- a/src/libpsl-native/src/getcommonstat.h
+++ b/src/libpsl-native/src/getcommonstat.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/getcomputername.cpp b/src/libpsl-native/src/getcomputername.cpp
index 89c54aa..55be7d3 100644
--- a/src/libpsl-native/src/getcomputername.cpp
+++ b/src/libpsl-native/src/getcomputername.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Implements GetComputerName Win32 API
diff --git a/src/libpsl-native/src/getcomputername.h b/src/libpsl-native/src/getcomputername.h
index 17d4560..d0056ec 100644
--- a/src/libpsl-native/src/getcomputername.h
+++ b/src/libpsl-native/src/getcomputername.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/getcurrentprocessorid.cpp b/src/libpsl-native/src/getcurrentprocessorid.cpp
index 0bc168e..5d07b1c 100644
--- a/src/libpsl-native/src/getcurrentprocessorid.cpp
+++ b/src/libpsl-native/src/getcurrentprocessorid.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "getcurrentprocessorid.h"
diff --git a/src/libpsl-native/src/getcurrentprocessorid.h b/src/libpsl-native/src/getcurrentprocessorid.h
index b0092d1..fa338f5 100644
--- a/src/libpsl-native/src/getcurrentprocessorid.h
+++ b/src/libpsl-native/src/getcurrentprocessorid.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/getcurrentthreadid.cpp b/src/libpsl-native/src/getcurrentthreadid.cpp
index c186394..499589e 100644
--- a/src/libpsl-native/src/getcurrentthreadid.cpp
+++ b/src/libpsl-native/src/getcurrentthreadid.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "getcurrentthreadid.h"
diff --git a/src/libpsl-native/src/getcurrentthreadid.h b/src/libpsl-native/src/getcurrentthreadid.h
index 3ac3064..129b7d0 100644
--- a/src/libpsl-native/src/getcurrentthreadid.h
+++ b/src/libpsl-native/src/getcurrentthreadid.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/geterrorcategory.cpp b/src/libpsl-native/src/geterrorcategory.cpp
index f436899..c44fd17 100644
--- a/src/libpsl-native/src/geterrorcategory.cpp
+++ b/src/libpsl-native/src/geterrorcategory.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "geterrorcategory.h"
diff --git a/src/libpsl-native/src/geterrorcategory.h b/src/libpsl-native/src/geterrorcategory.h
index 4310bdc..05b4a60 100644
--- a/src/libpsl-native/src/geterrorcategory.h
+++ b/src/libpsl-native/src/geterrorcategory.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/getfileowner.cpp b/src/libpsl-native/src/getfileowner.cpp
index 1443f30..828816f 100644
--- a/src/libpsl-native/src/getfileowner.cpp
+++ b/src/libpsl-native/src/getfileowner.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief returns the owner of a file
diff --git a/src/libpsl-native/src/getfileowner.h b/src/libpsl-native/src/getfileowner.h
index 1d45788..ba4af14 100644
--- a/src/libpsl-native/src/getfileowner.h
+++ b/src/libpsl-native/src/getfileowner.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/getgrgid.cpp b/src/libpsl-native/src/getgrgid.cpp
index 27329ae..b60cc52 100644
--- a/src/libpsl-native/src/getgrgid.cpp
+++ b/src/libpsl-native/src/getgrgid.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief returns the groupname for a gid
diff --git a/src/libpsl-native/src/getgrgid.h b/src/libpsl-native/src/getgrgid.h
index a2aaa30..cce5817 100644
--- a/src/libpsl-native/src/getgrgid.h
+++ b/src/libpsl-native/src/getgrgid.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/getinodedata.cpp b/src/libpsl-native/src/getinodedata.cpp
index 3534eac..72f56b3 100644
--- a/src/libpsl-native/src/getinodedata.cpp
+++ b/src/libpsl-native/src/getinodedata.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Retrieve the device ID and inode number of a file
diff --git a/src/libpsl-native/src/getinodedata.h b/src/libpsl-native/src/getinodedata.h
index ed21b61..fda4838 100644
--- a/src/libpsl-native/src/getinodedata.h
+++ b/src/libpsl-native/src/getinodedata.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/getlinkcount.cpp b/src/libpsl-native/src/getlinkcount.cpp
index 6c4283b..f039a4c 100644
--- a/src/libpsl-native/src/getlinkcount.cpp
+++ b/src/libpsl-native/src/getlinkcount.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Retrieve link count of a file
diff --git a/src/libpsl-native/src/getlinkcount.h b/src/libpsl-native/src/getlinkcount.h
index 1b3dfd9..5a8d178 100644
--- a/src/libpsl-native/src/getlinkcount.h
+++ b/src/libpsl-native/src/getlinkcount.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/getlstat.cpp b/src/libpsl-native/src/getlstat.cpp
index 0517851..a7c8141 100644
--- a/src/libpsl-native/src/getlstat.cpp
+++ b/src/libpsl-native/src/getlstat.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief returns the stat of a file
diff --git a/src/libpsl-native/src/getlstat.h b/src/libpsl-native/src/getlstat.h
index 7ebe280..41ae1ae 100644
--- a/src/libpsl-native/src/getlstat.h
+++ b/src/libpsl-native/src/getlstat.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/getppid.cpp b/src/libpsl-native/src/getppid.cpp
index 1173aca..a20bc90 100644
--- a/src/libpsl-native/src/getppid.cpp
+++ b/src/libpsl-native/src/getppid.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "pal_config.h"
diff --git a/src/libpsl-native/src/getppid.h b/src/libpsl-native/src/getppid.h
index 7b7244f..7144032 100644
--- a/src/libpsl-native/src/getppid.h
+++ b/src/libpsl-native/src/getppid.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/getpwuid.cpp b/src/libpsl-native/src/getpwuid.cpp
index a3b4a21..f9c6e8e 100644
--- a/src/libpsl-native/src/getpwuid.cpp
+++ b/src/libpsl-native/src/getpwuid.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief returns the username for a uid
diff --git a/src/libpsl-native/src/getpwuid.h b/src/libpsl-native/src/getpwuid.h
index 939345e..4e09631 100644
--- a/src/libpsl-native/src/getpwuid.h
+++ b/src/libpsl-native/src/getpwuid.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/getstat.cpp b/src/libpsl-native/src/getstat.cpp
index 8120e22..4fcbc84 100644
--- a/src/libpsl-native/src/getstat.cpp
+++ b/src/libpsl-native/src/getstat.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief returns the stat of a file
diff --git a/src/libpsl-native/src/getstat.h b/src/libpsl-native/src/getstat.h
index 12270e0..8fa438b 100644
--- a/src/libpsl-native/src/getstat.h
+++ b/src/libpsl-native/src/getstat.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/getuserfrompid.cpp b/src/libpsl-native/src/getuserfrompid.cpp
index e131ac9..63478a2 100644
--- a/src/libpsl-native/src/getuserfrompid.cpp
+++ b/src/libpsl-native/src/getuserfrompid.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "pal.h"
diff --git a/src/libpsl-native/src/getuserfrompid.h b/src/libpsl-native/src/getuserfrompid.h
index 1c58dcb..ef8b437 100644
--- a/src/libpsl-native/src/getuserfrompid.h
+++ b/src/libpsl-native/src/getuserfrompid.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/isdirectory.cpp b/src/libpsl-native/src/isdirectory.cpp
index 5afd2b6..d6de9f7 100644
--- a/src/libpsl-native/src/isdirectory.cpp
+++ b/src/libpsl-native/src/isdirectory.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief returns if the path is a directory
diff --git a/src/libpsl-native/src/isdirectory.h b/src/libpsl-native/src/isdirectory.h
index a89e902..94b6caf 100644
--- a/src/libpsl-native/src/isdirectory.h
+++ b/src/libpsl-native/src/isdirectory.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/isexecutable.cpp b/src/libpsl-native/src/isexecutable.cpp
index c412379..81c1760 100644
--- a/src/libpsl-native/src/isexecutable.cpp
+++ b/src/libpsl-native/src/isexecutable.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief returns whether a file is executable
diff --git a/src/libpsl-native/src/isexecutable.h b/src/libpsl-native/src/isexecutable.h
index c04a478..f96f2f3 100644
--- a/src/libpsl-native/src/isexecutable.h
+++ b/src/libpsl-native/src/isexecutable.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/isfile.cpp b/src/libpsl-native/src/isfile.cpp
index b66b9be..98dfdcc 100644
--- a/src/libpsl-native/src/isfile.cpp
+++ b/src/libpsl-native/src/isfile.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief returns if the path exists
diff --git a/src/libpsl-native/src/isfile.h b/src/libpsl-native/src/isfile.h
index a7f5adf..989f897 100644
--- a/src/libpsl-native/src/isfile.h
+++ b/src/libpsl-native/src/isfile.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/issamefilesystemitem.cpp b/src/libpsl-native/src/issamefilesystemitem.cpp
index ce81435..78b9300 100644
--- a/src/libpsl-native/src/issamefilesystemitem.cpp
+++ b/src/libpsl-native/src/issamefilesystemitem.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Determines whether two paths ultimately point to the same filesystem object
diff --git a/src/libpsl-native/src/issamefilesystemitem.h b/src/libpsl-native/src/issamefilesystemitem.h
index c2c8971..1e60d96 100644
--- a/src/libpsl-native/src/issamefilesystemitem.h
+++ b/src/libpsl-native/src/issamefilesystemitem.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/issymlink.cpp b/src/libpsl-native/src/issymlink.cpp
index 7fd5187..3995044 100644
--- a/src/libpsl-native/src/issymlink.cpp
+++ b/src/libpsl-native/src/issymlink.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief returns whether a path is a symbolic link
diff --git a/src/libpsl-native/src/issymlink.h b/src/libpsl-native/src/issymlink.h
index d0a1830..7130cdd 100644
--- a/src/libpsl-native/src/issymlink.h
+++ b/src/libpsl-native/src/issymlink.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/nativesyslog.cpp b/src/libpsl-native/src/nativesyslog.cpp
index 130481d..d466e6d 100644
--- a/src/libpsl-native/src/nativesyslog.cpp
+++ b/src/libpsl-native/src/nativesyslog.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @file nativesyslog.cpp
diff --git a/src/libpsl-native/src/nativesyslog.h b/src/libpsl-native/src/nativesyslog.h
index d261300..c3221ea 100644
--- a/src/libpsl-native/src/nativesyslog.h
+++ b/src/libpsl-native/src/nativesyslog.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/pal.h b/src/libpsl-native/src/pal.h
index 2323be8..9f5a8fb 100644
--- a/src/libpsl-native/src/pal.h
+++ b/src/libpsl-native/src/pal.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/src/setdate.cpp b/src/libpsl-native/src/setdate.cpp
index 2fd9a50..d4d7316 100644
--- a/src/libpsl-native/src/setdate.cpp
+++ b/src/libpsl-native/src/setdate.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief set local/system date and time
diff --git a/src/libpsl-native/src/setdate.h b/src/libpsl-native/src/setdate.h
index 4d69f1e..dcff455 100644
--- a/src/libpsl-native/src/setdate.h
+++ b/src/libpsl-native/src/setdate.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/libpsl-native/test/main.cpp b/src/libpsl-native/test/main.cpp
index 45569a6..54a734d 100644
--- a/src/libpsl-native/test/main.cpp
+++ b/src/libpsl-native/test/main.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include
diff --git a/src/libpsl-native/test/test-createhardlink.cpp b/src/libpsl-native/test/test-createhardlink.cpp
index 37e488e..00ea0e0 100644
--- a/src/libpsl-native/test/test-createhardlink.cpp
+++ b/src/libpsl-native/test/test-createhardlink.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Implements test for CreateHardLink()
diff --git a/src/libpsl-native/test/test-createsymlink.cpp b/src/libpsl-native/test/test-createsymlink.cpp
index 3b570c8..02c1280 100644
--- a/src/libpsl-native/test/test-createsymlink.cpp
+++ b/src/libpsl-native/test/test-createsymlink.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Implements test for CreateSymLink() and FollowSymLink()
diff --git a/src/libpsl-native/test/test-getcommonlstat.cpp b/src/libpsl-native/test/test-getcommonlstat.cpp
index fca9890..ad73e9a 100644
--- a/src/libpsl-native/test/test-getcommonlstat.cpp
+++ b/src/libpsl-native/test/test-getcommonlstat.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Tests IsDirectory
diff --git a/src/libpsl-native/test/test-getcommonstat.cpp b/src/libpsl-native/test/test-getcommonstat.cpp
index bf04a04..7407fc3 100644
--- a/src/libpsl-native/test/test-getcommonstat.cpp
+++ b/src/libpsl-native/test/test-getcommonstat.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Tests IsDirectory
diff --git a/src/libpsl-native/test/test-getcomputername.cpp b/src/libpsl-native/test/test-getcomputername.cpp
index 235220c..5f6e44a 100644
--- a/src/libpsl-native/test/test-getcomputername.cpp
+++ b/src/libpsl-native/test/test-getcomputername.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Unit tests for GetComputerName
diff --git a/src/libpsl-native/test/test-getcurrentprocessid.cpp b/src/libpsl-native/test/test-getcurrentprocessid.cpp
index 22ea7be..b475c31 100644
--- a/src/libpsl-native/test/test-getcurrentprocessid.cpp
+++ b/src/libpsl-native/test/test-getcurrentprocessid.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include
diff --git a/src/libpsl-native/test/test-getcurrentthreadid.cpp b/src/libpsl-native/test/test-getcurrentthreadid.cpp
index a044def..c27e176 100644
--- a/src/libpsl-native/test/test-getcurrentthreadid.cpp
+++ b/src/libpsl-native/test/test-getcurrentthreadid.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include
diff --git a/src/libpsl-native/test/test-getfileowner.cpp b/src/libpsl-native/test/test-getfileowner.cpp
index ab1cf82..bce8c70 100644
--- a/src/libpsl-native/test/test-getfileowner.cpp
+++ b/src/libpsl-native/test/test-getfileowner.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Tests GetFileOwner
diff --git a/src/libpsl-native/test/test-getgrgid.cpp b/src/libpsl-native/test/test-getgrgid.cpp
index 017dd1c..37f1ab6 100644
--- a/src/libpsl-native/test/test-getgrgid.cpp
+++ b/src/libpsl-native/test/test-getgrgid.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Unit tests for GetUserFromPid
diff --git a/src/libpsl-native/test/test-getlinkcount.cpp b/src/libpsl-native/test/test-getlinkcount.cpp
index d9c388f..7ea60ba 100644
--- a/src/libpsl-native/test/test-getlinkcount.cpp
+++ b/src/libpsl-native/test/test-getlinkcount.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Implements test for getLinkCount()
diff --git a/src/libpsl-native/test/test-getpwuid.cpp b/src/libpsl-native/test/test-getpwuid.cpp
index 563eff8..3db9008 100644
--- a/src/libpsl-native/test/test-getpwuid.cpp
+++ b/src/libpsl-native/test/test-getpwuid.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Unit tests for GetUserFromPid
diff --git a/src/libpsl-native/test/test-getuserfrompid.cpp b/src/libpsl-native/test/test-getuserfrompid.cpp
index 2b908cd..2b9f863 100644
--- a/src/libpsl-native/test/test-getuserfrompid.cpp
+++ b/src/libpsl-native/test/test-getuserfrompid.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Unit tests for GetUserFromPid
diff --git a/src/libpsl-native/test/test-isdirectory.cpp b/src/libpsl-native/test/test-isdirectory.cpp
index a9f4a29..34d0fc8 100644
--- a/src/libpsl-native/test/test-isdirectory.cpp
+++ b/src/libpsl-native/test/test-isdirectory.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Tests IsDirectory
diff --git a/src/libpsl-native/test/test-isexecutable.cpp b/src/libpsl-native/test/test-isexecutable.cpp
index e86e725..e92c829 100644
--- a/src/libpsl-native/test/test-isexecutable.cpp
+++ b/src/libpsl-native/test/test-isexecutable.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Implements test for isexecutable()
diff --git a/src/libpsl-native/test/test-isfile.cpp b/src/libpsl-native/test/test-isfile.cpp
index 2b5ee7a..f7f1953 100644
--- a/src/libpsl-native/test/test-isfile.cpp
+++ b/src/libpsl-native/test/test-isfile.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Tests Isfile
diff --git a/src/libpsl-native/test/test-issymlink.cpp b/src/libpsl-native/test/test-issymlink.cpp
index 0bddaea..a49476f 100644
--- a/src/libpsl-native/test/test-issymlink.cpp
+++ b/src/libpsl-native/test/test-issymlink.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Implements test for isSymLink()
diff --git a/src/libpsl-native/test/test-locale.cpp b/src/libpsl-native/test/test-locale.cpp
index 1abc92f..f2d15ed 100644
--- a/src/libpsl-native/test/test-locale.cpp
+++ b/src/libpsl-native/test/test-locale.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! @brief Unit tests for linux locale
diff --git a/src/powershell-native/Install-PowerShellRemoting.ps1 b/src/powershell-native/Install-PowerShellRemoting.ps1
index 6c3d012..0b5b704 100644
--- a/src/powershell-native/Install-PowerShellRemoting.ps1
+++ b/src/powershell-native/Install-PowerShellRemoting.ps1
@@ -1,4 +1,4 @@
-# Copyright (c) Microsoft Corporation. All rights reserved.
+# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
#####################################################################################################
diff --git a/src/powershell-native/nativemsh/pwrshcommon/ClrHostWrapper.h b/src/powershell-native/nativemsh/pwrshcommon/ClrHostWrapper.h
index e543db4..cc76533 100644
--- a/src/powershell-native/nativemsh/pwrshcommon/ClrHostWrapper.h
+++ b/src/powershell-native/nativemsh/pwrshcommon/ClrHostWrapper.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ----------------------------------------------------------------------
diff --git a/src/powershell-native/nativemsh/pwrshcommon/ConfigFileReader.cpp b/src/powershell-native/nativemsh/pwrshcommon/ConfigFileReader.cpp
index f212917..5af2b6b 100644
--- a/src/powershell-native/nativemsh/pwrshcommon/ConfigFileReader.cpp
+++ b/src/powershell-native/nativemsh/pwrshcommon/ConfigFileReader.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include
diff --git a/src/powershell-native/nativemsh/pwrshcommon/ConfigFileReader.h b/src/powershell-native/nativemsh/pwrshcommon/ConfigFileReader.h
index e406b88..e1e34e4 100644
--- a/src/powershell-native/nativemsh/pwrshcommon/ConfigFileReader.h
+++ b/src/powershell-native/nativemsh/pwrshcommon/ConfigFileReader.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ---------------------------------------------------------------------------
diff --git a/src/powershell-native/nativemsh/pwrshcommon/IPwrshCommonOutput.h b/src/powershell-native/nativemsh/pwrshcommon/IPwrshCommonOutput.h
index 2f66ed1..3d57416 100644
--- a/src/powershell-native/nativemsh/pwrshcommon/IPwrshCommonOutput.h
+++ b/src/powershell-native/nativemsh/pwrshcommon/IPwrshCommonOutput.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/powershell-native/nativemsh/pwrshcommon/NativeMsh.h b/src/powershell-native/nativemsh/pwrshcommon/NativeMsh.h
index ff2e82b..a1fd38f 100644
--- a/src/powershell-native/nativemsh/pwrshcommon/NativeMsh.h
+++ b/src/powershell-native/nativemsh/pwrshcommon/NativeMsh.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ----------------------------------------------------------------------
diff --git a/src/powershell-native/nativemsh/pwrshcommon/NativeMshConstants.h b/src/powershell-native/nativemsh/pwrshcommon/NativeMshConstants.h
index d8bb368..cdc46bd 100644
--- a/src/powershell-native/nativemsh/pwrshcommon/NativeMshConstants.h
+++ b/src/powershell-native/nativemsh/pwrshcommon/NativeMshConstants.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
diff --git a/src/powershell-native/nativemsh/pwrshcommon/SystemCallFacade.h b/src/powershell-native/nativemsh/pwrshcommon/SystemCallFacade.h
index 63b4b58..6bf3784 100644
--- a/src/powershell-native/nativemsh/pwrshcommon/SystemCallFacade.h
+++ b/src/powershell-native/nativemsh/pwrshcommon/SystemCallFacade.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ----------------------------------------------------------------------
diff --git a/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.cpp b/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.cpp
index 3692773..5d828c6 100644
--- a/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.cpp
+++ b/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ----------------------------------------------------------------------
diff --git a/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.h b/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.h
index 0d60b88..534fba8 100644
--- a/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.h
+++ b/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ----------------------------------------------------------------------
diff --git a/src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp b/src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp
index 5469a69..e2d3345 100644
--- a/src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp
+++ b/src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//
diff --git a/src/powershell-native/nativemsh/pwrshexe/CssMainEntry.cpp b/src/powershell-native/nativemsh/pwrshexe/CssMainEntry.cpp
index 6cba4b4..ead6770 100644
--- a/src/powershell-native/nativemsh/pwrshexe/CssMainEntry.cpp
+++ b/src/powershell-native/nativemsh/pwrshexe/CssMainEntry.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ----------------------------------------------------------------------
diff --git a/src/powershell-native/nativemsh/pwrshexe/MainEntry.cpp b/src/powershell-native/nativemsh/pwrshexe/MainEntry.cpp
index a5d9350..82413ea 100644
--- a/src/powershell-native/nativemsh/pwrshexe/MainEntry.cpp
+++ b/src/powershell-native/nativemsh/pwrshexe/MainEntry.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ----------------------------------------------------------------------
diff --git a/src/powershell-native/nativemsh/pwrshexe/MshResources.rc b/src/powershell-native/nativemsh/pwrshexe/MshResources.rc
index ec1afc4..f8bd49c 100644
--- a/src/powershell-native/nativemsh/pwrshexe/MshResources.rc
+++ b/src/powershell-native/nativemsh/pwrshexe/MshResources.rc
@@ -1,7 +1,7 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
// resource script for msh.exe
-//
#include
diff --git a/src/powershell-native/nativemsh/pwrshexe/NativeMsh.mc b/src/powershell-native/nativemsh/pwrshexe/NativeMsh.mc
index 63f9ba4..89214fa 100644
--- a/src/powershell-native/nativemsh/pwrshexe/NativeMsh.mc
+++ b/src/powershell-native/nativemsh/pwrshexe/NativeMsh.mc
@@ -1,4 +1,4 @@
-;// Copyright (c) Microsoft Corporation. All rights reserved.
+;// Copyright (c) Microsoft Corporation.
MessageId=1
SymbolicName=MISSING_COMMAND_LINE_ARGUMENT
@@ -225,7 +225,7 @@ Windows PowerShell
MessageId=38
SymbolicName=SHELLBANNER2
Language=English
-Copyright (c) Microsoft Corporation. All rights reserved.
+Copyright (c) Microsoft Corporation.
.
MessageId=39
diff --git a/src/powershell-native/nativemsh/pwrshexe/OutputWriter.h b/src/powershell-native/nativemsh/pwrshexe/OutputWriter.h
index 7f6de26..e018f6b 100644
--- a/src/powershell-native/nativemsh/pwrshexe/OutputWriter.h
+++ b/src/powershell-native/nativemsh/pwrshexe/OutputWriter.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
@@ -82,7 +82,7 @@ void WriteStandard(
}
/********************************************************************++
-Copyright (c) Microsoft Corporation. All rights reserved.
+Copyright (c) Microsoft Corporation.
--********************************************************************/
class PwrshExeOutput : public NativeMsh::IPwrshCommonOutput
diff --git a/src/powershell-native/nativemsh/pwrshexe/version.rc b/src/powershell-native/nativemsh/pwrshexe/version.rc
index 796fc8c..ba456df 100644
--- a/src/powershell-native/nativemsh/pwrshexe/version.rc
+++ b/src/powershell-native/nativemsh/pwrshexe/version.rc
@@ -1,6 +1,6 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
#include
#include
diff --git a/src/powershell-native/nativemsh/pwrshplugin/entrypoints.cpp b/src/powershell-native/nativemsh/pwrshplugin/entrypoints.cpp
index a55de16..b079ae6 100644
--- a/src/powershell-native/nativemsh/pwrshplugin/entrypoints.cpp
+++ b/src/powershell-native/nativemsh/pwrshplugin/entrypoints.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ----------------------------------------------------------------------
diff --git a/src/powershell-native/nativemsh/pwrshplugin/entrypoints.h b/src/powershell-native/nativemsh/pwrshplugin/entrypoints.h
index 8bb3430..58724c2 100644
--- a/src/powershell-native/nativemsh/pwrshplugin/entrypoints.h
+++ b/src/powershell-native/nativemsh/pwrshplugin/entrypoints.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//
diff --git a/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.cpp b/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.cpp
index 8289ae8..c126373 100644
--- a/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.cpp
+++ b/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ----------------------------------------------------------------------
diff --git a/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.h b/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.h
index 6594c8a..42940e4 100644
--- a/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.h
+++ b/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ----------------------------------------------------------------------
diff --git a/src/powershell-native/nativemsh/pwrshplugin/pwrshheaders.h b/src/powershell-native/nativemsh/pwrshplugin/pwrshheaders.h
index 7029157..c2322f8 100644
--- a/src/powershell-native/nativemsh/pwrshplugin/pwrshheaders.h
+++ b/src/powershell-native/nativemsh/pwrshplugin/pwrshheaders.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ----------------------------------------------------------------------
diff --git a/src/powershell-native/nativemsh/pwrshplugin/pwrshplugin.h b/src/powershell-native/nativemsh/pwrshplugin/pwrshplugin.h
index f2c0993..fdbaef3 100644
--- a/src/powershell-native/nativemsh/pwrshplugin/pwrshplugin.h
+++ b/src/powershell-native/nativemsh/pwrshplugin/pwrshplugin.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ----------------------------------------------------------------------
diff --git a/src/powershell-native/nativemsh/pwrshplugin/pwrshpluginResources.rc b/src/powershell-native/nativemsh/pwrshplugin/pwrshpluginResources.rc
index cbf92df..e7f627e 100644
--- a/src/powershell-native/nativemsh/pwrshplugin/pwrshpluginResources.rc
+++ b/src/powershell-native/nativemsh/pwrshplugin/pwrshpluginResources.rc
@@ -1,7 +1,7 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
// resource script for msh.exe
-//
#include
@@ -10,4 +10,4 @@
MANIFEST_RESOURCE_ID RT_MANIFEST "pwrshplugin.dll.manifest"
#include "pwrshpluginerrorcodes.rc"
-#include "version.rc"
\ No newline at end of file
+#include "version.rc"
diff --git a/src/powershell-native/nativemsh/pwrshplugin/pwrshplugindefs.h b/src/powershell-native/nativemsh/pwrshplugin/pwrshplugindefs.h
index 6306ddd..0b64f51 100644
--- a/src/powershell-native/nativemsh/pwrshplugin/pwrshplugindefs.h
+++ b/src/powershell-native/nativemsh/pwrshplugin/pwrshplugindefs.h
@@ -1,4 +1,4 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ----------------------------------------------------------------------
diff --git a/src/powershell-native/nativemsh/pwrshplugin/pwrshpluginerrorcodes.mc b/src/powershell-native/nativemsh/pwrshplugin/pwrshpluginerrorcodes.mc
index 45e389e..fcc9779 100644
--- a/src/powershell-native/nativemsh/pwrshplugin/pwrshpluginerrorcodes.mc
+++ b/src/powershell-native/nativemsh/pwrshplugin/pwrshpluginerrorcodes.mc
@@ -1,4 +1,4 @@
-;// Copyright (c) Microsoft Corporation. All rights reserved.
+;// Copyright (c) Microsoft Corporation.
;#undef FACILITY_POWERSHELL
FacilityNames=(PowerShell=84:FACILITY_POWERSHELL)
diff --git a/src/powershell-native/nativemsh/pwrshplugin/version.rc b/src/powershell-native/nativemsh/pwrshplugin/version.rc
index 016c85d..18a11b3 100644
--- a/src/powershell-native/nativemsh/pwrshplugin/version.rc
+++ b/src/powershell-native/nativemsh/pwrshplugin/version.rc
@@ -1,6 +1,6 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-//
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT License.
+
#include
#include
diff --git a/tools/install-powershell.ps1 b/tools/install-powershell.ps1
index ecb274a..0b249da 100644
--- a/tools/install-powershell.ps1
+++ b/tools/install-powershell.ps1
@@ -1,5 +1,6 @@
-# Copyright (c) Microsoft Corporation. All rights reserved.
+# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
+
<#
.Synopsis
Install PowerShell Core on Windows, Linux or macOS.
diff --git a/tools/releaseBuild/PowershellNative.ps1 b/tools/releaseBuild/PowershellNative.ps1
index 72d3e78..1bb9beb 100644
--- a/tools/releaseBuild/PowershellNative.ps1
+++ b/tools/releaseBuild/PowershellNative.ps1
@@ -1,4 +1,4 @@
-# Copyright (c) Microsoft Corporation. All rights reserved.
+# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
[CmdletBinding()]
diff --git a/tools/releaseBuild/generatePackgeSigning.ps1 b/tools/releaseBuild/generatePackgeSigning.ps1
index bb44174..523dea2 100644
--- a/tools/releaseBuild/generatePackgeSigning.ps1
+++ b/tools/releaseBuild/generatePackgeSigning.ps1
@@ -1,5 +1,6 @@
-# Copyright (c) Microsoft Corporation. All rights reserved.
+# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
+
param(
[Parameter(Mandatory)]
[string] $Path,
diff --git a/tools/releaseBuild/updateSigning.ps1 b/tools/releaseBuild/updateSigning.ps1
index 3241915..c4b2ec3 100644
--- a/tools/releaseBuild/updateSigning.ps1
+++ b/tools/releaseBuild/updateSigning.ps1
@@ -1,5 +1,6 @@
-# Copyright (c) Microsoft Corporation. All rights reserved.
+# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
+
param(
[string] $SigningXmlPath = (Join-Path -Path $PSScriptRoot -ChildPath 'signing.xml')
)
diff --git a/tools/releaseBuild/vstsBuild.ps1 b/tools/releaseBuild/vstsBuild.ps1
index 23a0ea3..2b81d45 100644
--- a/tools/releaseBuild/vstsBuild.ps1
+++ b/tools/releaseBuild/vstsBuild.ps1
@@ -1,4 +1,4 @@
-# Copyright (c) Microsoft Corporation. All rights reserved.
+# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
[cmdletbinding(DefaultParameterSetName = 'Build')]