diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..a668225 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,8 @@ +root = true + +[*] +charset = utf-8 +insert_final_newline = true + +[*.{ps1,psm1,psd1}] +charset = utf-8-bom diff --git a/Modules/Microsoft.PowerShell.RemotingTools/build.ps1 b/Modules/Microsoft.PowerShell.RemotingTools/build.ps1 index e374464..007ca88 100644 --- a/Modules/Microsoft.PowerShell.RemotingTools/build.ps1 +++ b/Modules/Microsoft.PowerShell.RemotingTools/build.ps1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. # Do NOT edit this file. Edit dobuild.ps1 diff --git a/Modules/Microsoft.PowerShell.RemotingTools/src/Microsoft.PowerShell.RemotingTools.psd1 b/Modules/Microsoft.PowerShell.RemotingTools/src/Microsoft.PowerShell.RemotingTools.psd1 index 5a6ee4d..2965333 100644 --- a/Modules/Microsoft.PowerShell.RemotingTools/src/Microsoft.PowerShell.RemotingTools.psd1 +++ b/Modules/Microsoft.PowerShell.RemotingTools/src/Microsoft.PowerShell.RemotingTools.psd1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. @{ diff --git a/Modules/Microsoft.PowerShell.RemotingTools/src/Microsoft.PowerShell.RemotingTools.psm1 b/Modules/Microsoft.PowerShell.RemotingTools/src/Microsoft.PowerShell.RemotingTools.psm1 index 5d42ff8..e6a7942 100644 --- a/Modules/Microsoft.PowerShell.RemotingTools/src/Microsoft.PowerShell.RemotingTools.psm1 +++ b/Modules/Microsoft.PowerShell.RemotingTools/src/Microsoft.PowerShell.RemotingTools.psm1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. ## diff --git a/Modules/Microsoft.PowerShell.RemotingTools/test/Microsoft.PowerShell.RemotingTools.Tests.ps1 b/Modules/Microsoft.PowerShell.RemotingTools/test/Microsoft.PowerShell.RemotingTools.Tests.ps1 index 80cf4b5..c065aa9 100644 --- a/Modules/Microsoft.PowerShell.RemotingTools/test/Microsoft.PowerShell.RemotingTools.Tests.ps1 +++ b/Modules/Microsoft.PowerShell.RemotingTools/test/Microsoft.PowerShell.RemotingTools.Tests.ps1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. Describe "Test Microsoft.PowerShell.RemotingTools module" -tags CI { diff --git a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultBin/AKVaultBin.psd1 b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultBin/AKVaultBin.psd1 index 2cd49de..e3db3fd 100644 --- a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultBin/AKVaultBin.psd1 +++ b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultBin/AKVaultBin.psd1 @@ -1,4 +1,4 @@ -@{ +@{ ModuleVersion = '1.0' RequiredAssemblies = @('AKVaultBin.dll') } diff --git a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultScript/AKVaultScript.psd1 b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultScript/AKVaultScript.psd1 index a9e6eaf..16865ba 100644 --- a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultScript/AKVaultScript.psd1 +++ b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultScript/AKVaultScript.psd1 @@ -1,3 +1,3 @@ -@{ +@{ ModuleVersion = '1.0' } diff --git a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultScript/SecretManagementExtension/SecretManagementExtension.psd1 b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultScript/SecretManagementExtension/SecretManagementExtension.psd1 index 23af8ba..859a649 100644 --- a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultScript/SecretManagementExtension/SecretManagementExtension.psd1 +++ b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultScript/SecretManagementExtension/SecretManagementExtension.psd1 @@ -1,4 +1,4 @@ -@{ +@{ ModuleVersion = '1.0' RootModule = '.\SecretManagementExtension.psm1' FunctionsToExport = @('Set-Secret','Get-Secret','Remove-Secret','Get-SecretInfo','Test-SecretVault') diff --git a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultScript/SecretManagementExtension/SecretManagementExtension.psm1 b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultScript/SecretManagementExtension/SecretManagementExtension.psm1 index 4b37700..f8d46db 100644 --- a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultScript/SecretManagementExtension/SecretManagementExtension.psm1 +++ b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/AKVaultScript/SecretManagementExtension/SecretManagementExtension.psm1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. function Check-SubscriptionLogIn diff --git a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalBin/TestLocalBin.psd1 b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalBin/TestLocalBin.psd1 index 06078ff..d7b9038 100644 --- a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalBin/TestLocalBin.psd1 +++ b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalBin/TestLocalBin.psd1 @@ -1,4 +1,4 @@ -@{ +@{ ModuleVersion = '1.0' RequiredAssemblies = @('TestLocalBin.dll') } diff --git a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psd1 b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psd1 index 23af8ba..859a649 100644 --- a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psd1 +++ b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psd1 @@ -1,4 +1,4 @@ -@{ +@{ ModuleVersion = '1.0' RootModule = '.\SecretManagementExtension.psm1' FunctionsToExport = @('Set-Secret','Get-Secret','Remove-Secret','Get-SecretInfo','Test-SecretVault') diff --git a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psm1 b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psm1 index 298ff51..0db0eb1 100644 --- a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psm1 +++ b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psm1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. function Get-Path diff --git a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalScript/TestLocalScript.psd1 b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalScript/TestLocalScript.psd1 index a9e6eaf..16865ba 100644 --- a/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalScript/TestLocalScript.psd1 +++ b/Modules/Microsoft.PowerShell.SecretManagement/TestExtensionModules/TestLocalScript/TestLocalScript.psd1 @@ -1,3 +1,3 @@ -@{ +@{ ModuleVersion = '1.0' } diff --git a/Modules/Microsoft.PowerShell.SecretManagement/build.ps1 b/Modules/Microsoft.PowerShell.SecretManagement/build.ps1 index a3a0fc5..f731622 100644 --- a/Modules/Microsoft.PowerShell.SecretManagement/build.ps1 +++ b/Modules/Microsoft.PowerShell.SecretManagement/build.ps1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. # Do NOT edit this file. Edit dobuild.ps1 diff --git a/Modules/Microsoft.PowerShell.SecretManagement/doBuild.ps1 b/Modules/Microsoft.PowerShell.SecretManagement/doBuild.ps1 index f3ca6a1..52211c5 100644 --- a/Modules/Microsoft.PowerShell.SecretManagement/doBuild.ps1 +++ b/Modules/Microsoft.PowerShell.SecretManagement/doBuild.ps1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. <# diff --git a/Modules/Microsoft.PowerShell.SecretManagement/src/Microsoft.PowerShell.SecretManagement.psd1 b/Modules/Microsoft.PowerShell.SecretManagement/src/Microsoft.PowerShell.SecretManagement.psd1 index 708d281..155e916 100644 --- a/Modules/Microsoft.PowerShell.SecretManagement/src/Microsoft.PowerShell.SecretManagement.psd1 +++ b/Modules/Microsoft.PowerShell.SecretManagement/src/Microsoft.PowerShell.SecretManagement.psd1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. @{ diff --git a/Modules/Microsoft.PowerShell.SecretManagement/test/Microsoft.PowerShell.SecretManagement.Tests.ps1 b/Modules/Microsoft.PowerShell.SecretManagement/test/Microsoft.PowerShell.SecretManagement.Tests.ps1 index 5f092a9..5865aaa 100644 --- a/Modules/Microsoft.PowerShell.SecretManagement/test/Microsoft.PowerShell.SecretManagement.Tests.ps1 +++ b/Modules/Microsoft.PowerShell.SecretManagement/test/Microsoft.PowerShell.SecretManagement.Tests.ps1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. Describe "Test Microsoft.PowerShell.SecretManagement module" -tags CI { diff --git a/Modules/Microsoft.PowerShell.TextUtility/build.ps1 b/Modules/Microsoft.PowerShell.TextUtility/build.ps1 index 5c40a85..14ceab3 100644 --- a/Modules/Microsoft.PowerShell.TextUtility/build.ps1 +++ b/Modules/Microsoft.PowerShell.TextUtility/build.ps1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. [CmdletBinding()] @@ -13,4 +13,4 @@ if ($Clean) { } dotnet build -Pop-Location \ No newline at end of file +Pop-Location diff --git a/Modules/Microsoft.PowerShell.TextUtility/src/Microsoft.PowerShell.TextUtility.psd1 b/Modules/Microsoft.PowerShell.TextUtility/src/Microsoft.PowerShell.TextUtility.psd1 index 5ba0997..d70317e 100644 --- a/Modules/Microsoft.PowerShell.TextUtility/src/Microsoft.PowerShell.TextUtility.psd1 +++ b/Modules/Microsoft.PowerShell.TextUtility/src/Microsoft.PowerShell.TextUtility.psd1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. @{ diff --git a/Modules/Microsoft.PowerShell.ThreadJob/build.ps1 b/Modules/Microsoft.PowerShell.ThreadJob/build.ps1 index 5353230..ce1fcae 100644 --- a/Modules/Microsoft.PowerShell.ThreadJob/build.ps1 +++ b/Modules/Microsoft.PowerShell.ThreadJob/build.ps1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. # Do NOT edit this file. Edit dobuild.ps1 diff --git a/Modules/Microsoft.PowerShell.ThreadJob/doBuild.ps1 b/Modules/Microsoft.PowerShell.ThreadJob/doBuild.ps1 index c430fa2..5f04fea 100644 --- a/Modules/Microsoft.PowerShell.ThreadJob/doBuild.ps1 +++ b/Modules/Microsoft.PowerShell.ThreadJob/doBuild.ps1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. <# diff --git a/Modules/Microsoft.PowerShell.ThreadJob/test/Microsoft.PowerShell.ThreadJob.CL.Tests.ps1 b/Modules/Microsoft.PowerShell.ThreadJob/test/Microsoft.PowerShell.ThreadJob.CL.Tests.ps1 index cdc2e77..5638a80 100644 --- a/Modules/Microsoft.PowerShell.ThreadJob/test/Microsoft.PowerShell.ThreadJob.CL.Tests.ps1 +++ b/Modules/Microsoft.PowerShell.ThreadJob/test/Microsoft.PowerShell.ThreadJob.CL.Tests.ps1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. ## diff --git a/Modules/Microsoft.PowerShell.UnixCompleters/Microsoft.PowerShell.UnixCompleters.psd1 b/Modules/Microsoft.PowerShell.UnixCompleters/Microsoft.PowerShell.UnixCompleters.psd1 index 7f8f9f4..986c061 100644 --- a/Modules/Microsoft.PowerShell.UnixCompleters/Microsoft.PowerShell.UnixCompleters.psd1 +++ b/Modules/Microsoft.PowerShell.UnixCompleters/Microsoft.PowerShell.UnixCompleters.psd1 @@ -1,4 +1,4 @@ -@{ +@{ # Script module or binary module file associated with this manifest. RootModule = 'Microsoft.PowerShell.UnixCompleters.dll' diff --git a/Modules/Microsoft.PowerShell.UnixCompleters/OnStart.ps1 b/Modules/Microsoft.PowerShell.UnixCompleters/OnStart.ps1 index b36c01a..ebb858e 100644 --- a/Modules/Microsoft.PowerShell.UnixCompleters/OnStart.ps1 +++ b/Modules/Microsoft.PowerShell.UnixCompleters/OnStart.ps1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. +# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # Informative messages to let users know that completers have been registered diff --git a/Modules/Microsoft.PowerShell.UnixCompleters/build.ps1 b/Modules/Microsoft.PowerShell.UnixCompleters/build.ps1 index 73b4858..928bea3 100644 --- a/Modules/Microsoft.PowerShell.UnixCompleters/build.ps1 +++ b/Modules/Microsoft.PowerShell.UnixCompleters/build.ps1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. +# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. #requires -Version 6.0 diff --git a/Modules/Microsoft.PowerShell.UnixCompleters/tests/Completion.Tests.ps1 b/Modules/Microsoft.PowerShell.UnixCompleters/tests/Completion.Tests.ps1 index 5fc694d..4a513cb 100644 --- a/Modules/Microsoft.PowerShell.UnixCompleters/tests/Completion.Tests.ps1 +++ b/Modules/Microsoft.PowerShell.UnixCompleters/tests/Completion.Tests.ps1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. +# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. Describe 'Microsoft.PowerShell.UnixCompleters completion tests' { diff --git a/Samples/VaultExtension/Modules/TestLocalBin/TestLocalBin.psd1 b/Samples/VaultExtension/Modules/TestLocalBin/TestLocalBin.psd1 index 06078ff..d7b9038 100644 --- a/Samples/VaultExtension/Modules/TestLocalBin/TestLocalBin.psd1 +++ b/Samples/VaultExtension/Modules/TestLocalBin/TestLocalBin.psd1 @@ -1,4 +1,4 @@ -@{ +@{ ModuleVersion = '1.0' RequiredAssemblies = @('TestLocalBin.dll') } diff --git a/Samples/VaultExtension/Modules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psd1 b/Samples/VaultExtension/Modules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psd1 index 23af8ba..859a649 100644 --- a/Samples/VaultExtension/Modules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psd1 +++ b/Samples/VaultExtension/Modules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psd1 @@ -1,4 +1,4 @@ -@{ +@{ ModuleVersion = '1.0' RootModule = '.\SecretManagementExtension.psm1' FunctionsToExport = @('Set-Secret','Get-Secret','Remove-Secret','Get-SecretInfo','Test-SecretVault') diff --git a/Samples/VaultExtension/Modules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psm1 b/Samples/VaultExtension/Modules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psm1 index 298ff51..0db0eb1 100644 --- a/Samples/VaultExtension/Modules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psm1 +++ b/Samples/VaultExtension/Modules/TestLocalScript/SecretManagementExtension/SecretManagementExtension.psm1 @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. function Get-Path diff --git a/Samples/VaultExtension/Modules/TestLocalScript/TestLocalScript.psd1 b/Samples/VaultExtension/Modules/TestLocalScript/TestLocalScript.psd1 index a9e6eaf..16865ba 100644 --- a/Samples/VaultExtension/Modules/TestLocalScript/TestLocalScript.psd1 +++ b/Samples/VaultExtension/Modules/TestLocalScript/TestLocalScript.psd1 @@ -1,3 +1,3 @@ -@{ +@{ ModuleVersion = '1.0' }