From 4bc52d2358222084738157a08907fac32d13bd3a Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Fri, 27 Oct 2017 05:12:19 +0800 Subject: [PATCH] Use consistent '(c)' for copyright symbol (#5210) - Remove the year about copyright - Fix casing of `All rights reserved` - Replace Unicode characters representing single quote with a single quote --- LICENSE.txt | 28 +- assets/AppImageThirdPartyNotices.txt | 2 +- assets/pwsh.1.ronn | 2 +- demos/SSHRemoting/README.md | 2 +- demos/crontab/CronTab/CronTab.psd1 | 2 +- docker/README.md | 2 +- .../sample-dotnet1.1/Logic/UseRunspace.cs | 2 +- .../sample-dotnet1.1/MyApp/Program.cs | 8 +- .../Logic/UseRunspace.cs | 2 +- .../MyApp/Program.cs | 8 +- .../MyApp/Program.cs | 4 +- license_thirdparty_proprietary.txt | 560 +++++++++--------- .../AssemblyInfo.cs | 2 +- .../CimAsyncOperation.cs | 2 +- .../CimBaseAction.cs | 2 +- .../CimCmdletModuleInitialize.cs | 2 +- .../CimCommandBase.cs | 2 +- .../CimGetAssociatedInstance.cs | 2 +- .../CimGetCimClass.cs | 2 +- .../CimGetInstance.cs | 2 +- .../CimIndicationWatcher.cs | 2 +- .../CimInvokeCimMethod.cs | 2 +- .../CimNewCimInstance.cs | 2 +- .../CimPromptUser.cs | 2 +- .../CimRegisterCimIndication.cs | 2 +- .../CimRemoveCimInstance.cs | 2 +- .../CimResultObserver.cs | 2 +- .../CimSessionOperations.cs | 2 +- .../CimSessionProxy.cs | 2 +- .../CimSetCimInstance.cs | 2 +- .../CimWriteError.cs | 2 +- .../CimWriteMessage.cs | 2 +- .../CimWriteProgress.cs | 2 +- .../CimWriteResultObject.cs | 2 +- .../CmdletOperation.cs | 2 +- .../GetCimAssociatedInstanceCommand.cs | 2 +- .../GetCimClassCommand.cs | 2 +- .../GetCimInstanceCommand.cs | 2 +- .../GetCimSessionCommand.cs | 2 +- .../InvokeCimMethodCommand.cs | 2 +- .../NewCimInstanceCommand.cs | 2 +- .../NewCimSessionCommand.cs | 2 +- .../NewCimSessionOptionCommand.cs | 2 +- .../RegisterCimIndicationCommand.cs | 2 +- .../RemoveCimInstanceCommand.cs | 2 +- .../RemoveCimSessionCommand.cs | 2 +- .../SetCimInstanceCommand.cs | 2 +- .../Utils.cs | 2 +- .../CounterFileInfo.cs | 2 +- .../CounterSample.cs | 2 +- .../CounterSet.cs | 2 +- .../ExportCounterCommand.cs | 2 +- .../GetCounterCommand.cs | 2 +- .../GetEventCommand.cs | 2 +- .../GetEventSnapin.cs | 2 +- .../ImportCounterCommand.cs | 2 +- .../NewWinEventCommand.cs | 2 +- .../PdhHelper.cs | 2 +- .../PdhSafeHandle.cs | 2 +- .../resources/GetEventResources.txt | 2 +- .../cmdletization/SessionBasedWrapper.cs | 2 +- .../cmdletization/cim/CimJobException.cs | 2 +- .../cmdletization/cim/CreateInstanceJob.cs | 2 +- .../cmdletization/cim/DeleteInstanceJob.cs | 2 +- .../cim/EnumerateAssociatedInstancesJob.cs | 2 +- .../cim/ExtrinsicMethodInvocationJob.cs | 2 +- .../cim/InstanceMethodInvocationJob.cs | 2 +- .../cim/MethodInvocationJobBase.cs | 2 +- .../cmdletization/cim/ModifyInstanceJob.cs | 2 +- .../cmdletization/cim/PropertySettingJob.cs | 2 +- .../cimSupport/cmdletization/cim/QueryJob.cs | 2 +- .../cmdletization/cim/QueryJobBase.cs | 2 +- .../cim/StaticMethodInvocationJob.cs | 2 +- .../cim/TerminatingErrorTracker.cs | 2 +- .../cmdletization/cim/cimChildJobBase.cs | 2 +- .../cim/cimCmdletDefinitionContext.cs | 2 +- .../cim/cimCmdletInvocationContext.cs | 2 +- .../cmdletization/cim/cimConverter.cs | 2 +- .../cmdletization/cim/cimJobContext.cs | 2 +- .../cim/cimOperationOptionsHelper.cs | 2 +- .../cimSupport/cmdletization/cim/cimQuery.cs | 2 +- .../cmdletization/cim/cimWrapper.cs | 2 +- .../cmdletization/cim/clientSideQuery.cs | 2 +- .../commands/management/AddContentCommand.cs | 2 +- .../management/ClearContentCommand.cs | 2 +- .../management/ClearPropertyCommand.cs | 2 +- .../commands/management/CombinePathCommand.cs | 2 +- .../management/CommitTransactionCommand.cs | 2 +- .../commands/management/Computer.cs | 2 +- .../commands/management/ContentCommandBase.cs | 2 +- .../management/ControlPanelItemCommand.cs | 2 +- .../commands/management/ConvertPathCommand.cs | 2 +- .../management/CopyPropertyCommand.cs | 2 +- .../commands/management/Eventlog.cs | 2 +- .../commands/management/GetChildrenCommand.cs | 2 +- .../management/GetComputerInfoCommand.cs | 2 +- .../commands/management/GetContentCommand.cs | 2 +- .../commands/management/GetPropertyCommand.cs | 2 +- .../management/GetTransactionCommand.cs | 2 +- .../management/GetWMIObjectCommand.cs | 2 +- .../commands/management/Hotfix.cs | 2 +- .../management/InvokeWMIMethodCommand.cs | 2 +- .../management/MovePropertyCommand.cs | 2 +- .../commands/management/Navigation.cs | 2 +- .../commands/management/NewPropertyCommand.cs | 2 +- .../commands/management/ParsePathCommand.cs | 2 +- .../PassThroughContentCommandBase.cs | 2 +- .../PassThroughPropertyCommandBase.cs | 2 +- .../commands/management/PingPathCommand.cs | 2 +- .../commands/management/Process.cs | 2 +- .../management/PropertyCommandBase.cs | 2 +- .../management/RegisterWMIEventCommand.cs | 2 +- .../management/RemovePropertyCommand.cs | 2 +- .../management/RemoveWMIObjectCommand.cs | 2 +- .../management/RenamePropertyCommand.cs | 2 +- .../commands/management/ResolvePathCommand.cs | 2 +- .../management/RollbackTransactionCommand.cs | 2 +- .../commands/management/Service.cs | 2 +- .../commands/management/SetContentCommand.cs | 2 +- .../commands/management/SetPropertyCommand.cs | 2 +- .../management/SetWMIInstanceCommand.cs | 2 +- .../management/StartTransactionCommand.cs | 2 +- .../management/UseTransactionCommand.cs | 2 +- .../commands/management/WMIHelper.cs | 2 +- .../commands/management/WebServiceProxy.cs | 2 +- .../management/WriteContentCommandBase.cs | 2 +- .../installer/MshManagementMshSnapin.cs | 2 +- .../commands/utility/AddMember.cs | 2 +- .../commands/utility/AddType.cs | 2 +- .../commands/utility/CSVCommands.cs | 2 +- .../commands/utility/ConsoleColorCmdlet.cs | 2 +- .../utility/ConvertFrom-StringData.cs | 2 +- .../commands/utility/Csv.cs | 2 +- .../commands/utility/CustomSerialization.cs | 2 +- .../utility/CustomSerializationStrings.cs | 2 +- .../commands/utility/DebugRunspaceCommand.cs | 2 +- .../commands/utility/Disable-PSBreakpoint.cs | 2 +- .../commands/utility/Enable-PSBreakpoint.cs | 2 +- .../EnableDisableRunspaceDebugCommand.cs | 2 +- .../commands/utility/ExportAliasCommand.cs | 2 +- .../FormatAndOutput/OutGridView/ColumnInfo.cs | 2 +- .../OutGridView/ExpressionColumnInfo.cs | 2 +- .../FormatAndOutput/OutGridView/HeaderInfo.cs | 2 +- .../OutGridView/OriginalColumnInfo.cs | 2 +- .../OutGridView/OutGridViewCommand.cs | 2 +- .../OutGridView/OutWindowProxy.cs | 2 +- .../OutGridView/ScalarTypeColumnInfo.cs | 2 +- .../FormatAndOutput/OutGridView/TableView.cs | 2 +- .../common/GetFormatDataCommand.cs | 2 +- .../common/WriteFormatDataCommand.cs | 2 +- .../format-list/Format-List.cs | 2 +- .../format-object/format-object.cs | 2 +- .../format-table/Format-Table.cs | 2 +- .../format-wide/Format-Wide.cs | 2 +- .../FormatAndOutput/out-file/Out-File.cs | 2 +- .../out-printer/PrinterLineOutput.cs | 2 +- .../out-printer/out-printer.cs | 2 +- .../FormatAndOutput/out-string/out-string.cs | 2 +- .../commands/utility/Get-PSBreakpoint.cs | 2 +- .../commands/utility/Get-PSCallStack.cs | 2 +- .../commands/utility/GetAliasCommand.cs | 2 +- .../commands/utility/GetCultureCommand.cs | 2 +- .../commands/utility/GetDateCommand.cs | 2 +- .../commands/utility/GetEventCommand.cs | 2 +- .../utility/GetEventSubscriberCommand.cs | 2 +- .../commands/utility/GetHostCmdlet.cs | 2 +- .../commands/utility/GetMember.cs | 2 +- .../commands/utility/GetRandomCommand.cs | 2 +- .../commands/utility/GetRunspaceCommand.cs | 2 +- .../commands/utility/GetUICultureCommand.cs | 2 +- .../commands/utility/GetUnique.cs | 2 +- .../commands/utility/GetUptime.cs | 2 +- .../utility/ImplicitRemotingCommands.cs | 2 +- .../commands/utility/Import-LocalizedData.cs | 2 +- .../commands/utility/ImportAliasCommand.cs | 2 +- .../commands/utility/InvokeCommandCmdlet.cs | 2 +- .../commands/utility/MatchString.cs | 2 +- .../commands/utility/Measure-Object.cs | 2 +- .../commands/utility/NewAliasCommand.cs | 2 +- .../commands/utility/NewGuidCommand.cs | 2 +- .../commands/utility/NewTimeSpanCommand.cs | 2 +- .../commands/utility/ObjectCommandComparer.cs | 2 +- .../commands/utility/OrderObjectBase.cs | 2 +- .../commands/utility/ReadConsoleCmdlet.cs | 2 +- .../utility/RegisterObjectEventCommand.cs | 2 +- .../utility/RegisterPSEventCommand.cs | 2 +- .../commands/utility/Remove-PSBreakpoint.cs | 2 +- .../commands/utility/RemoveEventCommand.cs | 2 +- .../commands/utility/Send-MailMessage.cs | 2 +- .../commands/utility/Set-PSBreakpoint.cs | 2 +- .../commands/utility/SetAliasCommand.cs | 2 +- .../commands/utility/SetDateCommand.cs | 2 +- .../utility/ShowCommand/ShowCommand.cs | 2 +- .../ShowCommand/ShowCommandCommandInfo.cs | 2 +- .../ShowCommand/ShowCommandModuleInfo.cs | 6 +- .../ShowCommand/ShowCommandParameterInfo.cs | 6 +- .../ShowCommandParameterSetInfo.cs | 2 +- .../ShowCommand/ShowCommandParameterType.cs | 2 +- .../utility/ShowCommand/ShowCommandProxy.cs | 2 +- .../commands/utility/StartSleepCommand.cs | 2 +- .../commands/utility/TimeExpressionCommand.cs | 2 +- .../commands/utility/UnblockFile.cs | 2 +- .../utility/UnregisterEventCommand.cs | 2 +- .../commands/utility/Update-Data.cs | 2 +- .../commands/utility/Update-TypeData.cs | 2 +- .../commands/utility/UtilityCommon.cs | 2 +- .../commands/utility/Var.cs | 2 +- .../commands/utility/WaitEventCommand.cs | 2 +- .../BasicHtmlWebResponseObject.Common.cs | 2 +- .../WebCmdlet/Common/ContentHelper.Common.cs | 2 +- .../Common/HtmlWebResponseObject.Common.cs | 2 +- .../Common/InvokeRestMethodCommand.Common.cs | 2 +- .../Common/WebRequestPSCmdlet.Common.cs | 8 +- .../Common/WebResponseObject.Common.cs | 2 +- .../WebCmdlet/ConvertFromJsonCommand.cs | 2 +- .../utility/WebCmdlet/ConvertToJsonCommand.cs | 2 +- .../BasicHtmlWebResponseObject.CoreClr.cs | 2 +- .../CoreCLR/ContentHelper.CoreClr.cs | 8 +- .../CoreCLR/HtmlWebResponseObject.CoreClr.cs | 2 +- .../WebCmdlet/CoreCLR/HttpKnownHeaderNames.cs | 2 +- .../InvokeRestMethodCommand.CoreClr.cs | 2 +- .../InvokeWebRequestCommand.CoreClr.cs | 2 +- .../utility/WebCmdlet/CoreCLR/WebProxy.cs | 2 +- .../CoreCLR/WebRequestPSCmdlet.CoreClr.cs | 6 +- .../CoreCLR/WebResponseHelper.CoreClr.cs | 6 +- .../CoreCLR/WebResponseObject.CoreClr.cs | 4 +- .../WebResponseObjectFactory.CoreClr.cs | 2 +- .../commands/utility/WebCmdlet/FormObject.cs | 2 +- .../utility/WebCmdlet/FormObjectCollection.cs | 2 +- .../BasicHtmlWebResponseObject.FullClr.cs | 2 +- .../FullClr/ContentHelper.FullClr.cs | 2 +- .../FullClr/HtmlWebResponseObject.FullClr.cs | 2 +- .../InvokeRestMethodCommand.FullClr.cs | 2 +- .../InvokeWebRequestCommand.FullClr.cs | 2 +- .../FullClr/JsonObjectTypeResolver.cs | 2 +- .../FullClr/WebRequestPSCmdlet.FullClr.cs | 2 +- .../FullClr/WebResponseHelper.FullClr.cs | 2 +- .../FullClr/WebResponseObject.FullClr.cs | 2 +- .../WebResponseObjectFactory.FullClr.cs | 2 +- .../commands/utility/WebCmdlet/JsonObject.cs | 2 +- .../commands/utility/WebCmdlet/PSUserAgent.cs | 2 +- .../utility/WebCmdlet/StreamHelper.cs | 2 +- .../WebCmdlet/WebCmdletElementCollection.cs | 2 +- .../utility/WebCmdlet/WebRequestMethod.cs | 2 +- .../utility/WebCmdlet/WebRequestSession.cs | 2 +- .../commands/utility/Write-Object.cs | 2 +- .../commands/utility/WriteAliasCommandBase.cs | 2 +- .../commands/utility/WriteConsoleCmdlet.cs | 2 +- .../commands/utility/WriteProgressCmdlet.cs | 2 +- .../commands/utility/XmlCommands.cs | 2 +- .../commands/utility/compare-object.cs | 2 +- .../commands/utility/convert-HTML.cs | 2 +- .../commands/utility/group-object.cs | 2 +- .../commands/utility/new-object.cs | 2 +- .../commands/utility/neweventcommand.cs | 2 +- .../commands/utility/select-object.cs | 2 +- .../commands/utility/sort-object.cs | 2 +- .../commands/utility/tee-object.cs | 2 +- .../utility/trace/GetTracerCommand.cs | 2 +- .../utility/trace/MshHostTraceListener.cs | 2 +- .../utility/trace/SetTracerCommand.cs | 2 +- .../utility/trace/TraceCommandBase.cs | 2 +- .../utility/trace/TraceExpressionCommand.cs | 2 +- .../utility/trace/TraceListenerCommandBase.cs | 2 +- .../commands/utility/update-list.cs | 2 +- .../commands/utility/write.cs | 2 +- .../installer/MshUtilityMshSnapin.cs | 2 +- .../host/msh/CommandLineParameterParser.cs | 2 +- .../host/msh/ConsoleControl.cs | 2 +- .../host/msh/ConsoleHost.cs | 2 +- .../host/msh/ConsoleHostRawUserInterface.cs | 2 +- .../host/msh/ConsoleHostTranscript.cs | 2 +- .../host/msh/ConsoleHostUserInterface.cs | 2 +- .../msh/ConsoleHostUserInterfaceProgress.cs | 2 +- .../msh/ConsoleHostUserInterfacePrompt.cs | 2 +- ...ConsoleHostUserInterfacePromptForChoice.cs | 2 +- .../msh/ConsoleHostUserInterfaceSecurity.cs | 2 +- .../host/msh/ConsoleShell.cs | 2 +- .../host/msh/ConsoleTextWriter.cs | 2 +- .../host/msh/Executor.cs | 2 +- .../host/msh/ManagedEntrance.cs | 2 +- .../host/msh/PendingProgress.cs | 2 +- .../host/msh/ProgressNode.cs | 2 +- .../host/msh/ProgressPane.cs | 2 +- .../host/msh/Serialization.cs | 2 +- .../host/msh/StartTranscriptCmdlet.cs | 2 +- .../host/msh/StopTranscriptCmdlet.cs | 2 +- .../resources/ManagedEntranceStrings.resx | 2 +- .../singleshell/installer/EngineInstaller.cs | 2 +- .../singleshell/installer/MshHostMshSnapin.cs | 2 +- .../DotNetCode/Eventing/EventDescriptor.cs | 2 +- .../DotNetCode/Eventing/EventProvider.cs | 2 +- .../Eventing/EventProviderTraceListener.cs | 2 +- .../LocalAccounts/PInvokeDllNames.cs | 2 +- .../AssemblyInfo.cs | 2 +- .../BasicEditing.cs | 2 +- .../Cmdlets.cs | 2 +- .../Completion.cs | 2 +- .../Completion.vi.cs | 2 +- .../ConsoleBufferBuilder.cs | 2 +- .../ConsoleKeyChordConverter.cs | 2 +- .../ConsoleLib.cs | 2 +- .../History.cs | 2 +- .../HistoryQueue.cs | 2 +- .../KeyBindings.cs | 2 +- .../KeyBindings.vi.cs | 2 +- src/Microsoft.PowerShell.PSReadLine/Keys.cs | 2 +- .../KillYank.cs | 2 +- .../Movement.cs | 2 +- .../Movement.vi.cs | 2 +- .../Options.cs | 2 +- .../PSReadLine.psd1 | 2 +- .../PublicAPI.cs | 2 +- .../ReadLine.cs | 2 +- .../ReadLine.vi.cs | 2 +- src/Microsoft.PowerShell.PSReadLine/Render.cs | 2 +- .../Replace.vi.cs | 2 +- .../ScreenCapture.cs | 2 +- .../UndoRedo.cs | 2 +- .../UndoRedo.vi.cs | 2 +- .../VisualEditing.vi.cs | 2 +- src/Microsoft.PowerShell.PSReadLine/Words.cs | 2 +- .../Words.vi.cs | 2 +- .../YankPaste.vi.cs | 2 +- .../ScheduledJob.cs | 2 +- .../ScheduledJobDefinition.cs | 2 +- .../ScheduledJobOptions.cs | 2 +- .../ScheduledJobSourceAdapter.cs | 2 +- .../ScheduledJobStore.cs | 2 +- .../ScheduledJobTrigger.cs | 2 +- .../ScheduledJobWTS.cs | 2 +- .../commands/AddJobTrigger.cs | 2 +- .../commands/DisableJobDefinition.cs | 2 +- .../commands/DisableJobDefinitionBase.cs | 2 +- .../commands/DisableJobTrigger.cs | 2 +- .../commands/EnableDisableCmdletBase.cs | 2 +- .../commands/EnableJobDefinition.cs | 2 +- .../commands/EnableJobTrigger.cs | 2 +- .../commands/GetJobDefinition.cs | 2 +- .../commands/GetJobTrigger.cs | 2 +- .../commands/GetScheduledJobOption.cs | 2 +- .../commands/NewJobTrigger.cs | 2 +- .../commands/NewScheduledJobOption.cs | 2 +- .../commands/RegisterJobDefinition.cs | 2 +- .../commands/RemoveJobTrigger.cs | 2 +- .../commands/SchedJobCmdletBase.cs | 2 +- .../commands/ScheduledJobOptionCmdletBase.cs | 2 +- .../commands/SetJobDefinition.cs | 2 +- .../commands/SetJobTrigger.cs | 2 +- .../commands/SetScheduledJobOption.cs | 2 +- .../commands/UnregisterJobDefinition.cs | 2 +- .../security/AclCommands.cs | 2 +- .../security/CatalogCommands.cs | 2 +- .../security/CertificateCommands.cs | 2 +- .../security/CertificateProvider.cs | 2 +- .../security/CmsCommands.cs | 2 +- .../security/CredentialCommands.cs | 2 +- .../security/ExecutionPolicyCommands.cs | 2 +- .../security/SecureStringCommands.cs | 2 +- .../security/SignatureCommands.cs | 2 +- .../security/Utils.cs | 2 +- .../security/certificateproviderexceptions.cs | 2 +- .../installer/MshSecurityMshSnapin.cs | 2 +- .../ConfigProvider.cs | 2 +- src/Microsoft.WSMan.Management/CredSSP.cs | 2 +- .../CurrentConfigurations.cs | 2 +- src/Microsoft.WSMan.Management/Interop.cs | 2 +- .../InvokeWSManAction.cs | 2 +- .../NewWSManSession.cs | 2 +- src/Microsoft.WSMan.Management/PingWSMan.cs | 2 +- .../Set-QuickConfig.cs | 2 +- .../WSManConnections.cs | 2 +- .../WSManInstance.cs | 2 +- src/Microsoft.WSMan.Management/WsManHelper.cs | 2 +- src/Microsoft.WSMan.Management/WsManSnapin.cs | 2 +- .../resources/WsManResources.txt | 6 +- .../WSManSessionOption.cs | 2 +- .../Microsoft.PowerShell.Host.psd1 | 2 +- src/Modules/Shared/PSReadLine/PSReadLine.psd1 | 2 +- .../Microsoft.PowerShell.Management.psd1 | 2 +- .../Microsoft.PowerShell.Security.psd1 | 2 +- .../Microsoft.PowerShell.Utility.psd1 | 2 +- .../CimCmdlets/CimCmdlets.psd1 | 2 +- .../Microsoft.PowerShell.Security.psd1 | 2 +- .../Microsoft.WSMan.Management.psd1 | 2 +- .../WSMan.format.ps1xml | 2 +- .../PSDiagnostics/PSDiagnostics.psd1 | 2 +- .../GetEvent.types.ps1xml | 2 +- .../Microsoft.PowerShell.Diagnostics.psd1 | 2 +- .../Microsoft.PowerShell.Management.psd1 | 2 +- .../Microsoft.PowerShell.Utility.psd1 | 2 +- .../GetEvent.types.ps1xml | 2 +- .../Microsoft.PowerShell.Diagnostics.psd1 | 2 +- .../Microsoft.PowerShell.LocalAccounts.psd1 | 2 +- .../Microsoft.PowerShell.Management.psd1 | 2 +- .../Microsoft.PowerShell.ODataUtils.psd1 | 2 +- .../Microsoft.PowerShell.Utility.psd1 | 2 +- .../PSScheduledJob/PSScheduledJob.psd1 | 6 +- .../PSScheduledJob.types.ps1xml | 2 +- .../CoreCLR/CorePsAssemblyLoadContext.cs | 2 +- .../CoreCLR/CorePsPlatform.cs | 4 +- .../CoreCLR/CorePsStub.cs | 2 +- .../cimSupport/cmdletization/EnumWriter.cs | 2 +- .../cmdletization/MethodInvocationInfo.cs | 2 +- .../cmdletization/MethodParameter.cs | 2 +- .../MethodParametersCollection.cs | 2 +- .../cmdletization/ObjectModelWrapper.cs | 2 +- .../cimSupport/cmdletization/QueryBuilder.cs | 2 +- .../cimSupport/cmdletization/ScriptWriter.cs | 2 +- .../cim/WildcardPatternToCimQueryParser.cs | 2 +- .../other/ciminstancetypeadapter.cs | 2 +- .../FormatAndOutput/common/BaseCommand.cs | 2 +- .../common/BaseFormattingCommand.cs | 2 +- .../common/BaseFormattingCommandParameters.cs | 2 +- .../common/BaseOutputtingCommand.cs | 2 +- .../common/ColumnWidthManager.cs | 2 +- .../FormatAndOutput/common/ComplexWriter.cs | 2 +- .../Certificate_format_ps1xml.cs | 2 +- .../Diagnostics_Format_ps1xml.cs | 2 +- .../DotNetTypes_format_ps1xml.cs | 2 +- .../DefaultFormatters/Event_Format_ps1xml.cs | 2 +- .../FileSystem_format_ps1xml.cs | 2 +- .../DefaultFormatters/HelpV3_format_ps1xml.cs | 2 +- .../DefaultFormatters/Help_format_ps1xml.cs | 2 +- .../PowerShellCore_format_ps1xml.cs | 2 +- .../PowerShellTrace_format_ps1xml.cs | 2 +- .../Registry_format_ps1xml.cs | 2 +- .../DefaultFormatters/WSMan_Format_ps1xml.cs | 2 +- .../common/DisplayDatabase/FormatTable.cs | 2 +- .../common/DisplayDatabase/XmlLoaderBase.cs | 2 +- .../common/DisplayDatabase/commands.cs | 2 +- .../DisplayDatabase/displayDescriptionData.cs | 2 +- .../displayDescriptionDataMethods.cs | 2 +- .../displayDescriptionData_Complex.cs | 2 +- .../displayDescriptionData_List.cs | 2 +- .../displayDescriptionData_Misc.cs | 2 +- .../displayDescriptionData_Table.cs | 2 +- .../displayDescriptionData_Wide.cs | 2 +- .../displayResourceManagerCache.cs | 2 +- .../common/DisplayDatabase/typeDataManager.cs | 2 +- .../common/DisplayDatabase/typeDataQuery.cs | 2 +- .../DisplayDatabase/typeDataXmlLoader.cs | 2 +- .../typeDataXmlLoader_Complex.cs | 2 +- .../DisplayDatabase/typeDataXmlLoader_List.cs | 2 +- .../typeDataXmlLoader_Table.cs | 2 +- .../typeDataXmlLoader_Views.cs | 2 +- .../DisplayDatabase/typeDataXmlLoader_Wide.cs | 2 +- .../common/FormatGroupManager.cs | 2 +- .../common/FormatMsgCtxManager.cs | 2 +- .../common/FormatViewGenerator.cs | 2 +- .../common/FormatViewGenerator_Complex.cs | 2 +- .../common/FormatViewGenerator_List.cs | 2 +- .../common/FormatViewGenerator_Table.cs | 2 +- .../common/FormatViewGenerator_Wide.cs | 2 +- .../common/FormatViewManager.cs | 2 +- .../FormatAndOutput/common/FormatXMLWriter.cs | 2 +- .../common/FormattingObjects.cs | 2 +- .../common/FormattingObjectsDeserializer.cs | 2 +- .../FormatAndOutput/common/ILineOutput.cs | 2 +- .../FormatAndOutput/common/ListWriter.cs | 2 +- .../FormatAndOutput/common/OutputManager.cs | 2 +- .../FormatAndOutput/common/OutputQueue.cs | 2 +- .../FormatAndOutput/common/TableWriter.cs | 2 +- .../common/Utilities/MshObjectUtil.cs | 2 +- .../common/Utilities/MshParameter.cs | 2 +- .../Utilities/MshParameterAssociation.cs | 2 +- .../common/Utilities/Mshexpression.cs | 2 +- .../format-default/format-default.cs | 2 +- .../out-console/ConsoleLineOutput.cs | 2 +- .../FormatAndOutput/out-console/OutConsole.cs | 2 +- .../out-textInterface/OutTextInterface.cs | 2 +- .../engine/AliasInfo.cs | 2 +- .../engine/ApplicationInfo.cs | 2 +- .../engine/ArgumentTypeConverterAttribute.cs | 2 +- .../engine/Attributes.cs | 2 +- .../engine/AutomationEngine.cs | 2 +- .../engine/AutomationNull.cs | 2 +- .../engine/COM/ComAdapter.cs | 2 +- .../engine/COM/ComDispatch.cs | 2 +- .../engine/COM/ComInvoker.cs | 2 +- .../engine/COM/ComMethod.cs | 2 +- .../engine/COM/ComProperty.cs | 2 +- .../engine/COM/ComTypeInfo.cs | 2 +- .../engine/COM/ComUtil.cs | 2 +- .../ChildrenCmdletProviderInterfaces.cs | 2 +- .../engine/CmdletFamilyProviderInterfaces.cs | 2 +- .../engine/CmdletInfo.cs | 2 +- .../engine/CmdletParameterBinderController.cs | 2 +- .../engine/CodeMethods.cs | 2 +- .../engine/ComInterop/ArgBuilder.cs | 2 +- .../engine/ComInterop/BoolArgBuilder.cs | 2 +- .../engine/ComInterop/BoundDispEvent.cs | 2 +- .../engine/ComInterop/CollectionExtensions.cs | 2 +- .../engine/ComInterop/ComBinder.cs | 2 +- .../engine/ComInterop/ComBinderHelpers.cs | 2 +- .../engine/ComInterop/ComClassMetaObject.cs | 2 +- .../engine/ComInterop/ComDispIds.cs | 2 +- .../engine/ComInterop/ComEventDesc.cs | 2 +- .../engine/ComInterop/ComEventSink.cs | 2 +- .../engine/ComInterop/ComEventSinkProxy.cs | 2 +- .../ComInterop/ComEventSinksContainer.cs | 2 +- .../ComInterop/ComFallbackMetaObject.cs | 2 +- .../engine/ComInterop/ComHresults.cs | 2 +- .../engine/ComInterop/ComInterop.cs | 2 +- .../engine/ComInterop/ComInvokeAction.cs | 2 +- .../engine/ComInterop/ComInvokeBinder.cs | 2 +- .../engine/ComInterop/ComMetaObject.cs | 2 +- .../engine/ComInterop/ComMethodDesc.cs | 2 +- .../engine/ComInterop/ComObject.cs | 2 +- .../engine/ComInterop/ComParamDesc.cs | 2 +- .../engine/ComInterop/ComRuntimeHelpers.cs | 2 +- .../engine/ComInterop/ComType.cs | 2 +- .../engine/ComInterop/ComTypeClassDesc.cs | 2 +- .../engine/ComInterop/ComTypeDesc.cs | 2 +- .../engine/ComInterop/ComTypeEnumDesc.cs | 2 +- .../engine/ComInterop/ComTypeLibDesc.cs | 2 +- .../engine/ComInterop/ComTypeLibInfo.cs | 2 +- .../engine/ComInterop/ComTypeLibMemberDesc.cs | 2 +- .../engine/ComInterop/ConversionArgBuilder.cs | 2 +- .../engine/ComInterop/ConvertArgBuilder.cs | 2 +- .../ComInterop/ConvertibleArgBuilder.cs | 2 +- .../engine/ComInterop/CurrencyArgBuilder.cs | 2 +- .../engine/ComInterop/DateTimeArgBuilder.cs | 2 +- .../engine/ComInterop/DispCallable.cs | 2 +- .../ComInterop/DispCallableMetaObject.cs | 2 +- .../engine/ComInterop/DispatchArgBuilder.cs | 2 +- .../engine/ComInterop/ErrorArgBuilder.cs | 2 +- .../engine/ComInterop/Errors.cs | 2 +- .../engine/ComInterop/ExcepInfo.cs | 2 +- .../engine/ComInterop/Helpers.cs | 2 +- .../engine/ComInterop/IDispatchComObject.cs | 2 +- .../engine/ComInterop/IDispatchMetaObject.cs | 2 +- .../engine/ComInterop/IPseudoComObject.cs | 2 +- .../engine/ComInterop/NullArgBuilder.cs | 2 +- .../engine/ComInterop/SimpleArgBuilder.cs | 2 +- .../engine/ComInterop/SplatCallSite.cs | 2 +- .../engine/ComInterop/StringArgBuilder.cs | 2 +- .../engine/ComInterop/TypeEnumMetaObject.cs | 2 +- .../ComInterop/TypeLibInfoMetaObject.cs | 2 +- .../engine/ComInterop/TypeLibMetaObject.cs | 2 +- .../engine/ComInterop/TypeUtils.cs | 2 +- .../engine/ComInterop/UnknownArgBuilder.cs | 2 +- .../engine/ComInterop/VarEnumSelector.cs | 2 +- .../engine/ComInterop/Variant.cs | 2 +- .../engine/ComInterop/VariantArgBuilder.cs | 2 +- .../engine/ComInterop/VariantArray.cs | 2 +- .../engine/ComInterop/VariantBuilder.cs | 2 +- .../engine/CommandBase.cs | 2 +- .../CommandCompletion/CommandCompletion.cs | 2 +- .../CommandCompletion/CompletionAnalysis.cs | 6 +- .../CommandCompletion/CompletionCompleters.cs | 2 +- .../CommandCompletion/CompletionResult.cs | 2 +- .../CommandCompletion/ExtensibleCompletion.cs | 2 +- .../PseudoParameterBinder.cs | 2 +- .../engine/CommandDiscovery.cs | 2 +- .../engine/CommandFactory.cs | 2 +- .../engine/CommandInfo.cs | 2 +- .../engine/CommandMetadata.cs | 2 +- .../engine/CommandParameter.cs | 2 +- .../engine/CommandPathSearch.cs | 2 +- .../engine/CommandProcessor.cs | 2 +- .../engine/CommandProcessorBase.cs | 2 +- .../engine/CommandSearcher.cs | 2 +- .../engine/CommonCommandParameters.cs | 2 +- .../engine/CompiledCommandParameter.cs | 2 +- .../engine/ConfigurationInfo.cs | 2 +- .../engine/ContentCmdletProviderInterfaces.cs | 2 +- .../engine/CoreAdapter.cs | 50 +- .../engine/Credential.cs | 2 +- .../engine/CultureVariable.cs | 2 +- .../engine/DataStoreAdapter.cs | 2 +- .../engine/DataStoreAdapterProvider.cs | 2 +- .../engine/DefaultCommandRuntime.cs | 2 +- .../engine/DriveInterfaces.cs | 2 +- .../engine/DriveNames.cs | 2 +- .../engine/DscResourceInfo.cs | 2 +- .../engine/DscResourceSearcher.cs | 2 +- .../engine/EngineIntrinsics.cs | 2 +- .../engine/EnumExpressionEvaluator.cs | 2 +- .../engine/EnumMinimumDisambiguation.cs | 2 +- .../engine/ErrorPackage.cs | 2 +- .../engine/EventManager.cs | 2 +- .../engine/ExecutionContext.cs | 6 +- .../engine/ExtendedTypeSystemException.cs | 2 +- .../engine/ExternalScriptInfo.cs | 2 +- .../engine/ExtraAdapter.cs | 2 +- .../engine/FilterInfo.cs | 2 +- .../engine/FunctionInfo.cs | 2 +- .../engine/GetCommandCommand.cs | 2 +- .../engine/ICommandRuntime.cs | 2 +- .../engine/InformationRecord.cs | 2 +- .../engine/InitialSessionState.cs | 2 +- .../engine/InternalCommands.cs | 22 +- .../engine/InvocationInfo.cs | 2 +- .../engine/ItemCmdletProviderInterfaces.cs | 2 +- .../engine/LanguagePrimitives.cs | 2 +- .../engine/ManagementObjectAdapter.cs | 2 +- .../engine/MergedCommandParameterMetadata.cs | 2 +- .../MinishellParameterBinderController.cs | 2 +- .../engine/Modules/AnalysisCache.cs | 2 +- .../Modules/ExportModuleMemberCommand.cs | 2 +- .../engine/Modules/GetModuleCommand.cs | 2 +- .../engine/Modules/ImportModuleCommand.cs | 6 +- .../engine/Modules/ModuleCmdletBase.cs | 2 +- .../engine/Modules/ModuleIntrinsics.cs | 2 +- .../engine/Modules/ModuleSpecification.cs | 2 +- .../engine/Modules/ModuleUtils.cs | 2 +- .../engine/Modules/NewModuleCommand.cs | 2 +- .../Modules/NewModuleManifestCommand.cs | 12 +- .../engine/Modules/PSModuleInfo.cs | 2 +- .../engine/Modules/RemoteDiscoveryHelper.cs | 2 +- .../engine/Modules/RemoveModuleCommand.cs | 2 +- .../engine/Modules/ScriptAnalysis.cs | 2 +- .../Modules/TestModuleManifestCommand.cs | 6 +- .../engine/MshCmdlet.cs | 2 +- .../engine/MshCommandRuntime.cs | 2 +- .../engine/MshMemberInfo.cs | 2 +- .../engine/MshObject.cs | 2 +- .../engine/MshObjectTypeDescriptor.cs | 2 +- .../engine/MshReference.cs | 2 +- .../engine/MshSecurityException.cs | 2 +- .../engine/MshSnapinQualifiedName.cs | 2 +- .../engine/NativeCommand.cs | 2 +- .../engine/NativeCommandParameterBinder.cs | 2 +- .../NativeCommandParameterBinderController.cs | 2 +- .../engine/NativeCommandProcessor.cs | 2 +- .../engine/NullString.cs | 2 +- .../engine/ObjectEventRegistrationBase.cs | 2 +- .../engine/PSClassInfo.cs | 2 +- .../engine/PSClassSearcher.cs | 2 +- .../engine/PSVersionInfo.cs | 2 +- .../engine/ParameterBinderBase.cs | 2 +- .../engine/ParameterBinderController.cs | 2 +- .../engine/ParameterInfo.cs | 2 +- .../engine/ParameterSetInfo.cs | 2 +- .../engine/ParameterSetPromptingData.cs | 2 +- .../engine/ParameterSetSpecificMetadata.cs | 2 +- .../engine/PathInterfaces.cs | 2 +- .../engine/Pipe.cs | 2 +- .../engine/PositionalCommandParameter.cs | 2 +- .../engine/ProgressRecord.cs | 2 +- .../PropertyCmdletProviderInterfaces.cs | 2 +- .../engine/ProviderInterfaces.cs | 2 +- .../engine/ProviderNames.cs | 2 +- .../engine/ProxyCommand.cs | 2 +- .../engine/PseudoParameterBinder.cs | 2 +- .../engine/PseudoParameters.cs | 2 +- .../engine/QuestionMarkVariable.cs | 2 +- .../engine/ReflectionParameterBinder.cs | 2 +- .../engine/RunspaceConfigurationEntry.cs | 4 +- .../engine/ScopedItemSearcher.cs | 2 +- .../engine/ScriptCommand.cs | 2 +- .../engine/ScriptCommandProcessor.cs | 2 +- .../engine/ScriptInfo.cs | 2 +- ...urityDescriptorCmdletProviderInterfaces.cs | 2 +- .../engine/SecurityManagerBase.cs | 2 +- .../engine/SerializationStrings.cs | 2 +- .../engine/SessionState.cs | 2 +- .../engine/SessionStateAliasAPIs.cs | 2 +- .../engine/SessionStateCmdletAPIs.cs | 2 +- .../engine/SessionStateContainer.cs | 2 +- .../engine/SessionStateContent.cs | 2 +- .../engine/SessionStateDriveAPIs.cs | 2 +- .../engine/SessionStateDynamicProperty.cs | 2 +- .../engine/SessionStateFunctionAPIs.cs | 2 +- .../engine/SessionStateItem.cs | 2 +- .../engine/SessionStateLocationAPIs.cs | 2 +- .../engine/SessionStateNavigation.cs | 2 +- .../engine/SessionStateProperty.cs | 2 +- .../engine/SessionStateProviderAPIs.cs | 2 +- .../engine/SessionStatePublic.cs | 2 +- .../engine/SessionStateScope.cs | 2 +- .../engine/SessionStateScopeAPIs.cs | 2 +- .../engine/SessionStateScopeEnumerator.cs | 2 +- ...SessionStateSecurityDescriptorInterface.cs | 2 +- .../engine/SessionStateStrings.cs | 2 +- .../engine/SessionStateUtils.cs | 2 +- .../engine/SessionStateVariableAPIs.cs | 2 +- .../engine/ShellVariable.cs | 2 +- .../engine/SpecialVariables.cs | 2 +- .../engine/ThirdPartyAdapter.cs | 2 +- .../engine/TransactedString.cs | 2 +- .../engine/TransactionManager.cs | 2 +- .../engine/TypeMetadata.cs | 2 +- .../engine/TypeTable.cs | 2 +- .../engine/UserFeedbackParameters.cs | 2 +- .../engine/Utils.cs | 2 +- .../engine/VariableAttributeCollection.cs | 2 +- .../engine/VariableInterfaces.cs | 2 +- .../engine/VariablePath.cs | 2 +- .../engine/WinRT/IInspectable.cs | 2 +- .../engine/WorkflowInfo.cs | 2 +- .../engine/cmdlet.cs | 2 +- .../engine/debugger/Breakpoint.cs | 2 +- .../engine/debugger/debugger.cs | 4 +- .../engine/hostifaces/AsyncResult.cs | 2 +- .../engine/hostifaces/ChoiceDescription.cs | 2 +- .../engine/hostifaces/Command.cs | 2 +- .../engine/hostifaces/Connection.cs | 2 +- .../engine/hostifaces/ConnectionBase.cs | 2 +- .../engine/hostifaces/ConnectionFactory.cs | 2 +- .../engine/hostifaces/DefaultHost.cs | 2 +- .../engine/hostifaces/FieldDescription.cs | 2 +- .../engine/hostifaces/History.cs | 2 +- .../engine/hostifaces/InformationalRecord.cs | 2 +- .../engine/hostifaces/InternalHost.cs | 2 +- .../InternalHostRawUserInterface.cs | 2 +- .../hostifaces/InternalHostUserInterface.cs | 2 +- .../engine/hostifaces/ListModifier.cs | 2 +- .../engine/hostifaces/LocalConnection.cs | 2 +- .../engine/hostifaces/LocalPipeline.cs | 2 +- .../engine/hostifaces/MshHost.cs | 2 +- .../hostifaces/MshHostRawUserInterface.cs | 2 +- .../engine/hostifaces/MshHostUserInterface.cs | 2 +- .../hostifaces/NativeCultureResolver.cs | 2 +- .../engine/hostifaces/PSCommand.cs | 2 +- .../engine/hostifaces/PSDataCollection.cs | 2 +- .../engine/hostifaces/Parameter.cs | 2 +- .../engine/hostifaces/Pipeline.cs | 2 +- .../engine/hostifaces/PowerShell.cs | 2 +- .../hostifaces/PowerShellProcessInstance.cs | 2 +- .../engine/hostifaces/RunspaceInit.cs | 2 +- .../engine/hostifaces/RunspaceInvoke.cs | 2 +- .../engine/hostifaces/RunspacePool.cs | 2 +- .../engine/hostifaces/RunspacePoolInternal.cs | 2 +- .../internalHostuserInterfacesecurity.cs | 2 +- .../engine/hostifaces/pipelinebase.cs | 2 +- .../engine/interpreter/Utilities.cs | 2 +- .../engine/lang/codegen.cs | 2 +- .../engine/lang/interface/PSParseError.cs | 2 +- .../engine/lang/interface/PSParser.cs | 2 +- .../engine/lang/interface/PSToken.cs | 2 +- .../engine/lang/parserutils.cs | 2 +- .../engine/lang/scriptblock.cs | 2 +- .../engine/parser/AstVisitor.cs | 2 +- .../engine/parser/CharTraits.cs | 2 +- .../engine/parser/Compiler.cs | 2 +- .../engine/parser/ConstantValues.cs | 2 +- .../engine/parser/FusionAssemblyIdentity.cs | 2 +- .../engine/parser/GlobalAssemblyCache.cs | 2 +- .../engine/parser/PSType.cs | 4 +- .../engine/parser/Parser.cs | 2 +- .../engine/parser/Position.cs | 2 +- .../engine/parser/PreOrderVisitor.cs | 2 +- .../engine/parser/SafeValues.cs | 2 +- .../engine/parser/SemanticChecks.cs | 2 +- .../engine/parser/SymbolResolver.cs | 2 +- .../engine/parser/TypeResolver.cs | 2 +- .../engine/parser/VariableAnalysis.cs | 2 +- .../engine/parser/ast.cs | 2 +- .../engine/parser/token.cs | 2 +- .../engine/parser/tokenizer.cs | 2 +- .../engine/pipeline.cs | 2 +- .../engine/regex.cs | 2 +- .../remoting/client/ClientMethodExecutor.cs | 2 +- .../remoting/client/ClientRemotePowerShell.cs | 2 +- .../engine/remoting/client/Job.cs | 2 +- .../engine/remoting/client/Job2.cs | 2 +- .../engine/remoting/client/JobManager.cs | 2 +- .../remoting/client/JobSourceAdapter.cs | 2 +- .../engine/remoting/client/PSProxyJob.cs | 2 +- .../remoting/client/PowerShellStreams.cs | 2 +- .../client/RemoteRunspacePoolInternal.cs | 2 +- .../remoting/client/RemotingErrorRecord.cs | 2 +- .../remoting/client/RemotingProtocol2.cs | 2 +- .../engine/remoting/client/RunspaceRef.cs | 2 +- .../engine/remoting/client/ThrottlingJob.cs | 2 +- .../remoting/client/clientremotesession.cs | 2 +- ...clientremotesessionprotocolstatemachine.cs | 2 +- .../engine/remoting/client/remotepipeline.cs | 2 +- .../engine/remoting/client/remoterunspace.cs | 2 +- .../remoting/client/remoterunspaceinfo.cs | 2 +- .../remoting/client/remotingprotocol.cs | 2 +- .../client/remotingprotocolimplementation.cs | 2 +- .../remoting/commands/ConnectPSSession.cs | 2 +- .../remoting/commands/CustomShellCommands.cs | 2 +- .../engine/remoting/commands/DebugJob.cs | 2 +- .../remoting/commands/DisconnectPSSession.cs | 2 +- .../commands/EnterPSHostProcessCommand.cs | 2 +- .../engine/remoting/commands/GetJob.cs | 2 +- .../remoting/commands/InvokeCommandCommand.cs | 2 +- .../engine/remoting/commands/JobRepository.cs | 2 +- .../NewPSSessionConfigurationOptionCommand.cs | 2 +- .../commands/NewPSSessionOptionCommand.cs | 140 ++--- .../remoting/commands/PSRemotingCmdlet.cs | 2 +- .../remoting/commands/PopRunspaceCommand.cs | 2 +- .../remoting/commands/PushRunspaceCommand.cs | 4 +- .../engine/remoting/commands/ReceiveJob.cs | 2 +- .../remoting/commands/ReceivePSSession.cs | 2 +- .../engine/remoting/commands/RemoveJob.cs | 2 +- .../engine/remoting/commands/ResumeJob.cs | 2 +- .../engine/remoting/commands/StartJob.cs | 2 +- .../engine/remoting/commands/StopJob.cs | 2 +- .../engine/remoting/commands/SuspendJob.cs | 2 +- .../TestPSSessionConfigurationFile.cs | 2 +- .../engine/remoting/commands/WaitJob.cs | 2 +- .../remoting/commands/getrunspacecommand.cs | 2 +- .../remoting/commands/newrunspacecommand.cs | 2 +- .../remoting/commands/remotingcommandutil.cs | 2 +- .../commands/removerunspacecommand.cs | 2 +- .../remoting/commands/runspacerepository.cs | 2 +- .../engine/remoting/common/AsyncObject.cs | 2 +- .../engine/remoting/common/DispatchTable.cs | 2 +- .../engine/remoting/common/Indexer.cs | 2 +- .../engine/remoting/common/ObjectRef.cs | 2 +- .../engine/remoting/common/PSETWTracer.cs | 2 +- .../PSSessionConfigurationTypeOption.cs | 2 +- .../common/RemoteSessionHyperVSocket.cs | 2 +- .../remoting/common/RemoteSessionNamedPipe.cs | 2 +- .../remoting/common/RunspaceConnectionInfo.cs | 162 ++--- .../remoting/common/RunspaceInitInfo.cs | 2 +- .../remoting/common/RunspacePoolStateInfo.cs | 2 +- .../common/WireDataFormat/EncodeAndDecode.cs | 2 +- .../common/WireDataFormat/RemoteHost.cs | 2 +- .../WireDataFormat/RemoteHostEncoder.cs | 2 +- .../WireDataFormat/RemoteSessionCapability.cs | 2 +- .../WireDataFormat/RemotingDataObject.cs | 2 +- .../engine/remoting/common/fragmentor.cs | 2 +- .../engine/remoting/common/misc.cs | 2 +- .../engine/remoting/common/psstreamobject.cs | 2 +- .../engine/remoting/common/remotesession.cs | 2 +- .../remoting/common/remotingexceptions.cs | 2 +- .../engine/remoting/common/throttlemanager.cs | 2 +- .../remoting/fanin/BaseTransportManager.cs | 2 +- .../fanin/InitialSessionStateProvider.cs | 2 +- .../fanin/OutOfProcTransportManager.cs | 6 +- .../engine/remoting/fanin/PSPrincipal.cs | 2 +- .../fanin/PSSessionConfigurationData.cs | 2 +- .../remoting/fanin/PriorityCollection.cs | 2 +- .../engine/remoting/fanin/WSManNativeAPI.cs | 2 +- .../engine/remoting/fanin/WSManPlugin.cs | 2 +- .../remoting/fanin/WSManPluginFacade.cs | 2 +- .../remoting/fanin/WSManPluginShellSession.cs | 2 +- .../fanin/WSManPluginTransportManager.cs | 2 +- .../remoting/fanin/WSManTransportManager.cs | 2 +- .../remoting/host/RemoteHostMethodInfo.cs | 2 +- .../server/OutOfProcServerMediator.cs | 2 +- .../remoting/server/ServerMethodExecutor.cs | 2 +- .../remoting/server/ServerPowerShellDriver.cs | 2 +- .../remoting/server/ServerRemoteHost.cs | 2 +- .../ServerRemoteHostRawUserInterface.cs | 2 +- .../server/ServerRemoteHostUserInterface.cs | 2 +- .../server/ServerRemotingProtocol2.cs | 2 +- .../server/ServerRunspacePoolDriver.cs | 2 +- .../server/ServerSteppablePipelineDriver.cs | 2 +- .../ServerSteppablePipelineSubscriber.cs | 2 +- .../remoting/server/WSManChannelEvents.cs | 2 +- .../remoting/server/serverremotesession.cs | 2 +- .../server/serverremotesessionstatemachine.cs | 2 +- .../remoting/server/serverremotingprotocol.cs | 2 +- .../serverremotingprotocolimplementation.cs | 2 +- .../engine/runtime/Binding/Binders.cs | 2 +- .../engine/runtime/CompiledScriptBlock.cs | 2 +- .../engine/runtime/Operations/ArrayOps.cs | 2 +- .../engine/runtime/Operations/ClassOps.cs | 2 +- .../engine/runtime/Operations/MiscOps.cs | 10 +- .../engine/runtime/Operations/NumericOps.cs | 2 +- .../engine/runtime/Operations/StringOps.cs | 2 +- .../engine/runtime/Operations/VariableOps.cs | 2 +- .../engine/runtime/ScriptBlockToPowerShell.cs | 2 +- .../engine/scriptparameterbinder.cs | 2 +- .../engine/scriptparameterbindercontroller.cs | 2 +- .../engine/serialization.cs | 2 +- .../help/AliasHelpInfo.cs | 2 +- .../help/AliasHelpProvider.cs | 2 +- .../help/BaseCommandHelpInfo.cs | 20 +- .../help/CabinetAPI.cs | 2 +- .../help/CabinetNativeApi.cs | 2 +- .../help/CommandHelpProvider.cs | 64 +- .../help/DefaultCommandHelpObjectBuilder.cs | 2 +- .../help/DefaultHelpProvider.cs | 2 +- .../help/DscResourceHelpProvider.cs | 2 +- .../help/HelpCategoryInvalidException.cs | 2 +- .../help/HelpCommands.cs | 2 +- .../help/HelpCommentsParser.cs | 2 +- .../help/HelpErrorTracer.cs | 2 +- .../help/HelpFileHelpInfo.cs | 2 +- .../help/HelpFileHelpProvider.cs | 2 +- .../help/HelpInfo.cs | 2 +- .../help/HelpNotFoundException.cs | 2 +- .../help/HelpProvider.cs | 2 +- .../help/HelpProviderWithCache.cs | 2 +- .../help/HelpProviderWithFullCache.cs | 2 +- .../help/HelpRequest.cs | 2 +- .../help/HelpSystem.cs | 2 +- .../help/MUIFileSearcher.cs | 2 +- .../help/MamlClassHelpInfo.cs | 2 +- .../help/MamlCommandHelpInfo.cs | 2 +- .../help/MamlNode.cs | 2 +- .../help/MamlUtil.cs | 2 +- .../help/PSClassHelpProvider.cs | 2 +- .../help/ProviderCommandHelpInfo.cs | 2 +- .../help/ProviderContext.cs | 2 +- .../help/ProviderHelpInfo.cs | 2 +- .../help/ProviderHelpProvider.cs | 2 +- .../help/RemoteHelpInfo.cs | 2 +- .../help/SaveHelpCommand.cs | 2 +- .../help/ScriptCommandHelpProvider.cs | 2 +- .../help/SyntaxHelpInfo.cs | 2 +- .../help/UpdatableHelpCommandBase.cs | 2 +- .../help/UpdatableHelpInfo.cs | 2 +- .../help/UpdatableHelpModuleInfo.cs | 2 +- .../help/UpdatableHelpSystem.cs | 2 +- .../help/UpdatableHelpUri.cs | 2 +- .../help/UpdateHelpCommand.cs | 2 +- .../logging/LogContext.cs | 2 +- .../logging/LogProvider.cs | 2 +- .../logging/MshLog.cs | 2 +- .../logging/eventlog/EventLogLogProvider.cs | 2 +- .../namespaces/AliasProvider.cs | 2 +- .../namespaces/ContainerProviderBase.cs | 2 +- .../namespaces/CoreCommandContext.cs | 2 +- .../namespaces/DriveProviderBase.cs | 2 +- .../namespaces/EnvironmentProvider.cs | 2 +- .../namespaces/FileSystemContentStream.cs | 2 +- .../namespaces/FileSystemProvider.cs | 2 +- .../namespaces/FileSystemSecurity.cs | 2 +- .../namespaces/FunctionProvider.cs | 2 +- .../namespaces/IContentProvider.cs | 2 +- .../namespaces/IContentReader.cs | 2 +- .../namespaces/IContentWriter.cs | 2 +- .../namespaces/IDynamicPropertyProvider.cs | 2 +- .../namespaces/IPermissionProvider.cs | 2 +- .../namespaces/IPropertiesProvider.cs | 2 +- .../namespaces/ItemProviderBase.cs | 2 +- .../namespaces/LocationGlobber.cs | 2 +- .../namespaces/NavigationProviderBase.cs | 2 +- .../namespaces/PathInfo.cs | 2 +- .../namespaces/ProviderBase.cs | 2 +- .../namespaces/ProviderBaseSecurity.cs | 2 +- .../ProviderDeclarationAttribute.cs | 2 +- .../namespaces/RegistryProvider.cs | 2 +- .../namespaces/RegistrySecurity.cs | 2 +- .../namespaces/RegistryWrapper.cs | 2 +- .../namespaces/SafeTransactionHandle.cs | 10 +- .../namespaces/SessionStateProviderBase.cs | 2 +- .../namespaces/StackInfo.cs | 2 +- .../namespaces/VariableProvider.cs | 2 +- .../security/Authenticode.cs | 2 +- .../security/CatalogHelper.cs | 2 +- .../security/CredentialParameter.cs | 2 +- .../security/MshSignature.cs | 2 +- .../security/SecureStringHelper.cs | 2 +- .../security/SecurityManager.cs | 2 +- .../security/SecuritySupport.cs | 10 +- .../security/nativeMethods.cs | 2 +- .../config/MshConsoleLoadException.cs | 2 +- .../singleshell/config/MshSnapinInfo.cs | 2 +- .../config/MshSnapinLoadException.cs | 2 +- .../utils/ArchitectureSensitiveAttribute.cs | 2 +- .../utils/BackgroundDispatcher.cs | 2 +- .../utils/ClrFacade.cs | 2 +- .../utils/CommandDiscoveryExceptions.cs | 2 +- .../utils/CommandProcessorExceptions.cs | 2 +- .../utils/CoreProviderCmdlets.cs | 2 +- .../utils/CryptoUtils.cs | 2 +- .../utils/EncodingUtils.cs | 2 +- .../utils/ExecutionExceptions.cs | 2 +- .../utils/ExtensionMethods.cs | 2 +- .../utils/FormatAndTypeDataHelper.cs | 2 +- .../utils/GraphicalHostReflectionWrapper.cs | 2 +- .../utils/HostInterfacesExceptions.cs | 2 +- .../utils/IObjectReader.cs | 2 +- .../utils/IObjectWriter.cs | 2 +- .../utils/MetadataExceptions.cs | 2 +- .../utils/MshArgumentException.cs | 2 +- .../utils/MshArgumentNullException.cs | 2 +- .../utils/MshArgumentOutOfRangeException.cs | 2 +- .../utils/MshInvalidOperationException.cs | 2 +- .../utils/MshNotImplementedException.cs | 2 +- .../utils/MshNotSupportedException.cs | 2 +- .../utils/MshObjectDisposedException.cs | 2 +- .../utils/MshTraceSource.cs | 2 +- .../utils/ObjectReader.cs | 2 +- .../utils/ObjectStream.cs | 2 +- .../utils/ObjectWriter.cs | 2 +- .../utils/PInvokeDllNames.cs | 2 +- .../utils/PSTelemetryMethods.cs | 2 +- .../utils/PSTelemetryWrapper.cs | 2 +- .../utils/ParameterBinderExceptions.cs | 2 +- .../utils/ParserException.cs | 2 +- .../utils/PathUtils.cs | 2 +- .../utils/PlatformInvokes.cs | 2 +- .../utils/PowerShellETWTracer.cs | 2 +- .../utils/PowerShellExecutionHelper.cs | 2 +- .../utils/PsUtils.cs | 2 +- .../utils/ResourceManagerCache.cs | 2 +- .../utils/RuntimeException.cs | 2 +- .../utils/SessionStateExceptions.cs | 2 +- .../utils/StringUtil.cs | 2 +- .../utils/StructuredTraceSource.cs | 2 +- .../utils/Verbs.cs | 2 +- .../utils/assert.cs | 2 +- .../perfCounters/CounterSetInstanceBase.cs | 2 +- .../perfCounters/CounterSetRegistrarBase.cs | 2 +- .../utils/perfCounters/PSPerfCountersMgr.cs | 2 +- .../utils/tracing/EtwActivity.cs | 2 +- .../utils/tracing/EtwActivityReverter.cs | 2 +- .../EtwActivityReverterMethodInvoker.cs | 2 +- .../utils/tracing/EtwEventCorrelator.cs | 2 +- .../utils/tracing/IMethodInvoker.cs | 2 +- .../utils/tracing/PSEtwLog.cs | 2 +- .../utils/tracing/PSEtwLogProvider.cs | 2 +- .../utils/tracing/Tracing.cs | 2 +- .../nativemsh/pwrshcommon/ClrHostWrapper.h | 40 +- .../nativemsh/pwrshcommon/ConfigFileReader.h | 4 +- .../pwrshcommon/IPwrshCommonOutput.h | 2 +- .../nativemsh/pwrshcommon/NativeMsh.h | 6 +- .../pwrshcommon/NativeMshConstants.h | 6 +- .../nativemsh/pwrshcommon/SystemCallFacade.h | 4 +- .../pwrshcommon/WinSystemCallFacade.cpp | 4 +- .../pwrshcommon/WinSystemCallFacade.h | 4 +- .../nativemsh/pwrshcommon/pwrshcommon.cpp | 38 +- .../nativemsh/pwrshexe/CssMainEntry.cpp | 6 +- .../nativemsh/pwrshexe/MainEntry.cpp | 138 ++--- .../nativemsh/pwrshexe/MshResources.rc | 8 +- .../nativemsh/pwrshexe/NativeMsh.mc | 4 +- .../nativemsh/pwrshexe/OutputWriter.h | 4 +- .../nativemsh/pwrshexe/version.rc | 2 +- .../nativemsh/pwrshplugin/entrypoints.cpp | 98 +-- .../nativemsh/pwrshplugin/entrypoints.h | 4 +- .../nativemsh/pwrshplugin/pwrshclrhost.cpp | 38 +- .../nativemsh/pwrshplugin/pwrshclrhost.h | 12 +- .../nativemsh/pwrshplugin/pwrshheaders.h | 4 +- .../nativemsh/pwrshplugin/pwrshplugin.h | 114 ++-- .../pwrshplugin/pwrshpluginResources.rc | 2 +- .../nativemsh/pwrshplugin/pwrshplugindefs.h | 6 +- .../pwrshplugin/pwrshpluginerrorcodes.mc | 2 +- .../nativemsh/pwrshplugin/version.rc | 2 +- src/powershell/Program.cs | 2 +- test/PSReadLine/AssemblyInfo.cs | 2 +- .../Scripting.Classes.BasicParsing.Tests.ps1 | 2 +- .../scripting.Classes.inheritance.tests.ps1 | 2 +- .../Classes/scripting.enums.tests.ps1 | 2 +- .../Debugging/DebuggerScriptTests.Tests.ps1 | 2 +- .../Debugging/DebuggingInHost.Tests.ps1 | 2 +- .../PSSessionConfiguration.Tests.ps1 | 2 +- ...ster.Commands.Cmdlets.GetCommand.Tests.ps1 | 34 +- ...Cmdlets.LocalAccounts.LocalGroup.Tests.ps1 | 2 +- ...s.LocalAccounts.LocalGroupMember.Tests.ps1 | 8 +- ....Cmdlets.LocalAccounts.LocalUser.Tests.ps1 | 2 +- .../Copy.Item.Tests.ps1 | 2 +- .../TimeZone.Tests.ps1 | 4 +- .../FileCatalog.Tests.ps1 | 2 +- .../UserConfigProv/UserConfigProv.psd1 | 2 +- .../FormatHex.Tests.ps1 | 2 +- .../NewTemporaryFile.Tests.ps1 | 2 +- .../Pester.Commands.Cmdlets.Json.Tests.ps1 | 6 +- .../WebCmdlets.Tests.ps1 | 18 +- .../Cdxml/assets/CimTest/CdxmlTest.psd1 | 2 +- .../Modules/HelpersCommon/HelpersCommon.psd1 | 2 +- .../Modules/HelpersHostCS/HelpersHostCS.psd1 | 2 +- .../HelpersLanguage/HelpersLanguage.psd1 | 2 +- .../HelpersRemoting/HelpersRemoting.psd1 | 2 +- .../Modules/HttpListener/HttpListener.psd1 | 2 +- test/tools/OpenCover/OpenCover.psd1 | 2 +- tools/packaging/packaging.psd1 | 2 +- tools/packaging/project/powershell.nuspec | 2 +- 1058 files changed, 1912 insertions(+), 1912 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index 1df45821db..f2618346d7 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,25 +1,25 @@ PowerShell 6.0 -Copyright (c) Microsoft Corporation +Copyright (c) Microsoft Corporation. All rights reserved. -All rights reserved. +All rights reserved. MIT License -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the ""Software""), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the ""Software""), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/assets/AppImageThirdPartyNotices.txt b/assets/AppImageThirdPartyNotices.txt index 53e24978b4..0eaf1e0cd5 100644 --- a/assets/AppImageThirdPartyNotices.txt +++ b/assets/AppImageThirdPartyNotices.txt @@ -5,7 +5,7 @@ -Copyright © 1991-2016 Unicode, Inc. All rights reserved. +Copyright (c) 1991-2016 Unicode, Inc. All rights reserved. Distributed under the Terms of Use in http://www.unicode.org/copyright.html Permission is hereby granted, free of charge, to any person obtaining diff --git a/assets/pwsh.1.ronn b/assets/pwsh.1.ronn index 8560f44e3b..01e57148be 100644 --- a/assets/pwsh.1.ronn +++ b/assets/pwsh.1.ronn @@ -119,5 +119,5 @@ These are automatically defined PowerShell-language variables. ## COPYRIGHT -Copyright (c) 2016 Microsoft Corporation. +Copyright (c) Microsoft Corporation. All rights reserved. diff --git a/demos/SSHRemoting/README.md b/demos/SSHRemoting/README.md index e4d8035c4e..2d9f06e3f7 100644 --- a/demos/SSHRemoting/README.md +++ b/demos/SSHRemoting/README.md @@ -175,7 +175,7 @@ Microsoft Windows [Version 10.0.10586] # C:\Users\PSUser\Documents>pwsh.exe PowerShell -Copyright (C) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. PS C:\Users\PSUser\Documents> $session = New-PSSession -HostName WinVM2 -UserName PSRemoteUser The authenticity of host 'WinVM2 (10.13.37.3)' can't be established. diff --git a/demos/crontab/CronTab/CronTab.psd1 b/demos/crontab/CronTab/CronTab.psd1 index 4c8f772bf2..02374b1d79 100755 --- a/demos/crontab/CronTab/CronTab.psd1 +++ b/demos/crontab/CronTab/CronTab.psd1 @@ -19,7 +19,7 @@ Author = 'Microsoft' CompanyName = 'Unknown' # Copyright statement for this module -Copyright = '(c) 2016 Microsoft. All rights reserved.' +Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Sample module for managing CronTab' diff --git a/docker/README.md b/docker/README.md index ab6ada0c92..ebe45dbecd 100644 --- a/docker/README.md +++ b/docker/README.md @@ -46,7 +46,7 @@ adf6ad28fa0e: Pull complete Digest: sha256:92c79c5fcdaf3027626643aef556344b8b4cbdaccf8443f543303319949c7f3a Status: Downloaded newer image for microsoft/powershell:latest PowerShell -Copyright © 2016 Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. PS /> Write-Host "Hello, World!" Hello, World! diff --git a/docs/host-powershell/sample-dotnet1.1/Logic/UseRunspace.cs b/docs/host-powershell/sample-dotnet1.1/Logic/UseRunspace.cs index b13a08c244..f9aa64abfd 100644 --- a/docs/host-powershell/sample-dotnet1.1/Logic/UseRunspace.cs +++ b/docs/host-powershell/sample-dotnet1.1/Logic/UseRunspace.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Management.Automation; diff --git a/docs/host-powershell/sample-dotnet1.1/MyApp/Program.cs b/docs/host-powershell/sample-dotnet1.1/MyApp/Program.cs index f0fa6b5fed..9391a58982 100644 --- a/docs/host-powershell/sample-dotnet1.1/MyApp/Program.cs +++ b/docs/host-powershell/sample-dotnet1.1/MyApp/Program.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; @@ -7,7 +7,7 @@ using System.Reflection; namespace Application.Test { - public class Program + public class Program { /// /// Managed entry point shim, which starts the actual program @@ -15,10 +15,10 @@ namespace Application.Test public static int Main(string[] args) { // Application needs to use PowerShell AssemblyLoadContext if it needs to create powershell runspace - // PowerShell engine depends on PS ALC to provide the necessary assembly loading/searching support that is missing from .NET Core + // PowerShell engine depends on PS ALC to provide the necessary assembly loading/searching support that is missing from .NET Core string appBase = System.IO.Path.GetDirectoryName(typeof(Program).GetTypeInfo().Assembly.Location); System.Console.WriteLine("\nappBase: {0}", appBase); - + // Initialize the PS ALC and let it load 'Logic.dll' and start the execution return (int)PowerShellAssemblyLoadContextInitializer. InitializeAndCallEntryMethod( diff --git a/docs/host-powershell/sample-dotnet2.0-powershell.beta.1/Logic/UseRunspace.cs b/docs/host-powershell/sample-dotnet2.0-powershell.beta.1/Logic/UseRunspace.cs index b13a08c244..f9aa64abfd 100644 --- a/docs/host-powershell/sample-dotnet2.0-powershell.beta.1/Logic/UseRunspace.cs +++ b/docs/host-powershell/sample-dotnet2.0-powershell.beta.1/Logic/UseRunspace.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Management.Automation; diff --git a/docs/host-powershell/sample-dotnet2.0-powershell.beta.1/MyApp/Program.cs b/docs/host-powershell/sample-dotnet2.0-powershell.beta.1/MyApp/Program.cs index f0fa6b5fed..9391a58982 100644 --- a/docs/host-powershell/sample-dotnet2.0-powershell.beta.1/MyApp/Program.cs +++ b/docs/host-powershell/sample-dotnet2.0-powershell.beta.1/MyApp/Program.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; @@ -7,7 +7,7 @@ using System.Reflection; namespace Application.Test { - public class Program + public class Program { /// /// Managed entry point shim, which starts the actual program @@ -15,10 +15,10 @@ namespace Application.Test public static int Main(string[] args) { // Application needs to use PowerShell AssemblyLoadContext if it needs to create powershell runspace - // PowerShell engine depends on PS ALC to provide the necessary assembly loading/searching support that is missing from .NET Core + // PowerShell engine depends on PS ALC to provide the necessary assembly loading/searching support that is missing from .NET Core string appBase = System.IO.Path.GetDirectoryName(typeof(Program).GetTypeInfo().Assembly.Location); System.Console.WriteLine("\nappBase: {0}", appBase); - + // Initialize the PS ALC and let it load 'Logic.dll' and start the execution return (int)PowerShellAssemblyLoadContextInitializer. InitializeAndCallEntryMethod( diff --git a/docs/host-powershell/sample-dotnet2.0-powershell.beta.3/MyApp/Program.cs b/docs/host-powershell/sample-dotnet2.0-powershell.beta.3/MyApp/Program.cs index 207028a2d1..92f0375196 100644 --- a/docs/host-powershell/sample-dotnet2.0-powershell.beta.3/MyApp/Program.cs +++ b/docs/host-powershell/sample-dotnet2.0-powershell.beta.3/MyApp/Program.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; @@ -7,7 +7,7 @@ using System.Management.Automation; namespace Application.Test { - public class Program + public class Program { /// /// Managed entry point shim, which starts the actual program diff --git a/license_thirdparty_proprietary.txt b/license_thirdparty_proprietary.txt index 86d445c893..911a40b8dc 100644 --- a/license_thirdparty_proprietary.txt +++ b/license_thirdparty_proprietary.txt @@ -1,69 +1,69 @@ PowerShell 6.0 -Copyright (c) Microsoft Corporation -All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. +All rights reserved. MIT License -Permission is hereby granted, free of charge, to any person obtaining a copy of this -software and associated documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to the following +Permission is hereby granted, free of charge, to any person obtaining a copy of this +software and associated documentation files (the "Software"), to deal in the Software +without restriction, including without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all copies +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE +THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -IMPORTANT NOTICE: THE SOFTWARE ALSO CONTAINS THIRD PARTY AND OTHER -PROPRIETARY SOFTWARE THAT ARE GOVERNED BY SEPARATE LICENSE TERMS. BY ACCEPTING -THE LICENSE TERMS ABOVE, YOU ALSO ACCEPT THE LICENSE TERMS GOVERNING THE +IMPORTANT NOTICE: THE SOFTWARE ALSO CONTAINS THIRD PARTY AND OTHER +PROPRIETARY SOFTWARE THAT ARE GOVERNED BY SEPARATE LICENSE TERMS. BY ACCEPTING +THE LICENSE TERMS ABOVE, YOU ALSO ACCEPT THE LICENSE TERMS GOVERNING THE THIRD PARTY AND OTHER SOFTWARE, WHICH ARE SET FORTH BELOW: -The following components listed are governed by the license terms that follow the -component(s) name: +The following components listed are governed by the license terms that follow the +component(s) name: ------------------------------------------------------ Libmi.so ------------------------------------------------------ -Copyright (c) Microsoft Corporation -All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. +All rights reserved. MIT License -Permission is hereby granted, free of charge, to any person obtaining a copy of this -software and associated documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to the following +Permission is hereby granted, free of charge, to any person obtaining a copy of this +software and associated documentation files (the "Software"), to deal in the Software +without restriction, including without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all copies +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE +THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -The following components are governed by the MIT license, a copy of which appears -below the list of components: +The following components are governed by the MIT license, a copy of which appears +below the list of components: ------------------------------------------------------ Newtonsoft.Json ------------------------------------------------------ Copyright (c) 2007 James Newton-King -All rights reserved. +All rights reserved. MIT License -Permission is hereby granted, free of charge, to any person obtaining a copy of this -software and associated documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to the following +Permission is hereby granted, free of charge, to any person obtaining a copy of this +software and associated documentation files (the "Software"), to deal in the Software +without restriction, including without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all copies +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE +THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------- Libuv v.1.9.0 @@ -71,7 +71,7 @@ Libuv v.1.9.0 https://raw.githubusercontent.com/aspnet/libuv-package/dev/content/License.txt -This software is licensed to you by Microsoft Corporation under the original terms of +This software is licensed to you by Microsoft Corporation under the original terms of the copyright holder provided below: ========================================= @@ -111,7 +111,7 @@ The externally maintained libraries used by libuv are: - tree.h (from FreeBSD), copyright Niels Provos. Two clause BSD license. - inet_pton and inet_ntop implementations, contained in src/inet.c, are -copyright the Internet Systems Consortium, Inc., and licensed under the ISC +copyright the Internet Systems Consortium, Inc., and licensed under the ISC license. - stdint-msvc2008.h (from msinttypes), copyright Alexander Chemeris. Three @@ -120,7 +120,7 @@ license. - pthread-fixes.h, pthread-fixes.c, copyright Google Inc. and Sony Mobile Communications AB. Three clause BSD license. - - android-ifaddrs.h, android-ifaddrs.c, copyright Berkeley Software Design Inc, + - android-ifaddrs.h, android-ifaddrs.c, copyright Berkeley Software Design Inc, Kenneth MacKay and Emergya (Cloud4all, FP7/2007-2013, grant agreement n° 289016). Three clause BSD license. @@ -414,135 +414,135 @@ limitations under the License. • System.Xml.XPath.XmlDocument ------------------------------------------------------- -MICROSOFT SOFTWARE LICENSE TERMS -MICROSOFT .NET LIBRARY -These license terms are an agreement between Microsoft Corporation (or based on where you -live, one of its affiliates) and you. Please read them. They apply to the software named above, -which includes the media on which you received it, if any. The terms also apply to any Microsoft -• updates, -• supplements, -• Internet-based services, and -• support services -for this software, unless other terms accompany those items. If so, those terms apply. -BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT -USE THE SOFTWARE. -IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW. -1. INSTALLATION AND USE RIGHTS. -a. Installation and Use. You may install and use any number of copies of the software to design, -develop and test your programs. -b. Third Party Programs. The software may include third party programs that Microsoft, not the -third party, licenses to you under this agreement. Notices, if any, for the third party program are -included for your information only. -2. DATA. The software may collect information about you and your use of the software, and send that -to Microsoft. Microsoft may use this information to improve our products and services. You can learn -more about data collection and use in the help documentation and the privacy statement -at https://go.microsoft.com/fwlink/?LinkId=528096 . Your use of the software operates as your -consent to these practices. -3. ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS. -a. DISTRIBUTABLE CODE. The software is comprised of Distributable Code. “Distributable -Code” is code that you are permitted to distribute in programs you develop if you comply with -the terms below. -i . Right to Use and Distribute. -• You may copy and distribute the object code form of the software. -• Third Party Distribution. You may permit distributors of your programs to copy and -distribute the Distributable Code as part of those programs. -ii. Distribution Requirements. For any Distributable Code you distribute, you must -• add significant primary functionality to it in your programs; -• require distributors and external end users to agree to terms that protect it at least as -much as this agreement; -• display your valid copyright notice on your programs; and -• indemnify, defend, and hold harmless Microsoft from any claims, including attorneys’ -fees, related to the distribution or use of your programs. -iii. Distribution Restrictions. You may not -• alter any copyright, trademark or patent notice in the Distributable Code; -• use Microsoft’s trademarks in your programs’ names or in a way that suggests your -programs come from or are endorsed by Microsoft; -• include Distributable Code in malicious, deceptive or unlawful programs; or -• modify or distribute the source code of any Distributable Code so that any part of it -becomes subject to an Excluded License. An Excluded License is one that requires, as a -condition of use, modification or distribution, that -• the code be disclosed or distributed in source code form; or -• others have the right to modify it. -4. SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights to -use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite -this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you -must comply with any technical limitations in the software that only allow you to use it in certain ways. -You may not -• work around any technical limitations in the software; -• reverse engineer, decompile or disassemble the software, except and only to the extent that -applicable law expressly permits, despite this limitation; -• publish the software for others to copy; -• rent, lease or lend the software; -• transfer the software or this agreement to any third party; or -• use the software for commercial software hosting services. -5. BACKUP COPY. You may make one backup copy of the software. You may use it only to reinstall the -software. -6. DOCUMENTATION. Any person that has valid access to your computer or internal network may copy -and use the documentation for your internal, reference purposes. -7. EXPORT RESTRICTIONS. The software is subject to United States export laws and regulations. You -must comply with all domestic and international export laws and regulations that apply to the software. -These laws include restrictions on destinations, end users and end use. For additional information, -see www.microsoft.com/exporting. -8. SUPPORT SERVICES. Because this software is “as is,” we may not provide support services for it. -9. ENTIRE AGREEMENT. This agreement, and the terms for supplements, updates, Internet-based -services and support services that you use, are the entire agreement for the software and support -services. -10. APPLICABLE LAW. -a. United States. If you acquired the software in the United States, Washington state law governs the -interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws -principles. The laws of the state where you live govern all other claims, including claims under state -consumer protection laws, unfair competition laws, and in tort. -b. Outside the United States. If you acquired the software in any other country, the laws of -that country apply. -11. LEGAL EFFECT. This agreement describes certain legal rights. You may have other rights under the -laws of your country. You may also have rights with respect to the party from whom you acquired the -software. This agreement does not change your rights under the laws of your country if the laws of your -country do not permit it to do so. -12. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS-IS.” YOU BEAR THE RISK OF -USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. -YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR -LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED -UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. -FOR AUSTRALIA – YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER -LAW AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS. -13. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM -MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT -RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, -INDIRECT OR INCIDENTAL DAMAGES. -This limitation applies to -• anything related to the software, services, content (including code) on third party Internet sites, or -third party programs; and -• claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, -or other tort to the extent permitted by applicable law. -It also applies even if Microsoft knew or should have known about the possibility of the damages. The above -limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of -incidental, consequential or other damages. -Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are -provided below in French. -Remarque : Ce logiciel étant distribué au Québec, Canada, certaines des clauses dans ce contrat sont fournies -ci-dessous en français. -EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel ». Toute utilisation de ce -logiciel est à votre seule risque et péril. Microsoft n’accorde aucune autre garantie expresse. Vous pouvez -bénéficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne -peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualité marchande, -d’adéquation à un usage particulier et d’absence de contrefaçon sont exclues. -LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES -DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de -dommages directs uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune indemnisation -pour les autres dommages, y compris les dommages spéciaux, indirects ou accessoires et pertes de bénéfices. -Cette limitationconcerne: -• tout ce qui est relié au logiciel, aux services ou au contenu (y compris le code) figurant sur des -sites Internet tiers ou dans des programmes tiers ; et -• les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité -stricte, de négligence ou d’une autre faute dans la limite autorisée par la loi en vigueur. -Elle s’applique également, même si Microsoft connaissait ou devrait connaître l’éventualité d’un tel dommage. -Si votre pays n’autorise pas l’exclusion ou la limitation de responsabilité pour les dommages indirects, -accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l’exclusion ci-dessus ne -s’appliquera pas à votre égard. -EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir d’autres droits -prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que vous confèrent les lois de -votre pays si celles-ci ne le permettent pas. +MICROSOFT SOFTWARE LICENSE TERMS +MICROSOFT .NET LIBRARY +These license terms are an agreement between Microsoft Corporation (or based on where you +live, one of its affiliates) and you. Please read them. They apply to the software named above, +which includes the media on which you received it, if any. The terms also apply to any Microsoft +• updates, +• supplements, +• Internet-based services, and +• support services +for this software, unless other terms accompany those items. If so, those terms apply. +BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT +USE THE SOFTWARE. +IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW. +1. INSTALLATION AND USE RIGHTS. +a. Installation and Use. You may install and use any number of copies of the software to design, +develop and test your programs. +b. Third Party Programs. The software may include third party programs that Microsoft, not the +third party, licenses to you under this agreement. Notices, if any, for the third party program are +included for your information only. +2. DATA. The software may collect information about you and your use of the software, and send that +to Microsoft. Microsoft may use this information to improve our products and services. You can learn +more about data collection and use in the help documentation and the privacy statement +at https://go.microsoft.com/fwlink/?LinkId=528096 . Your use of the software operates as your +consent to these practices. +3. ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS. +a. DISTRIBUTABLE CODE. The software is comprised of Distributable Code. “Distributable +Code” is code that you are permitted to distribute in programs you develop if you comply with +the terms below. +i . Right to Use and Distribute. +• You may copy and distribute the object code form of the software. +• Third Party Distribution. You may permit distributors of your programs to copy and +distribute the Distributable Code as part of those programs. +ii. Distribution Requirements. For any Distributable Code you distribute, you must +• add significant primary functionality to it in your programs; +• require distributors and external end users to agree to terms that protect it at least as +much as this agreement; +• display your valid copyright notice on your programs; and +• indemnify, defend, and hold harmless Microsoft from any claims, including attorneys’ +fees, related to the distribution or use of your programs. +iii. Distribution Restrictions. You may not +• alter any copyright, trademark or patent notice in the Distributable Code; +• use Microsoft’s trademarks in your programs’ names or in a way that suggests your +programs come from or are endorsed by Microsoft; +• include Distributable Code in malicious, deceptive or unlawful programs; or +• modify or distribute the source code of any Distributable Code so that any part of it +becomes subject to an Excluded License. An Excluded License is one that requires, as a +condition of use, modification or distribution, that +• the code be disclosed or distributed in source code form; or +• others have the right to modify it. +4. SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights to +use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite +this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you +must comply with any technical limitations in the software that only allow you to use it in certain ways. +You may not +• work around any technical limitations in the software; +• reverse engineer, decompile or disassemble the software, except and only to the extent that +applicable law expressly permits, despite this limitation; +• publish the software for others to copy; +• rent, lease or lend the software; +• transfer the software or this agreement to any third party; or +• use the software for commercial software hosting services. +5. BACKUP COPY. You may make one backup copy of the software. You may use it only to reinstall the +software. +6. DOCUMENTATION. Any person that has valid access to your computer or internal network may copy +and use the documentation for your internal, reference purposes. +7. EXPORT RESTRICTIONS. The software is subject to United States export laws and regulations. You +must comply with all domestic and international export laws and regulations that apply to the software. +These laws include restrictions on destinations, end users and end use. For additional information, +see www.microsoft.com/exporting. +8. SUPPORT SERVICES. Because this software is “as is,” we may not provide support services for it. +9. ENTIRE AGREEMENT. This agreement, and the terms for supplements, updates, Internet-based +services and support services that you use, are the entire agreement for the software and support +services. +10. APPLICABLE LAW. +a. United States. If you acquired the software in the United States, Washington state law governs the +interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws +principles. The laws of the state where you live govern all other claims, including claims under state +consumer protection laws, unfair competition laws, and in tort. +b. Outside the United States. If you acquired the software in any other country, the laws of +that country apply. +11. LEGAL EFFECT. This agreement describes certain legal rights. You may have other rights under the +laws of your country. You may also have rights with respect to the party from whom you acquired the +software. This agreement does not change your rights under the laws of your country if the laws of your +country do not permit it to do so. +12. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS-IS.” YOU BEAR THE RISK OF +USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. +YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR +LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED +UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. +FOR AUSTRALIA – YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER +LAW AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS. +13. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM +MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT +RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, +INDIRECT OR INCIDENTAL DAMAGES. +This limitation applies to +• anything related to the software, services, content (including code) on third party Internet sites, or +third party programs; and +• claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, +or other tort to the extent permitted by applicable law. +It also applies even if Microsoft knew or should have known about the possibility of the damages. The above +limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of +incidental, consequential or other damages. +Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are +provided below in French. +Remarque : Ce logiciel étant distribué au Québec, Canada, certaines des clauses dans ce contrat sont fournies +ci-dessous en français. +EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel ». Toute utilisation de ce +logiciel est à votre seule risque et péril. Microsoft n’accorde aucune autre garantie expresse. Vous pouvez +bénéficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne +peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualité marchande, +d’adéquation à un usage particulier et d’absence de contrefaçon sont exclues. +LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES +DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de +dommages directs uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune indemnisation +pour les autres dommages, y compris les dommages spéciaux, indirects ou accessoires et pertes de bénéfices. +Cette limitationconcerne: +• tout ce qui est relié au logiciel, aux services ou au contenu (y compris le code) figurant sur des +sites Internet tiers ou dans des programmes tiers ; et +• les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité +stricte, de négligence ou d’une autre faute dans la limite autorisée par la loi en vigueur. +Elle s’applique également, même si Microsoft connaissait ou devrait connaître l’éventualité d’un tel dommage. +Si votre pays n’autorise pas l’exclusion ou la limitation de responsabilité pour les dommages indirects, +accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l’exclusion ci-dessus ne +s’appliquera pas à votre égard. +EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir d’autres droits +prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que vous confèrent les lois de +votre pays si celles-ci ne le permettent pas. -------------------------------------------------------- @@ -582,165 +582,165 @@ specific language governing permissions and limitations under the License. • Microsoft.Management.Infrastructure.Unmanaged.dll ---------------------------------------------------------- MICROSOFT SOFTWARE LICENSE TERMS -MANAGEMENT.INFRASTRUCTURE.DLL -MANAGEMENT.INFRASTRUCTURE.NATIVE.DLL +MANAGEMENT.INFRASTRUCTURE.DLL +MANAGEMENT.INFRASTRUCTURE.NATIVE.DLL MANAGEMENT.INFRASTRUCTURE.UNMANAGED.DLL - -These license terms are an agreement between you and Microsoft Corporation (or one of its affiliates). They -apply to the software named above and any Microsoft services or software updates (except to the extent such -services or updates are accompanied by new or additional terms, in which case those different terms apply -prospectively and do not alter your or Microsoft’s rights relating to pre-updated software or services). IF YOU -COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. BY USING THE SOFTWARE, YOU + +These license terms are an agreement between you and Microsoft Corporation (or one of its affiliates). They +apply to the software named above and any Microsoft services or software updates (except to the extent such +services or updates are accompanied by new or additional terms, in which case those different terms apply +prospectively and do not alter your or Microsoft’s rights relating to pre-updated software or services). IF YOU +COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. 1. INSTALLATION AND USE RIGHTS a) General. You may install and use any number of copies of the software on your devices. -b) Included Microsoft Applications. The software may include other Microsoft applications. These -license terms apply to those included applications, if any, unless other license terms are provided with +b) Included Microsoft Applications. The software may include other Microsoft applications. These +license terms apply to those included applications, if any, unless other license terms are provided with the other Microsoft applications. -c) Third Party Software. The software may include third party applications that are licensed to you -under this agreement or under their own terms. License terms, notices, and acknowledgements, if any, -for the third party applications may be accessible online at http://aka.ms/thirdpartynotices or in an -accompanying notices file. Even if such applications are governed by other agreements, the disclaimer, +c) Third Party Software. The software may include third party applications that are licensed to you +under this agreement or under their own terms. License terms, notices, and acknowledgements, if any, +for the third party applications may be accessible online at http://aka.ms/thirdpartynotices or in an +accompanying notices file. Even if such applications are governed by other agreements, the disclaimer, limitations on, and exclusions of damages below also apply to the extent allowed by applicable law. 2. TIME-SENSITIVE SOFTWARE a) Period. The software is time-sensitive and may stop running on a date that is defined in the software. b) Notice. You may receive periodic reminder notices of this date through the software. c) Access to data. You may not be able to access data used in the software when it stops running. -3. PRE-RELEASE SOFTWARE. The software is a pre-release version. It may not operate correctly. It may be +3. PRE-RELEASE SOFTWARE. The software is a pre-release version. It may not operate correctly. It may be different from the commercially released version. -4. FEEDBACK. If you give feedback about the software to Microsoft, you give to Microsoft, without charge, -the right to use, share and commercialize your feedback in any way and for any purpose. You will not give -feedback that is subject to a license that requires Microsoft to license its software or documentation to +4. FEEDBACK. If you give feedback about the software to Microsoft, you give to Microsoft, without charge, +the right to use, share and commercialize your feedback in any way and for any purpose. You will not give +feedback that is subject to a license that requires Microsoft to license its software or documentation to third parties because Microsoft includes your feedback in them. These rights survive this agreement. -5. DATA COLLECTION. The software may collect information about you and your use of the software and -send that to Microsoft. Microsoft may use this information to provide services and improve Microsoft’s -products and services. Your opt-out rights, if any, are described in the product documentation. Some -features in the software may enable collection of data from users of your applications that access or use the -software. If you use these features to enable data collection in your applications, you must comply with -applicable law, including getting any required user consent, and maintain a prominent privacy policy that -accurately informs users about how you use, collect, and share their data. You can learn more about -Microsoft’s data collection and use in the product documentation and the Microsoft Privacy Statement at -https://go.microsoft.com/fwlink/?LinkId=521839. You agree to comply with all applicable provisions of the +5. DATA COLLECTION. The software may collect information about you and your use of the software and +send that to Microsoft. Microsoft may use this information to provide services and improve Microsoft’s +products and services. Your opt-out rights, if any, are described in the product documentation. Some +features in the software may enable collection of data from users of your applications that access or use the +software. If you use these features to enable data collection in your applications, you must comply with +applicable law, including getting any required user consent, and maintain a prominent privacy policy that +accurately informs users about how you use, collect, and share their data. You can learn more about +Microsoft’s data collection and use in the product documentation and the Microsoft Privacy Statement at +https://go.microsoft.com/fwlink/?LinkId=521839. You agree to comply with all applicable provisions of the Microsoft Privacy Statement. -6. FONTS. While the software is running, you may use its fonts to display and print content. You may only (i) -embed fonts in content as permitted by the embedding restrictions in the fonts; and (ii) temporarily +6. FONTS. While the software is running, you may use its fonts to display and print content. You may only (i) +embed fonts in content as permitted by the embedding restrictions in the fonts; and (ii) temporarily download them to a printer or other output device to help print content. -7. SCOPE OF LICENSE. The software is licensed, not sold. Microsoft reserves all other rights. Unless applicable +7. SCOPE OF LICENSE. The software is licensed, not sold. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you will not (and have no right to): a) work around any technical limitations in the software that only allow you to use it in certain ways; b) reverse engineer, decompile or disassemble the software; c) remove, minimize, block, or modify any notices of Microsoft or its suppliers in the software; d) use the software in any way that is against the law or to create or propagate malware; or -e) share, publish, distribute, or lend the software, provide the software as a stand-alone hosted solution +e) share, publish, distribute, or lend the software, provide the software as a stand-alone hosted solution for others to use, or transfer the software or this agreement to any third party. -8. EXPORT RESTRICTIONS. You must comply with all domestic and international export laws and regulations -that apply to the software, which include restrictions on destinations, end users, and end use. For further +8. EXPORT RESTRICTIONS. You must comply with all domestic and international export laws and regulations +that apply to the software, which include restrictions on destinations, end users, and end use. For further information on export restrictions, visit http://aka.ms/exporting. -9. SUPPORT SERVICES. Microsoft is not obligated under this agreement to provide any support services for +9. SUPPORT SERVICES. Microsoft is not obligated under this agreement to provide any support services for the software. Any support provided is “as is”, “with all faults”, and without warranty of any kind. -10. UPDATES. The software may periodically check for updates, and download and install them for you. You -may obtain updates only from Microsoft or authorized sources. Microsoft may need to update your system -to provide you with updates. You agree to receive these automatic updates without any additional notice. +10. UPDATES. The software may periodically check for updates, and download and install them for you. You +may obtain updates only from Microsoft or authorized sources. Microsoft may need to update your system +to provide you with updates. You agree to receive these automatic updates without any additional notice. Updates may not include or support all existing software features, services, or peripheral devices. -11. ENTIRE AGREEMENT. This agreement, and any other terms Microsoft may provide for supplements, +11. ENTIRE AGREEMENT. This agreement, and any other terms Microsoft may provide for supplements, updates, or third-party applications, is the entire agreement for the software. -12. APPLICABLE LAW AND PLACE TO RESOLVE DISPUTES. If you acquired the software in the United States -or Canada, the laws of the state or province where you live (or, if a business, where your principal place of -business is located) govern the interpretation of this agreement, claims for its breach, and all other claims -(including consumer protection, unfair competition, and tort claims), regardless of conflict of laws -principles. If you acquired the software in any other country, its laws apply. If U.S. federal jurisdiction exists, -you and Microsoft consent to exclusive jurisdiction and venue in the federal court in King County, -Washington for all disputes heard in court. If not, you and Microsoft consent to exclusive jurisdiction and +12. APPLICABLE LAW AND PLACE TO RESOLVE DISPUTES. If you acquired the software in the United States +or Canada, the laws of the state or province where you live (or, if a business, where your principal place of +business is located) govern the interpretation of this agreement, claims for its breach, and all other claims +(including consumer protection, unfair competition, and tort claims), regardless of conflict of laws +principles. If you acquired the software in any other country, its laws apply. If U.S. federal jurisdiction exists, +you and Microsoft consent to exclusive jurisdiction and venue in the federal court in King County, +Washington for all disputes heard in court. If not, you and Microsoft consent to exclusive jurisdiction and venue in the Superior Court of King County, Washington for all disputes heard in court. -13. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain legal rights. You may -have other rights, including consumer rights, under the laws of your state, province, or country. Separate -and apart from your relationship with Microsoft, you may also have rights with respect to the party from -which you acquired the software. This agreement does not change those other rights if the laws of your -state, province, or country do not permit it to do so. For example, if you acquired the software in one of the +13. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain legal rights. You may +have other rights, including consumer rights, under the laws of your state, province, or country. Separate +and apart from your relationship with Microsoft, you may also have rights with respect to the party from +which you acquired the software. This agreement does not change those other rights if the laws of your +state, province, or country do not permit it to do so. For example, if you acquired the software in one of the below regions, or mandatory country law applies, then the following provisions apply to you: -a) Australia. You have statutory guarantees under the Australian Consumer Law and nothing in this +a) Australia. You have statutory guarantees under the Australian Consumer Law and nothing in this agreement is intended to affect those rights. -b) Canada. If you acquired this software in Canada, you may stop receiving updates by turning off the -automatic update feature, disconnecting your device from the Internet (if and when you re-connect to -the Internet, however, the software will resume checking for and installing updates), or uninstalling the -software. The product documentation, if any, may also specify how to turn off updates for your specific +b) Canada. If you acquired this software in Canada, you may stop receiving updates by turning off the +automatic update feature, disconnecting your device from the Internet (if and when you re-connect to +the Internet, however, the software will resume checking for and installing updates), or uninstalling the +software. The product documentation, if any, may also specify how to turn off updates for your specific device or software. c) Germany and Austria. -i. Warranty. The properly licensed software will perform substantially as described in -any Microsoft materials that accompany the software. However, Microsoft gives no +i. Warranty. The properly licensed software will perform substantially as described in +any Microsoft materials that accompany the software. However, Microsoft gives no contractual guarantee in relation to the licensed software. -ii. Limitation of Liability. In case of intentional conduct, gross negligence, claims based -on the Product Liability Act, as well as, in case of death or personal or physical injury, +ii. Limitation of Liability. In case of intentional conduct, gross negligence, claims based +on the Product Liability Act, as well as, in case of death or personal or physical injury, Microsoft is liable according to the statutory law. -Subject to the foregoing clause ii., Microsoft will only be liable for slight negligence if Microsoft is in -breach of such material contractual obligations, the fulfillment of which facilitate the due performance -of this agreement, the breach of which would endanger the purpose of this agreement and the -compliance with which a party may constantly trust in (so-called "cardinal obligations"). In other cases +Subject to the foregoing clause ii., Microsoft will only be liable for slight negligence if Microsoft is in +breach of such material contractual obligations, the fulfillment of which facilitate the due performance +of this agreement, the breach of which would endanger the purpose of this agreement and the +compliance with which a party may constantly trust in (so-called "cardinal obligations"). In other cases of slight negligence, Microsoft will not be liable for slight negligence. -14. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS IS.” YOU BEAR THE RISK OF USING -IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES, OR CONDITIONS. TO THE EXTENT -PERMITTED UNDER APPLICABLE LAWS, MICROSOFT EXCLUDES ALL IMPLIED WARRANTIES, +14. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS IS.” YOU BEAR THE RISK OF USING +IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES, OR CONDITIONS. TO THE EXTENT +PERMITTED UNDER APPLICABLE LAWS, MICROSOFT EXCLUDES ALL IMPLIED WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. -15. LIMITATION ON AND EXCLUSION OF DAMAGES. IF YOU HAVE ANY BASIS FOR RECOVERING -DAMAGES DESPITE THE PRECEDING DISCLAIMER OF WARRANTY, YOU CAN RECOVER FROM -MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER -ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR +15. LIMITATION ON AND EXCLUSION OF DAMAGES. IF YOU HAVE ANY BASIS FOR RECOVERING +DAMAGES DESPITE THE PRECEDING DISCLAIMER OF WARRANTY, YOU CAN RECOVER FROM +MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER +ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES. -This limitation applies to (a) anything related to the software, services, content (including code) on -third party Internet sites, or third party applications; and (b) claims for breach of contract, warranty, -guarantee, or condition; strict liability, negligence, or other tort; or any other claim; in each case to +This limitation applies to (a) anything related to the software, services, content (including code) on +third party Internet sites, or third party applications; and (b) claims for breach of contract, warranty, +guarantee, or condition; strict liability, negligence, or other tort; or any other claim; in each case to the extent permitted by applicable law. -It also applies even if Microsoft knew or should have known about the possibility of the damages. -The above limitation or exclusion may not apply to you because your state, province, or country +It also applies even if Microsoft knew or should have known about the possibility of the damages. +The above limitation or exclusion may not apply to you because your state, province, or country may not allow the exclusion or limitation of incidental, consequential, or other damages. -Please note: As this software is distributed in Canada, some of the clauses in this agreement are +Please note: As this software is distributed in Canada, some of the clauses in this agreement are provided below in French. Remarque: Ce logiciel étant distribué au Canada, certaines des clauses dans ce contrat sont fournies ci- dessous en français. -EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel ». Toute utilisation de -ce logiciel est à votre seule risque et péril. Microsoft n’accorde aucune autre garantie expresse. Vous -pouvez bénéficier de droits additionnels en vertu du droit local sur la protection des consommateurs, -que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de +EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel ». Toute utilisation de +ce logiciel est à votre seule risque et péril. Microsoft n’accorde aucune autre garantie expresse. Vous +pouvez bénéficier de droits additionnels en vertu du droit local sur la protection des consommateurs, +que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualité marchande, d’adéquation à un usage particulier et d’absence de contrefaçon sont exclues. -LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES DOMMAGES. -Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs -uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune indemnisation pour les autres +LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES DOMMAGES. +Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs +uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y compris les dommages spéciaux, indirects ou accessoires et pertes de bénéfices. Cette limitation concerne: -• tout ce qui est relié au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites +• tout ce qui est relié au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers; et -• les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité stricte, +• les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité stricte, de négligence ou d’une autre faute dans la limite autorisée par la loi en vigueur. -Elle s’applique également, même si Microsoft connaissait ou devrait connaître l’éventualité d’un tel -dommage. Si votre pays n’autorise pas l’exclusion ou la limitation de responsabilité pour les dommages +Elle s’applique également, même si Microsoft connaissait ou devrait connaître l’éventualité d’un tel +dommage. Si votre pays n’autorise pas l’exclusion ou la limitation de responsabilité pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l’exclusion ci- dessus ne s’appliquera pas à votre égard. -EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir d’autres droits -prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que vous confèrent les lois +EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir d’autres droits +prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que vous confèrent les lois de votre pays si celles-ci ne le permettent pas. -The following components are governed by the MIT license, a copy of which appears -below the list of components: +The following components are governed by the MIT license, a copy of which appears +below the list of components: ------------------------------------------------------ tools/appimage.sh ------------------------------------------------------ Copyright (c) 2016 Simon Peter -All rights reserved. +All rights reserved. MIT License -Permission is hereby granted, free of charge, to any person obtaining a copy of this -software and associated documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to the following +Permission is hereby granted, free of charge, to any person obtaining a copy of this +software and associated documentation files (the "Software"), to deal in the Software +without restriction, including without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all copies +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE +THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------- DotNet/CoreFX diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/AssemblyInfo.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/AssemblyInfo.cs index 92e660ae73..7a2005fee6 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/AssemblyInfo.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/AssemblyInfo.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimAsyncOperation.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimAsyncOperation.cs index 4cb2c7ab20..bbf97b2fb5 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimAsyncOperation.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimAsyncOperation.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimBaseAction.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimBaseAction.cs index 829152def7..773f81ad6d 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimBaseAction.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimBaseAction.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimCmdletModuleInitialize.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimCmdletModuleInitialize.cs index b8138e8768..b9f9962710 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimCmdletModuleInitialize.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimCmdletModuleInitialize.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimCommandBase.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimCommandBase.cs index 2f545311bc..2f5dd0ac2a 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimCommandBase.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimCommandBase.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimGetAssociatedInstance.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimGetAssociatedInstance.cs index b21e8304ac..47a0df2979 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimGetAssociatedInstance.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimGetAssociatedInstance.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimGetCimClass.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimGetCimClass.cs index 2fec594ad3..e660b8ad4a 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimGetCimClass.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimGetCimClass.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimGetInstance.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimGetInstance.cs index 562bce3b62..ad23b933c3 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimGetInstance.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimGetInstance.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimIndicationWatcher.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimIndicationWatcher.cs index 2d33fc3cfd..34a6319f08 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimIndicationWatcher.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimIndicationWatcher.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimInvokeCimMethod.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimInvokeCimMethod.cs index 63c8bafbe0..79f91a1d86 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimInvokeCimMethod.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimInvokeCimMethod.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimNewCimInstance.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimNewCimInstance.cs index c56e604d90..84b0883feb 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimNewCimInstance.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimNewCimInstance.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimPromptUser.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimPromptUser.cs index 709e0690a1..785e0f2000 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimPromptUser.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimPromptUser.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimRegisterCimIndication.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimRegisterCimIndication.cs index 81e3cf2adb..91005d8ecf 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimRegisterCimIndication.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimRegisterCimIndication.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimRemoveCimInstance.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimRemoveCimInstance.cs index 726136fa33..e5fed39d40 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimRemoveCimInstance.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimRemoveCimInstance.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimResultObserver.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimResultObserver.cs index 0ea01b2a64..f8758d98a6 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimResultObserver.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimResultObserver.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimSessionOperations.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimSessionOperations.cs index bbf9094988..d1cf303cb5 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimSessionOperations.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimSessionOperations.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimSessionProxy.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimSessionProxy.cs index ba2cd51372..2dd000d96d 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimSessionProxy.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimSessionProxy.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimSetCimInstance.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimSetCimInstance.cs index 57ddb857cc..eadc0bc8e6 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimSetCimInstance.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimSetCimInstance.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteError.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteError.cs index 97c45cd77c..9b2396c7d2 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteError.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteError.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteMessage.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteMessage.cs index b224364bfc..f0259d744b 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteMessage.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteMessage.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteProgress.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteProgress.cs index 08eb6acc87..23b34f60a0 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteProgress.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteProgress.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteResultObject.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteResultObject.cs index b060a728c0..1a87b451af 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteResultObject.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteResultObject.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/CmdletOperation.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/CmdletOperation.cs index 9d770ee22d..f5d84647cd 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/CmdletOperation.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/CmdletOperation.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimAssociatedInstanceCommand.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimAssociatedInstanceCommand.cs index 7afe732523..87f5466f12 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimAssociatedInstanceCommand.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimAssociatedInstanceCommand.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimClassCommand.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimClassCommand.cs index 7dabb35d2a..58a8538e07 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimClassCommand.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimClassCommand.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimInstanceCommand.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimInstanceCommand.cs index 248e716c51..a59208be6a 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimInstanceCommand.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimInstanceCommand.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimSessionCommand.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimSessionCommand.cs index 86b26890b7..57e610ddcc 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimSessionCommand.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/GetCimSessionCommand.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/InvokeCimMethodCommand.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/InvokeCimMethodCommand.cs index eb434f16b6..f67ee6cb5b 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/InvokeCimMethodCommand.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/InvokeCimMethodCommand.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/NewCimInstanceCommand.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/NewCimInstanceCommand.cs index b1a5986a0f..c843acdb04 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/NewCimInstanceCommand.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/NewCimInstanceCommand.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/NewCimSessionCommand.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/NewCimSessionCommand.cs index f1083747e8..8e601f60e9 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/NewCimSessionCommand.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/NewCimSessionCommand.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/NewCimSessionOptionCommand.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/NewCimSessionOptionCommand.cs index 9e12e007f3..c03352af01 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/NewCimSessionOptionCommand.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/NewCimSessionOptionCommand.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/RegisterCimIndicationCommand.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/RegisterCimIndicationCommand.cs index 6621385061..39ce6cfcd6 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/RegisterCimIndicationCommand.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/RegisterCimIndicationCommand.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/RemoveCimInstanceCommand.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/RemoveCimInstanceCommand.cs index 3e6e4166a4..6544f9d442 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/RemoveCimInstanceCommand.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/RemoveCimInstanceCommand.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/RemoveCimSessionCommand.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/RemoveCimSessionCommand.cs index f02f159859..97194b9524 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/RemoveCimSessionCommand.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/RemoveCimSessionCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // #region Using directives diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/SetCimInstanceCommand.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/SetCimInstanceCommand.cs index 717d3f805b..3ff061400c 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/SetCimInstanceCommand.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/SetCimInstanceCommand.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.Management.Infrastructure.CimCmdlets/Utils.cs b/src/Microsoft.Management.Infrastructure.CimCmdlets/Utils.cs index c538994206..66828f9b61 100644 --- a/src/Microsoft.Management.Infrastructure.CimCmdlets/Utils.cs +++ b/src/Microsoft.Management.Infrastructure.CimCmdlets/Utils.cs @@ -1,5 +1,5 @@ /*============================================================================ - * Copyright (C) Microsoft Corporation, All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. *============================================================================ */ diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/CounterFileInfo.cs b/src/Microsoft.PowerShell.Commands.Diagnostics/CounterFileInfo.cs index 54c0dd83ea..858f5f0b6f 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/CounterFileInfo.cs +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/CounterFileInfo.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2008 Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/CounterSample.cs b/src/Microsoft.PowerShell.Commands.Diagnostics/CounterSample.cs index ac376f7e00..4ba65b3c8e 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/CounterSample.cs +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/CounterSample.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2008 Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/CounterSet.cs b/src/Microsoft.PowerShell.Commands.Diagnostics/CounterSet.cs index a7160d2ca9..fb7edd1ac9 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/CounterSet.cs +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/CounterSet.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2008 Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/ExportCounterCommand.cs b/src/Microsoft.PowerShell.Commands.Diagnostics/ExportCounterCommand.cs index 8ef8fa3d49..9a7e138b52 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/ExportCounterCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/ExportCounterCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2008 Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/GetCounterCommand.cs b/src/Microsoft.PowerShell.Commands.Diagnostics/GetCounterCommand.cs index 9331855ad1..29da31a48b 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/GetCounterCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/GetCounterCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2008 Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/GetEventCommand.cs b/src/Microsoft.PowerShell.Commands.Diagnostics/GetEventCommand.cs index c44e17d177..f23a6da9ad 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/GetEventCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/GetEventCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2007 Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/GetEventSnapin.cs b/src/Microsoft.PowerShell.Commands.Diagnostics/GetEventSnapin.cs index da6a77d4dd..6aa23f2eca 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/GetEventSnapin.cs +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/GetEventSnapin.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2007 Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/ImportCounterCommand.cs b/src/Microsoft.PowerShell.Commands.Diagnostics/ImportCounterCommand.cs index b95103d8a3..d8635b38b5 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/ImportCounterCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/ImportCounterCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2008 Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/NewWinEventCommand.cs b/src/Microsoft.PowerShell.Commands.Diagnostics/NewWinEventCommand.cs index 16529125f3..ec064f0d8b 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/NewWinEventCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/NewWinEventCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2007 Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/PdhHelper.cs b/src/Microsoft.PowerShell.Commands.Diagnostics/PdhHelper.cs index a61b91cb76..ce1eea08e9 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/PdhHelper.cs +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/PdhHelper.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/PdhSafeHandle.cs b/src/Microsoft.PowerShell.Commands.Diagnostics/PdhSafeHandle.cs index eaa6a401b3..b2adb01126 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/PdhSafeHandle.cs +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/PdhSafeHandle.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.txt b/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.txt index 751578835c..6e004d457d 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.txt +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.txt @@ -1,4 +1,4 @@ -#Copyright (c) 2008 Microsoft Corporation +#Copyright (c) Microsoft Corporation. All rights reserved. Vendor=Microsoft Description=This Windows PowerShell snap-in contains Windows Eventing and Performance Counter cmdlets. diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/SessionBasedWrapper.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/SessionBasedWrapper.cs index 56cbb10edc..793bb0e6ba 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/SessionBasedWrapper.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/SessionBasedWrapper.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/CimJobException.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/CimJobException.cs index 53c531b79f..0854414a44 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/CimJobException.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/CimJobException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/CreateInstanceJob.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/CreateInstanceJob.cs index 9710f3044a..93bb4f7932 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/CreateInstanceJob.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/CreateInstanceJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/DeleteInstanceJob.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/DeleteInstanceJob.cs index 075be25ccc..58b981c0ce 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/DeleteInstanceJob.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/DeleteInstanceJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/EnumerateAssociatedInstancesJob.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/EnumerateAssociatedInstancesJob.cs index 9ea248ff76..2ed6c186d0 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/EnumerateAssociatedInstancesJob.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/EnumerateAssociatedInstancesJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/ExtrinsicMethodInvocationJob.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/ExtrinsicMethodInvocationJob.cs index 023a1fda97..366f31a76a 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/ExtrinsicMethodInvocationJob.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/ExtrinsicMethodInvocationJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/InstanceMethodInvocationJob.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/InstanceMethodInvocationJob.cs index d9d7db6a2a..86adf0750e 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/InstanceMethodInvocationJob.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/InstanceMethodInvocationJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/MethodInvocationJobBase.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/MethodInvocationJobBase.cs index 273b25cc61..db81ea3793 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/MethodInvocationJobBase.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/MethodInvocationJobBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/ModifyInstanceJob.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/ModifyInstanceJob.cs index 4efc7d12b6..49a227dadc 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/ModifyInstanceJob.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/ModifyInstanceJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/PropertySettingJob.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/PropertySettingJob.cs index c92ad7e548..c51085292a 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/PropertySettingJob.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/PropertySettingJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Microsoft.Management.Infrastructure; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/QueryJob.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/QueryJob.cs index 8a3d45715c..734f87e7e1 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/QueryJob.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/QueryJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/QueryJobBase.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/QueryJobBase.cs index 3f04a81ecd..662d890b69 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/QueryJobBase.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/QueryJobBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/StaticMethodInvocationJob.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/StaticMethodInvocationJob.cs index 5b47d46c6f..f19fadc667 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/StaticMethodInvocationJob.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/StaticMethodInvocationJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/TerminatingErrorTracker.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/TerminatingErrorTracker.cs index b00184f038..67035a15e2 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/TerminatingErrorTracker.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/TerminatingErrorTracker.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimChildJobBase.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimChildJobBase.cs index 30fec5de0b..cf2a78ca39 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimChildJobBase.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimChildJobBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimCmdletDefinitionContext.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimCmdletDefinitionContext.cs index f08b4e69b6..50b4d48697 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimCmdletDefinitionContext.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimCmdletDefinitionContext.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimCmdletInvocationContext.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimCmdletInvocationContext.cs index b89f7c4de3..75866b49e3 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimCmdletInvocationContext.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimCmdletInvocationContext.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimConverter.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimConverter.cs index 02b7403358..9c6679697c 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimConverter.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimConverter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimJobContext.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimJobContext.cs index a3caada579..2cee2f22a8 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimJobContext.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimJobContext.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimOperationOptionsHelper.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimOperationOptionsHelper.cs index ededc6cd10..528dac6cda 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimOperationOptionsHelper.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimOperationOptionsHelper.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimQuery.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimQuery.cs index 236585fd2a..4878cf51bf 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimQuery.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimQuery.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimWrapper.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimWrapper.cs index 54773a8b88..8a7bfa882a 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimWrapper.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimWrapper.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/clientSideQuery.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/clientSideQuery.cs index 67ef3cb12a..683384b5a8 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/clientSideQuery.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/clientSideQuery.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/AddContentCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/AddContentCommand.cs index d6a1c7f067..f9784f9f5e 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/AddContentCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/AddContentCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/ClearContentCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/ClearContentCommand.cs index 13ec9dc416..f0e57fc3e4 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/ClearContentCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/ClearContentCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/ClearPropertyCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/ClearPropertyCommand.cs index 6e74d62b50..b752936ac1 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/ClearPropertyCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/ClearPropertyCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/CombinePathCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/CombinePathCommand.cs index e629309153..a1fd4a9ee4 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/CombinePathCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/CombinePathCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/CommitTransactionCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/CommitTransactionCommand.cs index 2058bdd833..a23aa040ed 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/CommitTransactionCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/CommitTransactionCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/Computer.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/Computer.cs index 150298befb..87da21820d 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/Computer.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/Computer.cs @@ -1,7 +1,7 @@ #if !UNIX /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Collections; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/ContentCommandBase.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/ContentCommandBase.cs index b53c46731f..87a3256316 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/ContentCommandBase.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/ContentCommandBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/ControlPanelItemCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/ControlPanelItemCommand.cs index 54c95b9c16..5950e80b0f 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/ControlPanelItemCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/ControlPanelItemCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Collections.ObjectModel; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/ConvertPathCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/ConvertPathCommand.cs index dd3d3d9050..ef093e9107 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/ConvertPathCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/ConvertPathCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/CopyPropertyCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/CopyPropertyCommand.cs index b2b90c63b1..a5392a7caf 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/CopyPropertyCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/CopyPropertyCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/Eventlog.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/Eventlog.cs index 2d5ff805e7..86194f41fe 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/Eventlog.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/Eventlog.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetChildrenCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetChildrenCommand.cs index 566ec8929f..125d0a9301 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetChildrenCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetChildrenCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs index 5d014dbea5..a4a0e4ff12 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !UNIX diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetContentCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetContentCommand.cs index f4b5ce1b39..dee0e3835f 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetContentCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetContentCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetPropertyCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetPropertyCommand.cs index ea812badce..7cf2b94cd7 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetPropertyCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetPropertyCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetTransactionCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetTransactionCommand.cs index 81d9c1f901..f7182e46d7 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetTransactionCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetTransactionCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetWMIObjectCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetWMIObjectCommand.cs index 4d2ee3550b..e6b85ded55 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetWMIObjectCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetWMIObjectCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/Hotfix.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/Hotfix.cs index 6bdbedbb96..8f10d92d37 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/Hotfix.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/Hotfix.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/InvokeWMIMethodCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/InvokeWMIMethodCommand.cs index 2e37ca088e..fa275c3303 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/InvokeWMIMethodCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/InvokeWMIMethodCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/MovePropertyCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/MovePropertyCommand.cs index 9396471b74..d51f40b7ca 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/MovePropertyCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/MovePropertyCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/Navigation.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/Navigation.cs index e16d512b1f..513a55ae74 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/Navigation.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/Navigation.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/NewPropertyCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/NewPropertyCommand.cs index e89d9db228..9d36ec244e 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/NewPropertyCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/NewPropertyCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/ParsePathCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/ParsePathCommand.cs index a1f29117de..1b096166a7 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/ParsePathCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/ParsePathCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/PassThroughContentCommandBase.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/PassThroughContentCommandBase.cs index 20ea5a5c39..cb70655f8b 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/PassThroughContentCommandBase.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/PassThroughContentCommandBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/PassThroughPropertyCommandBase.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/PassThroughPropertyCommandBase.cs index 8b25bf179f..5028632301 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/PassThroughPropertyCommandBase.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/PassThroughPropertyCommandBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/PingPathCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/PingPathCommand.cs index ea69de6c38..66bbe573a1 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/PingPathCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/PingPathCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/Process.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/Process.cs index c5f3e46cf6..30ef0e096a 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/Process.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/Process.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/PropertyCommandBase.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/PropertyCommandBase.cs index bd707d4cc2..f64d33e18f 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/PropertyCommandBase.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/PropertyCommandBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/RegisterWMIEventCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/RegisterWMIEventCommand.cs index 0319b0e813..091e1903a4 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/RegisterWMIEventCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/RegisterWMIEventCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/RemovePropertyCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/RemovePropertyCommand.cs index 67f035b1f2..b6c1b4b3e7 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/RemovePropertyCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/RemovePropertyCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/RemoveWMIObjectCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/RemoveWMIObjectCommand.cs index ac10af1dc9..711cd7ea07 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/RemoveWMIObjectCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/RemoveWMIObjectCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/RenamePropertyCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/RenamePropertyCommand.cs index c5077bfda7..5e3000ceb5 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/RenamePropertyCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/RenamePropertyCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/ResolvePathCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/ResolvePathCommand.cs index 5930dbab51..d1222aa659 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/ResolvePathCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/ResolvePathCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/RollbackTransactionCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/RollbackTransactionCommand.cs index 79b48c496b..4f48e18b8e 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/RollbackTransactionCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/RollbackTransactionCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/Service.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/Service.cs index 24d574b0ed..0e4229762a 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/Service.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/Service.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !UNIX // Not built on Unix diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/SetContentCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/SetContentCommand.cs index e8bde3599c..10206047b0 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/SetContentCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/SetContentCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/SetPropertyCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/SetPropertyCommand.cs index fa9cbb78d0..f64bfaf321 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/SetPropertyCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/SetPropertyCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/SetWMIInstanceCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/SetWMIInstanceCommand.cs index b507faae72..acdbea27d0 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/SetWMIInstanceCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/SetWMIInstanceCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/StartTransactionCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/StartTransactionCommand.cs index e758380ce5..4d91c4d546 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/StartTransactionCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/StartTransactionCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/UseTransactionCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/UseTransactionCommand.cs index b65f46412c..a36f997a14 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/UseTransactionCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/UseTransactionCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/WMIHelper.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/WMIHelper.cs index bef805293b..8cf7df9d61 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/WMIHelper.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/WMIHelper.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/WebServiceProxy.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/WebServiceProxy.cs index 30837a5c4a..e1ee08b2fb 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/WebServiceProxy.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/WebServiceProxy.cs @@ -1,5 +1,5 @@ /********************************************************************-- -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/WriteContentCommandBase.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/WriteContentCommandBase.cs index 20fdab66dc..ec5d50ab3b 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/WriteContentCommandBase.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/WriteContentCommandBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Management/singleshell/installer/MshManagementMshSnapin.cs b/src/Microsoft.PowerShell.Commands.Management/singleshell/installer/MshManagementMshSnapin.cs index 0796cb0bf9..742ccf2f2a 100644 --- a/src/Microsoft.PowerShell.Commands.Management/singleshell/installer/MshManagementMshSnapin.cs +++ b/src/Microsoft.PowerShell.Commands.Management/singleshell/installer/MshManagementMshSnapin.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.ComponentModel; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/AddMember.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/AddMember.cs index e645fe871f..9c19d68183 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/AddMember.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/AddMember.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/AddType.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/AddType.cs index a71101f269..4e0e545fcc 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/AddType.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/AddType.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #region Using directives diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/CSVCommands.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/CSVCommands.cs index 5e3e247a37..e1fe1bcf07 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/CSVCommands.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/CSVCommands.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ConsoleColorCmdlet.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ConsoleColorCmdlet.cs index ca8ef06ed1..ffbc04e3cb 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ConsoleColorCmdlet.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ConsoleColorCmdlet.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ConvertFrom-StringData.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ConvertFrom-StringData.cs index a632dc8610..3d9a63b632 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ConvertFrom-StringData.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ConvertFrom-StringData.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Csv.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Csv.cs index f2bc20b75f..48d42ea9b0 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Csv.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Csv.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/CustomSerialization.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/CustomSerialization.cs index 87fd82b2bf..c2ea772584 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/CustomSerialization.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/CustomSerialization.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // namespace System.Management.Automation diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/CustomSerializationStrings.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/CustomSerializationStrings.cs index a98974cfd6..109880780c 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/CustomSerializationStrings.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/CustomSerializationStrings.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // namespace System.Management.Automation diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/DebugRunspaceCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/DebugRunspaceCommand.cs index 22cb72cec8..0c3ef0080c 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/DebugRunspaceCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/DebugRunspaceCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Disable-PSBreakpoint.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Disable-PSBreakpoint.cs index 4e8a4758f1..770eae7490 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Disable-PSBreakpoint.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Disable-PSBreakpoint.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Enable-PSBreakpoint.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Enable-PSBreakpoint.cs index ffec562fa2..37736ca2f3 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Enable-PSBreakpoint.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Enable-PSBreakpoint.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/EnableDisableRunspaceDebugCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/EnableDisableRunspaceDebugCommand.cs index a5f7092f2c..acfd146caa 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/EnableDisableRunspaceDebugCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/EnableDisableRunspaceDebugCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ExportAliasCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ExportAliasCommand.cs index 26e7508493..c83b2272c2 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ExportAliasCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ExportAliasCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/ColumnInfo.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/ColumnInfo.cs index 595859f70c..ad398a7e76 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/ColumnInfo.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/ColumnInfo.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.PowerShell.Commands diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/ExpressionColumnInfo.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/ExpressionColumnInfo.cs index 2ae6b5585c..d0a4221fd8 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/ExpressionColumnInfo.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/ExpressionColumnInfo.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.PowerShell.Commands diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/HeaderInfo.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/HeaderInfo.cs index 3e48743952..0def6c0b64 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/HeaderInfo.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/HeaderInfo.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.PowerShell.Commands diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/OriginalColumnInfo.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/OriginalColumnInfo.cs index f1737bbaf4..7329ed8117 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/OriginalColumnInfo.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/OriginalColumnInfo.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.PowerShell.Commands diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/OutGridViewCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/OutGridViewCommand.cs index a1496eb3ca..e3f013dd78 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/OutGridViewCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/OutGridViewCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.PowerShell.Commands diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/OutWindowProxy.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/OutWindowProxy.cs index 19b4fc2423..f6e929c5a4 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/OutWindowProxy.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/OutWindowProxy.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.PowerShell.Commands diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/ScalarTypeColumnInfo.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/ScalarTypeColumnInfo.cs index 872a362c1d..62195903f2 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/ScalarTypeColumnInfo.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/ScalarTypeColumnInfo.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.PowerShell.Commands diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/TableView.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/TableView.cs index 548dd36aca..062d557190 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/TableView.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/OutGridView/TableView.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.PowerShell.Commands diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/common/GetFormatDataCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/common/GetFormatDataCommand.cs index f5923481cc..e8c9142b91 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/common/GetFormatDataCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/common/GetFormatDataCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/common/WriteFormatDataCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/common/WriteFormatDataCommand.cs index 78967899be..609253074f 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/common/WriteFormatDataCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/common/WriteFormatDataCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-list/Format-List.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-list/Format-List.cs index 3a137cc152..3cd9ed9d60 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-list/Format-List.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-list/Format-List.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-object/format-object.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-object/format-object.cs index c1030e57d6..266a5d65b6 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-object/format-object.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-object/format-object.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-table/Format-Table.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-table/Format-Table.cs index 63212a63da..06dce66506 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-table/Format-Table.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-table/Format-Table.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-wide/Format-Wide.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-wide/Format-Wide.cs index 97576c7c7d..6a68001373 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-wide/Format-Wide.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/format-wide/Format-Wide.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-file/Out-File.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-file/Out-File.cs index d7c0d43c58..95e0abfb69 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-file/Out-File.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-file/Out-File.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-printer/PrinterLineOutput.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-printer/PrinterLineOutput.cs index b84d803872..910e8906dc 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-printer/PrinterLineOutput.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-printer/PrinterLineOutput.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-printer/out-printer.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-printer/out-printer.cs index 45a9c643cb..b1c0944133 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-printer/out-printer.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-printer/out-printer.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-string/out-string.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-string/out-string.cs index d12354a7f5..37fa2afe8e 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-string/out-string.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-string/out-string.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Get-PSBreakpoint.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Get-PSBreakpoint.cs index 2b2bc3b320..3701640e24 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Get-PSBreakpoint.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Get-PSBreakpoint.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Get-PSCallStack.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Get-PSCallStack.cs index 95ebf019ab..54a12b175b 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Get-PSCallStack.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Get-PSCallStack.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetAliasCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetAliasCommand.cs index 71881daa8a..a9e35503ee 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetAliasCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetAliasCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetCultureCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetCultureCommand.cs index a7cf6d671d..a370026e51 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetCultureCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetCultureCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetDateCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetDateCommand.cs index 9aae07cf70..9f9da1ed28 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetDateCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetDateCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetEventCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetEventCommand.cs index 0989e91f91..cac484db50 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetEventCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetEventCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetEventSubscriberCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetEventSubscriberCommand.cs index 7c013c30a3..3e00f79679 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetEventSubscriberCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetEventSubscriberCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetHostCmdlet.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetHostCmdlet.cs index 448ef283f4..c490604827 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetHostCmdlet.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetHostCmdlet.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetMember.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetMember.cs index 980154f777..bee70b23fa 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetMember.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetMember.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetRandomCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetRandomCommand.cs index 83232ea3b9..35bba80c9d 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetRandomCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetRandomCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetRunspaceCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetRunspaceCommand.cs index f138b9dd89..65fc5cb7be 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetRunspaceCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetRunspaceCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUICultureCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUICultureCommand.cs index 9e6a983a30..6f8693e4b3 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUICultureCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUICultureCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUnique.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUnique.cs index a17f2c0ec4..4b9e68af77 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUnique.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUnique.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUptime.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUptime.cs index f7389e606a..609df1d655 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUptime.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUptime.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ImplicitRemotingCommands.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ImplicitRemotingCommands.cs index 7cd0138844..e2217f688e 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ImplicitRemotingCommands.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ImplicitRemotingCommands.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Import-LocalizedData.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Import-LocalizedData.cs index fdcbb57a16..ea6fb4dc21 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Import-LocalizedData.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Import-LocalizedData.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ImportAliasCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ImportAliasCommand.cs index 07372404d7..332742d08d 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ImportAliasCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ImportAliasCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/InvokeCommandCmdlet.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/InvokeCommandCmdlet.cs index 4392ec00a8..e415dc7de2 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/InvokeCommandCmdlet.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/InvokeCommandCmdlet.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/MatchString.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/MatchString.cs index e6bcadf02b..17adfd80f8 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/MatchString.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/MatchString.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Measure-Object.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Measure-Object.cs index 977fd64067..06b77334d7 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Measure-Object.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Measure-Object.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/NewAliasCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/NewAliasCommand.cs index d53cd1d282..64f3d2934f 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/NewAliasCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/NewAliasCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/NewGuidCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/NewGuidCommand.cs index 38beda8c63..b4a80fd63f 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/NewGuidCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/NewGuidCommand.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/NewTimeSpanCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/NewTimeSpanCommand.cs index 36a15cdeb9..71504e063b 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/NewTimeSpanCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/NewTimeSpanCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ObjectCommandComparer.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ObjectCommandComparer.cs index d3dc8bc5cc..77df4fa926 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ObjectCommandComparer.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ObjectCommandComparer.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #region Using directives diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/OrderObjectBase.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/OrderObjectBase.cs index 9d34c4b75e..6b726c1dea 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/OrderObjectBase.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/OrderObjectBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ReadConsoleCmdlet.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ReadConsoleCmdlet.cs index 94da63d9d0..f37c274aad 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ReadConsoleCmdlet.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ReadConsoleCmdlet.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RegisterObjectEventCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RegisterObjectEventCommand.cs index 1b4386200e..01bc5af442 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RegisterObjectEventCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RegisterObjectEventCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RegisterPSEventCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RegisterPSEventCommand.cs index bcc24c49a5..48a3fe8a09 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RegisterPSEventCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RegisterPSEventCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Remove-PSBreakpoint.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Remove-PSBreakpoint.cs index bd55d3fddd..286c79437a 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Remove-PSBreakpoint.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Remove-PSBreakpoint.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RemoveEventCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RemoveEventCommand.cs index 381ebde3fa..e50431aaf6 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RemoveEventCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/RemoveEventCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Send-MailMessage.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Send-MailMessage.cs index 58328c56b3..df2014d9fc 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Send-MailMessage.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Send-MailMessage.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Set-PSBreakpoint.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Set-PSBreakpoint.cs index 50095080ce..1371eec048 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Set-PSBreakpoint.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Set-PSBreakpoint.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/SetAliasCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/SetAliasCommand.cs index 0d3c5ae95f..ce54fa27ce 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/SetAliasCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/SetAliasCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/SetDateCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/SetDateCommand.cs index f5a744c1a7..11e6b12d4e 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/SetDateCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/SetDateCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommand.cs index 1f7b0c6851..e048249152 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommand.cs @@ -1,6 +1,6 @@ //----------------------------------------------------------------------- // -// Copyright © Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandCommandInfo.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandCommandInfo.cs index ea38c13299..c6e6ae0457 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandCommandInfo.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandCommandInfo.cs @@ -1,6 +1,6 @@ //----------------------------------------------------------------------- // -// Copyright © Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandModuleInfo.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandModuleInfo.cs index 909c395cf1..384c4c8bc6 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandModuleInfo.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandModuleInfo.cs @@ -1,6 +1,6 @@ //----------------------------------------------------------------------- // -// Copyright © Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- @@ -17,7 +17,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension /// /// Creates an instance of the ShowCommandModuleInfo class based on a CommandInfo object /// - /// + /// /// /// The object to wrap. /// @@ -34,7 +34,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension /// /// Creates an instance of the ShowCommandModuleInfo class based on a PSObject object /// - /// + /// /// /// The object to wrap. /// diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandParameterInfo.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandParameterInfo.cs index 00b311c069..95ce809a7e 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandParameterInfo.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandParameterInfo.cs @@ -1,6 +1,6 @@ //----------------------------------------------------------------------- // -// Copyright © Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- @@ -20,7 +20,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension /// /// Creates an instance of the ShowCommandParameterInfo class based on a CommandParameterInfo object /// - /// + /// /// /// The object to wrap. /// @@ -48,7 +48,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension /// /// Creates an instance of the ShowCommandParameterInfo class based on a PSObject object /// - /// + /// /// /// The object to wrap. /// diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandParameterSetInfo.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandParameterSetInfo.cs index b57f7953d7..0a1933e442 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandParameterSetInfo.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandParameterSetInfo.cs @@ -1,6 +1,6 @@ //----------------------------------------------------------------------- // -// Copyright © Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandParameterType.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandParameterType.cs index 85398443d7..9760a70468 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandParameterType.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandParameterType.cs @@ -1,6 +1,6 @@ //----------------------------------------------------------------------- // -// Copyright © Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandProxy.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandProxy.cs index 1d3b8b62bf..fcda24ca44 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandProxy.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandProxy.cs @@ -1,6 +1,6 @@ //----------------------------------------------------------------------- // -// Copyright © Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/StartSleepCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/StartSleepCommand.cs index 8006470e23..fa12ccaa59 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/StartSleepCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/StartSleepCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/TimeExpressionCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/TimeExpressionCommand.cs index 80ea05f485..7cbab7653b 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/TimeExpressionCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/TimeExpressionCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #region Using directives diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/UnblockFile.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/UnblockFile.cs index 95d9147318..05305d819b 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/UnblockFile.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/UnblockFile.cs @@ -1,6 +1,6 @@ #if !UNIX /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #region Using directives diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/UnregisterEventCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/UnregisterEventCommand.cs index 428c7a5843..8ab72b1cd4 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/UnregisterEventCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/UnregisterEventCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Update-Data.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Update-Data.cs index 3db55e855b..36a90b93c8 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Update-Data.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Update-Data.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Update-TypeData.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Update-TypeData.cs index 53ec744bce..b81a6501de 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Update-TypeData.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Update-TypeData.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/UtilityCommon.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/UtilityCommon.cs index fcd6f07cb9..c5988b3a45 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/UtilityCommon.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/UtilityCommon.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Var.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Var.cs index ae911ae063..e596e0cb64 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Var.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Var.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WaitEventCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WaitEventCommand.cs index 6538a0bd71..a66bda09d8 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WaitEventCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WaitEventCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/BasicHtmlWebResponseObject.Common.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/BasicHtmlWebResponseObject.Common.cs index ae91ff0012..1dcb9f8575 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/BasicHtmlWebResponseObject.Common.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/BasicHtmlWebResponseObject.Common.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/ContentHelper.Common.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/ContentHelper.Common.cs index dc3a673ef4..b7d9d0afc7 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/ContentHelper.Common.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/ContentHelper.Common.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/HtmlWebResponseObject.Common.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/HtmlWebResponseObject.Common.cs index be101d482f..66d9b77113 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/HtmlWebResponseObject.Common.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/HtmlWebResponseObject.Common.cs @@ -1,7 +1,7 @@ #if !CORECLR /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/InvokeRestMethodCommand.Common.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/InvokeRestMethodCommand.Common.cs index e9a73b4697..4b6039cf19 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/InvokeRestMethodCommand.Common.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/InvokeRestMethodCommand.Common.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebRequestPSCmdlet.Common.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebRequestPSCmdlet.Common.cs index 5c02638139..00828fec4b 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebRequestPSCmdlet.Common.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebRequestPSCmdlet.Common.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; @@ -95,7 +95,7 @@ namespace Microsoft.PowerShell.Commands public virtual SwitchParameter AllowUnencryptedAuthentication { get; set; } /// - /// Gets or sets the Authentication property used to determin the Authentication method for the web session. + /// Gets or sets the Authentication property used to determin the Authentication method for the web session. /// Authentication does not work with UseDefaultCredentials. /// Authentication over unencrypted sessions requires AllowUnencryptedAuthentication. /// Basic: Requires Credential @@ -103,7 +103,7 @@ namespace Microsoft.PowerShell.Commands /// [Parameter] public virtual WebAuthenticationType Authentication { get; set; } = WebAuthenticationType.None; - + /// /// gets or sets the Credential property /// @@ -745,7 +745,7 @@ namespace Microsoft.PowerShell.Commands { return (ParameterSetName == "StandardMethod"); } - + private bool IsCustomMethodSet() { return (ParameterSetName == "CustomMethod"); diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebResponseObject.Common.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebResponseObject.Common.cs index d01d2bc08e..3b9d1b211e 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebResponseObject.Common.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebResponseObject.Common.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/ConvertFromJsonCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/ConvertFromJsonCommand.cs index ebf9ada8a2..3718b0937c 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/ConvertFromJsonCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/ConvertFromJsonCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/ConvertToJsonCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/ConvertToJsonCommand.cs index 5c1e1f1421..ea40f39c33 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/ConvertToJsonCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/ConvertToJsonCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/BasicHtmlWebResponseObject.CoreClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/BasicHtmlWebResponseObject.CoreClr.cs index f4b060430f..e3f7480d55 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/BasicHtmlWebResponseObject.CoreClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/BasicHtmlWebResponseObject.CoreClr.cs @@ -1,7 +1,7 @@ #if CORECLR /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Net.Http; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/ContentHelper.CoreClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/ContentHelper.CoreClr.cs index 4268bc63a9..f0198cd3f4 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/ContentHelper.CoreClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/ContentHelper.CoreClr.cs @@ -1,7 +1,7 @@ #if CORECLR /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Text; @@ -38,10 +38,10 @@ namespace Microsoft.PowerShell.Commands raw.AppendFormat("{0} {1} {2}", protocol, statusCode, statusDescription); raw.AppendLine(); } - - HttpHeaders[] headerCollections = + + HttpHeaders[] headerCollections = { - response.Headers, + response.Headers, response.Content == null ? null : response.Content.Headers }; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/HtmlWebResponseObject.CoreClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/HtmlWebResponseObject.CoreClr.cs index c87d24a0d4..02dad113b8 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/HtmlWebResponseObject.CoreClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/HtmlWebResponseObject.CoreClr.cs @@ -1,7 +1,7 @@ #if CORECLR /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/HttpKnownHeaderNames.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/HttpKnownHeaderNames.cs index 975e89a19c..324f2d2f08 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/HttpKnownHeaderNames.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/HttpKnownHeaderNames.cs @@ -1,7 +1,7 @@ #if CORECLR /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/InvokeRestMethodCommand.CoreClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/InvokeRestMethodCommand.CoreClr.cs index 1001b17302..c12ff66453 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/InvokeRestMethodCommand.CoreClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/InvokeRestMethodCommand.CoreClr.cs @@ -1,7 +1,7 @@ #if CORECLR /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/InvokeWebRequestCommand.CoreClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/InvokeWebRequestCommand.CoreClr.cs index ebd8a659c3..64295984a1 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/InvokeWebRequestCommand.CoreClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/InvokeWebRequestCommand.CoreClr.cs @@ -1,7 +1,7 @@ #if CORECLR /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebProxy.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebProxy.cs index 2ceb4dc3b3..796b1de13c 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebProxy.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebProxy.cs @@ -1,7 +1,7 @@ #if CORECLR /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebRequestPSCmdlet.CoreClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebRequestPSCmdlet.CoreClr.cs index a730b464ee..7dbe314616 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebRequestPSCmdlet.CoreClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebRequestPSCmdlet.CoreClr.cs @@ -1,7 +1,7 @@ #if CORECLR /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; @@ -287,9 +287,9 @@ namespace Microsoft.PowerShell.Commands } else { - request.Headers.Add(HttpKnownHeaderNames.UserAgent, WebSession.UserAgent); + request.Headers.Add(HttpKnownHeaderNames.UserAgent, WebSession.UserAgent); } - + } // Set 'Keep-Alive' to false. This means set the Connection to 'Close'. diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebResponseHelper.CoreClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebResponseHelper.CoreClr.cs index fbcbdd8018..09ae113f11 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebResponseHelper.CoreClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebResponseHelper.CoreClr.cs @@ -1,7 +1,7 @@ #if CORECLR /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; @@ -18,7 +18,7 @@ namespace Microsoft.PowerShell.Commands string characterSet = response.Content.Headers.ContentType.CharSet; return characterSet; } - + internal static Dictionary> GetHeadersDictionary(HttpResponseMessage response) { var headers = new Dictionary>(StringComparer.OrdinalIgnoreCase); @@ -26,7 +26,7 @@ namespace Microsoft.PowerShell.Commands { headers[entry.Key] = entry.Value; } - // In CoreFX, HttpResponseMessage separates content related headers, such as Content-Type to + // In CoreFX, HttpResponseMessage separates content related headers, such as Content-Type to // HttpResponseMessage.Content.Headers. The remaining headers are in HttpResponseMessage.Headers. // The keys in both should be unique with no duplicates between them. // Added for backwards compatibility with PowerShell 5.1 and earlier. diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebResponseObject.CoreClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebResponseObject.CoreClr.cs index d683a833b4..6623dfacb2 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebResponseObject.CoreClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebResponseObject.CoreClr.cs @@ -1,7 +1,7 @@ #if CORECLR /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; @@ -41,7 +41,7 @@ namespace Microsoft.PowerShell.Commands } private Dictionary> _headers = null; - + /// /// gets the RelationLink property /// diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebResponseObjectFactory.CoreClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebResponseObjectFactory.CoreClr.cs index f706ae5a14..aba063892a 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebResponseObjectFactory.CoreClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebResponseObjectFactory.CoreClr.cs @@ -1,7 +1,7 @@ #if CORECLR /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Net.Http; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FormObject.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FormObject.cs index 1ae2083a5d..fcb17ce175 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FormObject.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FormObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FormObjectCollection.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FormObjectCollection.cs index 3fdfa1c6f5..23e9129caf 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FormObjectCollection.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FormObjectCollection.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/BasicHtmlWebResponseObject.FullClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/BasicHtmlWebResponseObject.FullClr.cs index 80ee6bb1d2..fa0f8683cf 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/BasicHtmlWebResponseObject.FullClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/BasicHtmlWebResponseObject.FullClr.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Net; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/ContentHelper.FullClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/ContentHelper.FullClr.cs index 12d7d14d94..02f0924886 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/ContentHelper.FullClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/ContentHelper.FullClr.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/HtmlWebResponseObject.FullClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/HtmlWebResponseObject.FullClr.cs index 807811ef75..0f9025991c 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/HtmlWebResponseObject.FullClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/HtmlWebResponseObject.FullClr.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/InvokeRestMethodCommand.FullClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/InvokeRestMethodCommand.FullClr.cs index c07f151ab6..003a19a3bd 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/InvokeRestMethodCommand.FullClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/InvokeRestMethodCommand.FullClr.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/InvokeWebRequestCommand.FullClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/InvokeWebRequestCommand.FullClr.cs index cb5a571078..f05516f4a2 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/InvokeWebRequestCommand.FullClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/InvokeWebRequestCommand.FullClr.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/JsonObjectTypeResolver.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/JsonObjectTypeResolver.cs index 142b64c1d7..14464b00f6 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/JsonObjectTypeResolver.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/JsonObjectTypeResolver.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebRequestPSCmdlet.FullClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebRequestPSCmdlet.FullClr.cs index c1b65ba3ee..5c44604adc 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebRequestPSCmdlet.FullClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebRequestPSCmdlet.FullClr.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebResponseHelper.FullClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebResponseHelper.FullClr.cs index 8e65427601..942967407f 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebResponseHelper.FullClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebResponseHelper.FullClr.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebResponseObject.FullClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebResponseObject.FullClr.cs index ee9087c462..c1872ac6cd 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebResponseObject.FullClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebResponseObject.FullClr.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebResponseObjectFactory.FullClr.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebResponseObjectFactory.FullClr.cs index 1d42838eed..b280bc5906 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebResponseObjectFactory.FullClr.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/FullClr/WebResponseObjectFactory.FullClr.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/JsonObject.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/JsonObject.cs index 68fc2a4f57..f06514ab4a 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/JsonObject.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/JsonObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/PSUserAgent.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/PSUserAgent.cs index 4408beae62..3b2b579239 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/PSUserAgent.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/PSUserAgent.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/StreamHelper.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/StreamHelper.cs index f4486c8771..aa19b99143 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/StreamHelper.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/StreamHelper.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebCmdletElementCollection.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebCmdletElementCollection.cs index 146a0707f0..83044fabc9 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebCmdletElementCollection.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebCmdletElementCollection.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebRequestMethod.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebRequestMethod.cs index 8dfe117b17..11afdf24b1 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebRequestMethod.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebRequestMethod.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace Microsoft.PowerShell.Commands diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebRequestSession.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebRequestSession.cs index 1f7a318ce4..9d5d89a27b 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebRequestSession.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebRequestSession.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Write-Object.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Write-Object.cs index 3400fdd9cd..2ac76d2c63 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Write-Object.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/Write-Object.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteAliasCommandBase.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteAliasCommandBase.cs index 7320cda732..9e195d3e30 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteAliasCommandBase.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteAliasCommandBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteConsoleCmdlet.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteConsoleCmdlet.cs index d83ef795fb..c53dc13623 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteConsoleCmdlet.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteConsoleCmdlet.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteProgressCmdlet.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteProgressCmdlet.cs index 8901b36e10..d9936e1422 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteProgressCmdlet.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteProgressCmdlet.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/XmlCommands.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/XmlCommands.cs index 4f87989f16..33845a3f23 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/XmlCommands.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/XmlCommands.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/compare-object.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/compare-object.cs index 6b6fc0f3a3..0dd2e5b2c9 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/compare-object.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/compare-object.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/convert-HTML.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/convert-HTML.cs index 03219da4bc..89e61edbf9 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/convert-HTML.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/convert-HTML.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/group-object.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/group-object.cs index 1dd466add3..60d316aecb 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/group-object.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/group-object.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/new-object.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/new-object.cs index c92d77af85..89f7bccf97 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/new-object.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/new-object.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #region Using directives diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/neweventcommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/neweventcommand.cs index 4584ffb997..29ac9dfa98 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/neweventcommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/neweventcommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/select-object.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/select-object.cs index dcc86a8e88..b5c4f0a358 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/select-object.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/select-object.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/sort-object.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/sort-object.cs index 1ccbbe0483..b3288396a3 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/sort-object.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/sort-object.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/tee-object.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/tee-object.cs index 3892848769..b5520bbad7 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/tee-object.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/tee-object.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/GetTracerCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/GetTracerCommand.cs index 12465f0798..8b9103f292 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/GetTracerCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/GetTracerCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Linq; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/MshHostTraceListener.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/MshHostTraceListener.cs index f366c518b6..ae0af27e05 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/MshHostTraceListener.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/MshHostTraceListener.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/SetTracerCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/SetTracerCommand.cs index 405857aa65..49c4c51ffa 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/SetTracerCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/SetTracerCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/TraceCommandBase.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/TraceCommandBase.cs index 621c44be5a..292a69db89 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/TraceCommandBase.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/TraceCommandBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/TraceExpressionCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/TraceExpressionCommand.cs index 15ca35a3b4..bffa86fcc9 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/TraceExpressionCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/TraceExpressionCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/TraceListenerCommandBase.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/TraceListenerCommandBase.cs index 7c3435d502..34ddcc2e00 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/TraceListenerCommandBase.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/TraceListenerCommandBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/update-list.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/update-list.cs index 55e4c85523..afff8f3b8d 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/update-list.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/update-list.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/write.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/write.cs index 99d4c8b240..f1b1bcd51a 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/write.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/write.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Commands.Utility/singleshell/installer/MshUtilityMshSnapin.cs b/src/Microsoft.PowerShell.Commands.Utility/singleshell/installer/MshUtilityMshSnapin.cs index af3788219d..b26ef9a062 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/singleshell/installer/MshUtilityMshSnapin.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/singleshell/installer/MshUtilityMshSnapin.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.ComponentModel; diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/CommandLineParameterParser.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/CommandLineParameterParser.cs index 02fb43d913..cbce5c675d 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/CommandLineParameterParser.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/CommandLineParameterParser.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleControl.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleControl.cs index d0a03d2aa3..84ae968d20 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleControl.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleControl.cs @@ -1,6 +1,6 @@ #if !UNIX /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs index 2064dee6b3..036dbf06dd 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs index 9dc337d0f6..2da4484062 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs @@ -1,6 +1,6 @@ #if !UNIX /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostTranscript.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostTranscript.cs index d331ef66a3..b9143e878e 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostTranscript.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostTranscript.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterface.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterface.cs index 691c892533..d31420bf2c 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterface.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterface.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfaceProgress.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfaceProgress.cs index d070a4ed14..6c9350802c 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfaceProgress.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfaceProgress.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfacePrompt.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfacePrompt.cs index 71d178ac76..660cd74143 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfacePrompt.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfacePrompt.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfacePromptForChoice.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfacePromptForChoice.cs index 7e76e37fff..369a938544 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfacePromptForChoice.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfacePromptForChoice.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfaceSecurity.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfaceSecurity.cs index fdd66e1af0..b945d24dc2 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfaceSecurity.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterfaceSecurity.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleShell.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleShell.cs index 064ff33d7a..89703712e5 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleShell.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleShell.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleTextWriter.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleTextWriter.cs index bb60e390be..7e14ca9d8c 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleTextWriter.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleTextWriter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/Executor.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/Executor.cs index d071663ce4..b3ba10f1ec 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/Executor.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/Executor.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ManagedEntrance.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ManagedEntrance.cs index 4e78975644..c8e233c20f 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ManagedEntrance.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ManagedEntrance.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/PendingProgress.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/PendingProgress.cs index d383743757..c2be475e02 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/PendingProgress.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/PendingProgress.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ProgressNode.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ProgressNode.cs index d11e78431d..159a1d5c78 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ProgressNode.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ProgressNode.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ProgressPane.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ProgressPane.cs index e9b0ed1d69..b1d20c8314 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ProgressPane.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ProgressPane.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/Serialization.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/Serialization.cs index f73c26107f..9eefb0e3b9 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/Serialization.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/Serialization.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/StartTranscriptCmdlet.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/StartTranscriptCmdlet.cs index 7a99f62091..6739e77073 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/StartTranscriptCmdlet.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/StartTranscriptCmdlet.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/StopTranscriptCmdlet.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/StopTranscriptCmdlet.cs index a856759b60..8c058a5e78 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/StopTranscriptCmdlet.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/StopTranscriptCmdlet.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.ConsoleHost/resources/ManagedEntranceStrings.resx b/src/Microsoft.PowerShell.ConsoleHost/resources/ManagedEntranceStrings.resx index b5d445ce43..ac73867b96 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/resources/ManagedEntranceStrings.resx +++ b/src/Microsoft.PowerShell.ConsoleHost/resources/ManagedEntranceStrings.resx @@ -119,7 +119,7 @@ PowerShell {0} -Copyright (C) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. Usage: pwsh[.exe] [[-File] <filePath> [args]] diff --git a/src/Microsoft.PowerShell.ConsoleHost/singleshell/installer/EngineInstaller.cs b/src/Microsoft.PowerShell.ConsoleHost/singleshell/installer/EngineInstaller.cs index 2df6f9e110..d768faabd9 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/singleshell/installer/EngineInstaller.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/singleshell/installer/EngineInstaller.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ConsoleHost/singleshell/installer/MshHostMshSnapin.cs b/src/Microsoft.PowerShell.ConsoleHost/singleshell/installer/MshHostMshSnapin.cs index 7eeed217bd..62d6c4c25b 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/singleshell/installer/MshHostMshSnapin.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/singleshell/installer/MshHostMshSnapin.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.ComponentModel; diff --git a/src/Microsoft.PowerShell.CoreCLR.Eventing/DotNetCode/Eventing/EventDescriptor.cs b/src/Microsoft.PowerShell.CoreCLR.Eventing/DotNetCode/Eventing/EventDescriptor.cs index 65f77f2254..36244513e7 100644 --- a/src/Microsoft.PowerShell.CoreCLR.Eventing/DotNetCode/Eventing/EventDescriptor.cs +++ b/src/Microsoft.PowerShell.CoreCLR.Eventing/DotNetCode/Eventing/EventDescriptor.cs @@ -1,6 +1,6 @@ //------------------------------------------------------------------------------ // -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ diff --git a/src/Microsoft.PowerShell.CoreCLR.Eventing/DotNetCode/Eventing/EventProvider.cs b/src/Microsoft.PowerShell.CoreCLR.Eventing/DotNetCode/Eventing/EventProvider.cs index 8d78ad9c84..b628b885f1 100644 --- a/src/Microsoft.PowerShell.CoreCLR.Eventing/DotNetCode/Eventing/EventProvider.cs +++ b/src/Microsoft.PowerShell.CoreCLR.Eventing/DotNetCode/Eventing/EventProvider.cs @@ -1,6 +1,6 @@ //------------------------------------------------------------------------------ // -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ diff --git a/src/Microsoft.PowerShell.CoreCLR.Eventing/DotNetCode/Eventing/EventProviderTraceListener.cs b/src/Microsoft.PowerShell.CoreCLR.Eventing/DotNetCode/Eventing/EventProviderTraceListener.cs index d699a76ec7..f692701cbc 100644 --- a/src/Microsoft.PowerShell.CoreCLR.Eventing/DotNetCode/Eventing/EventProviderTraceListener.cs +++ b/src/Microsoft.PowerShell.CoreCLR.Eventing/DotNetCode/Eventing/EventProviderTraceListener.cs @@ -1,6 +1,6 @@ //------------------------------------------------------------------------------ // -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ diff --git a/src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/PInvokeDllNames.cs b/src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/PInvokeDllNames.cs index cdc5599603..6a4688584f 100644 --- a/src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/PInvokeDllNames.cs +++ b/src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/PInvokeDllNames.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // namespace System.Management.Automation diff --git a/src/Microsoft.PowerShell.PSReadLine/AssemblyInfo.cs b/src/Microsoft.PowerShell.PSReadLine/AssemblyInfo.cs index be77dec90f..f77c665306 100644 --- a/src/Microsoft.PowerShell.PSReadLine/AssemblyInfo.cs +++ b/src/Microsoft.PowerShell.PSReadLine/AssemblyInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Reflection; diff --git a/src/Microsoft.PowerShell.PSReadLine/BasicEditing.cs b/src/Microsoft.PowerShell.PSReadLine/BasicEditing.cs index 8737a88c0b..377aa154cd 100644 --- a/src/Microsoft.PowerShell.PSReadLine/BasicEditing.cs +++ b/src/Microsoft.PowerShell.PSReadLine/BasicEditing.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/Cmdlets.cs b/src/Microsoft.PowerShell.PSReadLine/Cmdlets.cs index 21a3ed15dc..7146e28a0b 100644 --- a/src/Microsoft.PowerShell.PSReadLine/Cmdlets.cs +++ b/src/Microsoft.PowerShell.PSReadLine/Cmdlets.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/Completion.cs b/src/Microsoft.PowerShell.PSReadLine/Completion.cs index 932397ec38..aadee01d81 100644 --- a/src/Microsoft.PowerShell.PSReadLine/Completion.cs +++ b/src/Microsoft.PowerShell.PSReadLine/Completion.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/Completion.vi.cs b/src/Microsoft.PowerShell.PSReadLine/Completion.vi.cs index 97deef4517..2e5eb7458d 100644 --- a/src/Microsoft.PowerShell.PSReadLine/Completion.vi.cs +++ b/src/Microsoft.PowerShell.PSReadLine/Completion.vi.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/ConsoleBufferBuilder.cs b/src/Microsoft.PowerShell.PSReadLine/ConsoleBufferBuilder.cs index fad206fcc7..df5244c4f8 100644 --- a/src/Microsoft.PowerShell.PSReadLine/ConsoleBufferBuilder.cs +++ b/src/Microsoft.PowerShell.PSReadLine/ConsoleBufferBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/ConsoleKeyChordConverter.cs b/src/Microsoft.PowerShell.PSReadLine/ConsoleKeyChordConverter.cs index bb34f27f92..1af6c7aecf 100644 --- a/src/Microsoft.PowerShell.PSReadLine/ConsoleKeyChordConverter.cs +++ b/src/Microsoft.PowerShell.PSReadLine/ConsoleKeyChordConverter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/ConsoleLib.cs b/src/Microsoft.PowerShell.PSReadLine/ConsoleLib.cs index 462207bbad..177f0779fa 100644 --- a/src/Microsoft.PowerShell.PSReadLine/ConsoleLib.cs +++ b/src/Microsoft.PowerShell.PSReadLine/ConsoleLib.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/History.cs b/src/Microsoft.PowerShell.PSReadLine/History.cs index 417c24d4cf..0b77feb70f 100644 --- a/src/Microsoft.PowerShell.PSReadLine/History.cs +++ b/src/Microsoft.PowerShell.PSReadLine/History.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/HistoryQueue.cs b/src/Microsoft.PowerShell.PSReadLine/HistoryQueue.cs index 1034d94db1..ea6e86d485 100644 --- a/src/Microsoft.PowerShell.PSReadLine/HistoryQueue.cs +++ b/src/Microsoft.PowerShell.PSReadLine/HistoryQueue.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/KeyBindings.cs b/src/Microsoft.PowerShell.PSReadLine/KeyBindings.cs index 7ec4e4f41e..05f5538209 100644 --- a/src/Microsoft.PowerShell.PSReadLine/KeyBindings.cs +++ b/src/Microsoft.PowerShell.PSReadLine/KeyBindings.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/KeyBindings.vi.cs b/src/Microsoft.PowerShell.PSReadLine/KeyBindings.vi.cs index eb6f76da62..dd9f09b633 100644 --- a/src/Microsoft.PowerShell.PSReadLine/KeyBindings.vi.cs +++ b/src/Microsoft.PowerShell.PSReadLine/KeyBindings.vi.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/Keys.cs b/src/Microsoft.PowerShell.PSReadLine/Keys.cs index 3119be8dd9..df66e6baae 100644 --- a/src/Microsoft.PowerShell.PSReadLine/Keys.cs +++ b/src/Microsoft.PowerShell.PSReadLine/Keys.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/KillYank.cs b/src/Microsoft.PowerShell.PSReadLine/KillYank.cs index dac5b9e02d..b06be4cc92 100644 --- a/src/Microsoft.PowerShell.PSReadLine/KillYank.cs +++ b/src/Microsoft.PowerShell.PSReadLine/KillYank.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/Movement.cs b/src/Microsoft.PowerShell.PSReadLine/Movement.cs index 8469a04c14..b309b3245b 100644 --- a/src/Microsoft.PowerShell.PSReadLine/Movement.cs +++ b/src/Microsoft.PowerShell.PSReadLine/Movement.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/Movement.vi.cs b/src/Microsoft.PowerShell.PSReadLine/Movement.vi.cs index 43ddaf60fe..7c1c8a7bf2 100644 --- a/src/Microsoft.PowerShell.PSReadLine/Movement.vi.cs +++ b/src/Microsoft.PowerShell.PSReadLine/Movement.vi.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/Options.cs b/src/Microsoft.PowerShell.PSReadLine/Options.cs index 0a385cf088..63b440f145 100644 --- a/src/Microsoft.PowerShell.PSReadLine/Options.cs +++ b/src/Microsoft.PowerShell.PSReadLine/Options.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/PSReadLine.psd1 b/src/Microsoft.PowerShell.PSReadLine/PSReadLine.psd1 index 41e6b0cc5f..a634495d19 100644 --- a/src/Microsoft.PowerShell.PSReadLine/PSReadLine.psd1 +++ b/src/Microsoft.PowerShell.PSReadLine/PSReadLine.psd1 @@ -5,7 +5,7 @@ ModuleVersion = '1.2' GUID = '5714753b-2afd-4492-a5fd-01d9e2cff8b5' Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' -Copyright = '(c) Microsoft Corporation. All rights reserved.' +Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.' Description = 'Great command line editing in the PowerShell console host' PowerShellVersion = '3.0' DotNetFrameworkVersion = '4.0' diff --git a/src/Microsoft.PowerShell.PSReadLine/PublicAPI.cs b/src/Microsoft.PowerShell.PSReadLine/PublicAPI.cs index 3f0163a781..2db274ec43 100644 --- a/src/Microsoft.PowerShell.PSReadLine/PublicAPI.cs +++ b/src/Microsoft.PowerShell.PSReadLine/PublicAPI.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/ReadLine.cs b/src/Microsoft.PowerShell.PSReadLine/ReadLine.cs index 0282d77841..0aede96f92 100644 --- a/src/Microsoft.PowerShell.PSReadLine/ReadLine.cs +++ b/src/Microsoft.PowerShell.PSReadLine/ReadLine.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/ReadLine.vi.cs b/src/Microsoft.PowerShell.PSReadLine/ReadLine.vi.cs index 9c7b79289d..304663f06a 100644 --- a/src/Microsoft.PowerShell.PSReadLine/ReadLine.vi.cs +++ b/src/Microsoft.PowerShell.PSReadLine/ReadLine.vi.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/Render.cs b/src/Microsoft.PowerShell.PSReadLine/Render.cs index e0aec994da..632fdeb9cc 100644 --- a/src/Microsoft.PowerShell.PSReadLine/Render.cs +++ b/src/Microsoft.PowerShell.PSReadLine/Render.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/Replace.vi.cs b/src/Microsoft.PowerShell.PSReadLine/Replace.vi.cs index cf8c39e750..c4960e5b70 100644 --- a/src/Microsoft.PowerShell.PSReadLine/Replace.vi.cs +++ b/src/Microsoft.PowerShell.PSReadLine/Replace.vi.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/ScreenCapture.cs b/src/Microsoft.PowerShell.PSReadLine/ScreenCapture.cs index e35d83a5c5..4404c4866b 100644 --- a/src/Microsoft.PowerShell.PSReadLine/ScreenCapture.cs +++ b/src/Microsoft.PowerShell.PSReadLine/ScreenCapture.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !UNIX diff --git a/src/Microsoft.PowerShell.PSReadLine/UndoRedo.cs b/src/Microsoft.PowerShell.PSReadLine/UndoRedo.cs index b451231e1a..e25aa8ad85 100644 --- a/src/Microsoft.PowerShell.PSReadLine/UndoRedo.cs +++ b/src/Microsoft.PowerShell.PSReadLine/UndoRedo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/UndoRedo.vi.cs b/src/Microsoft.PowerShell.PSReadLine/UndoRedo.vi.cs index 11e5f452d3..ed0d127f02 100644 --- a/src/Microsoft.PowerShell.PSReadLine/UndoRedo.vi.cs +++ b/src/Microsoft.PowerShell.PSReadLine/UndoRedo.vi.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/VisualEditing.vi.cs b/src/Microsoft.PowerShell.PSReadLine/VisualEditing.vi.cs index 59a14053ea..b93a6f36b4 100644 --- a/src/Microsoft.PowerShell.PSReadLine/VisualEditing.vi.cs +++ b/src/Microsoft.PowerShell.PSReadLine/VisualEditing.vi.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.PSReadLine/Words.cs b/src/Microsoft.PowerShell.PSReadLine/Words.cs index 5aa0eca46a..fe8f3c8ecc 100644 --- a/src/Microsoft.PowerShell.PSReadLine/Words.cs +++ b/src/Microsoft.PowerShell.PSReadLine/Words.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/Microsoft.PowerShell.PSReadLine/Words.vi.cs b/src/Microsoft.PowerShell.PSReadLine/Words.vi.cs index eab0df2f4f..219499737c 100644 --- a/src/Microsoft.PowerShell.PSReadLine/Words.vi.cs +++ b/src/Microsoft.PowerShell.PSReadLine/Words.vi.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/Microsoft.PowerShell.PSReadLine/YankPaste.vi.cs b/src/Microsoft.PowerShell.PSReadLine/YankPaste.vi.cs index 93e383cb08..1f894a72fe 100644 --- a/src/Microsoft.PowerShell.PSReadLine/YankPaste.vi.cs +++ b/src/Microsoft.PowerShell.PSReadLine/YankPaste.vi.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/ScheduledJob.cs b/src/Microsoft.PowerShell.ScheduledJob/ScheduledJob.cs index c9835bde44..bf61ff7149 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/ScheduledJob.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/ScheduledJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Collections.Generic; diff --git a/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobDefinition.cs b/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobDefinition.cs index bde0a85e27..826b4cfdc7 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobDefinition.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobDefinition.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Collections.ObjectModel; diff --git a/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobOptions.cs b/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobOptions.cs index 2fa6bd0505..25ad74822b 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobOptions.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobOptions.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Collections.Generic; diff --git a/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobSourceAdapter.cs b/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobSourceAdapter.cs index 328625d49f..37d3eab4b2 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobSourceAdapter.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobSourceAdapter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Collections.Generic; diff --git a/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobStore.cs b/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobStore.cs index 68bc4f1402..b73dbc7432 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobStore.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobStore.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Collections.Generic; diff --git a/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobTrigger.cs b/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobTrigger.cs index 9e0dbfd47c..1ac15ed476 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobTrigger.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobTrigger.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Collections.Generic; diff --git a/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobWTS.cs b/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobWTS.cs index 3aec422838..e89df8051f 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobWTS.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/ScheduledJobWTS.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Collections.Generic; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/AddJobTrigger.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/AddJobTrigger.cs index dee94eeb21..0bfb6d8ae5 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/AddJobTrigger.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/AddJobTrigger.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/DisableJobDefinition.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/DisableJobDefinition.cs index 0c8f97fe19..a84de3eace 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/DisableJobDefinition.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/DisableJobDefinition.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/DisableJobDefinitionBase.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/DisableJobDefinitionBase.cs index 0fb83a2a64..73553266f6 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/DisableJobDefinitionBase.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/DisableJobDefinitionBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/DisableJobTrigger.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/DisableJobTrigger.cs index 2c80beb7cd..e8d73e93f7 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/DisableJobTrigger.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/DisableJobTrigger.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/EnableDisableCmdletBase.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/EnableDisableCmdletBase.cs index 2d4f6a51a6..fc1e2ef553 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/EnableDisableCmdletBase.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/EnableDisableCmdletBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/EnableJobDefinition.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/EnableJobDefinition.cs index 4bcd6eedb7..3344785d84 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/EnableJobDefinition.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/EnableJobDefinition.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/EnableJobTrigger.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/EnableJobTrigger.cs index 023591ad4f..54b8790aa1 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/EnableJobTrigger.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/EnableJobTrigger.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/GetJobDefinition.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/GetJobDefinition.cs index e138a57047..a59869d902 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/GetJobDefinition.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/GetJobDefinition.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/GetJobTrigger.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/GetJobTrigger.cs index ab1b05e949..469176d0f4 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/GetJobTrigger.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/GetJobTrigger.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/GetScheduledJobOption.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/GetScheduledJobOption.cs index f8eb680db9..be12fb0e3e 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/GetScheduledJobOption.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/GetScheduledJobOption.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/NewJobTrigger.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/NewJobTrigger.cs index 27ffc5a800..cabb4e3b66 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/NewJobTrigger.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/NewJobTrigger.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/NewScheduledJobOption.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/NewScheduledJobOption.cs index d6ec042cd7..224c11a8b5 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/NewScheduledJobOption.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/NewScheduledJobOption.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/RegisterJobDefinition.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/RegisterJobDefinition.cs index d49b4c071f..b451a9fc16 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/RegisterJobDefinition.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/RegisterJobDefinition.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/RemoveJobTrigger.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/RemoveJobTrigger.cs index b3a487bd36..757e52f39b 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/RemoveJobTrigger.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/RemoveJobTrigger.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/SchedJobCmdletBase.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/SchedJobCmdletBase.cs index 17568de908..25509d8cc5 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/SchedJobCmdletBase.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/SchedJobCmdletBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/ScheduledJobOptionCmdletBase.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/ScheduledJobOptionCmdletBase.cs index dc506b9249..135bcc9cb3 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/ScheduledJobOptionCmdletBase.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/ScheduledJobOptionCmdletBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/SetJobDefinition.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/SetJobDefinition.cs index eb04487499..ca3f42809b 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/SetJobDefinition.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/SetJobDefinition.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/SetJobTrigger.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/SetJobTrigger.cs index cea8cf487c..bfe72b9e07 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/SetJobTrigger.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/SetJobTrigger.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/SetScheduledJobOption.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/SetScheduledJobOption.cs index 917d6c187f..ef329895bd 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/SetScheduledJobOption.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/SetScheduledJobOption.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.ScheduledJob/commands/UnregisterJobDefinition.cs b/src/Microsoft.PowerShell.ScheduledJob/commands/UnregisterJobDefinition.cs index 2f85e7d3eb..8eea6a6b00 100644 --- a/src/Microsoft.PowerShell.ScheduledJob/commands/UnregisterJobDefinition.cs +++ b/src/Microsoft.PowerShell.ScheduledJob/commands/UnregisterJobDefinition.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Security/security/AclCommands.cs b/src/Microsoft.PowerShell.Security/security/AclCommands.cs index 3d1a73f635..e4a8d0421d 100644 --- a/src/Microsoft.PowerShell.Security/security/AclCommands.cs +++ b/src/Microsoft.PowerShell.Security/security/AclCommands.cs @@ -1,7 +1,7 @@ #pragma warning disable 1634, 1691 /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/Microsoft.PowerShell.Security/security/CatalogCommands.cs b/src/Microsoft.PowerShell.Security/security/CatalogCommands.cs index aa6c222fdf..07f2dc9015 100644 --- a/src/Microsoft.PowerShell.Security/security/CatalogCommands.cs +++ b/src/Microsoft.PowerShell.Security/security/CatalogCommands.cs @@ -1,7 +1,7 @@ #if !UNIX /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Security/security/CertificateCommands.cs b/src/Microsoft.PowerShell.Security/security/CertificateCommands.cs index bc75354826..94d032e48a 100644 --- a/src/Microsoft.PowerShell.Security/security/CertificateCommands.cs +++ b/src/Microsoft.PowerShell.Security/security/CertificateCommands.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.Security/security/CertificateProvider.cs b/src/Microsoft.PowerShell.Security/security/CertificateProvider.cs index b282a3510f..533cb60767 100644 --- a/src/Microsoft.PowerShell.Security/security/CertificateProvider.cs +++ b/src/Microsoft.PowerShell.Security/security/CertificateProvider.cs @@ -1,6 +1,6 @@ #if !UNIX /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Security/security/CmsCommands.cs b/src/Microsoft.PowerShell.Security/security/CmsCommands.cs index 40ca423458..b93a55f5e0 100644 --- a/src/Microsoft.PowerShell.Security/security/CmsCommands.cs +++ b/src/Microsoft.PowerShell.Security/security/CmsCommands.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Security/security/CredentialCommands.cs b/src/Microsoft.PowerShell.Security/security/CredentialCommands.cs index cc5a871fbb..1bc1d186d6 100644 --- a/src/Microsoft.PowerShell.Security/security/CredentialCommands.cs +++ b/src/Microsoft.PowerShell.Security/security/CredentialCommands.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Security/security/ExecutionPolicyCommands.cs b/src/Microsoft.PowerShell.Security/security/ExecutionPolicyCommands.cs index 47a998f15d..6720d3d9c8 100644 --- a/src/Microsoft.PowerShell.Security/security/ExecutionPolicyCommands.cs +++ b/src/Microsoft.PowerShell.Security/security/ExecutionPolicyCommands.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #region Using directives diff --git a/src/Microsoft.PowerShell.Security/security/SecureStringCommands.cs b/src/Microsoft.PowerShell.Security/security/SecureStringCommands.cs index 9dd8e96fb8..c426e0d8ce 100644 --- a/src/Microsoft.PowerShell.Security/security/SecureStringCommands.cs +++ b/src/Microsoft.PowerShell.Security/security/SecureStringCommands.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Security/security/SignatureCommands.cs b/src/Microsoft.PowerShell.Security/security/SignatureCommands.cs index 1e6a3ae6a0..94f8a8a691 100644 --- a/src/Microsoft.PowerShell.Security/security/SignatureCommands.cs +++ b/src/Microsoft.PowerShell.Security/security/SignatureCommands.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/Microsoft.PowerShell.Security/security/Utils.cs b/src/Microsoft.PowerShell.Security/security/Utils.cs index f9e9c1842f..1e2c758f1d 100644 --- a/src/Microsoft.PowerShell.Security/security/Utils.cs +++ b/src/Microsoft.PowerShell.Security/security/Utils.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Security/security/certificateproviderexceptions.cs b/src/Microsoft.PowerShell.Security/security/certificateproviderexceptions.cs index ba21f0c351..222cdc3347 100644 --- a/src/Microsoft.PowerShell.Security/security/certificateproviderexceptions.cs +++ b/src/Microsoft.PowerShell.Security/security/certificateproviderexceptions.cs @@ -1,6 +1,6 @@ #if !UNIX /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.PowerShell.Security/singleshell/installer/MshSecurityMshSnapin.cs b/src/Microsoft.PowerShell.Security/singleshell/installer/MshSecurityMshSnapin.cs index dbaa0e32c8..7f884b13f9 100644 --- a/src/Microsoft.PowerShell.Security/singleshell/installer/MshSecurityMshSnapin.cs +++ b/src/Microsoft.PowerShell.Security/singleshell/installer/MshSecurityMshSnapin.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/Microsoft.WSMan.Management/ConfigProvider.cs b/src/Microsoft.WSMan.Management/ConfigProvider.cs index a300e55085..891c01d9f5 100644 --- a/src/Microsoft.WSMan.Management/ConfigProvider.cs +++ b/src/Microsoft.WSMan.Management/ConfigProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Collections.Generic; diff --git a/src/Microsoft.WSMan.Management/CredSSP.cs b/src/Microsoft.WSMan.Management/CredSSP.cs index 29b71c14f3..cfe47a63a5 100644 --- a/src/Microsoft.WSMan.Management/CredSSP.cs +++ b/src/Microsoft.WSMan.Management/CredSSP.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.IO; diff --git a/src/Microsoft.WSMan.Management/CurrentConfigurations.cs b/src/Microsoft.WSMan.Management/CurrentConfigurations.cs index 242fd61333..02b2038fdb 100644 --- a/src/Microsoft.WSMan.Management/CurrentConfigurations.cs +++ b/src/Microsoft.WSMan.Management/CurrentConfigurations.cs @@ -1,6 +1,6 @@ //------------------------------------------------------------------ // -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // // // diff --git a/src/Microsoft.WSMan.Management/Interop.cs b/src/Microsoft.WSMan.Management/Interop.cs index 7a15b30cc9..5d8a6802db 100644 --- a/src/Microsoft.WSMan.Management/Interop.cs +++ b/src/Microsoft.WSMan.Management/Interop.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.IO; diff --git a/src/Microsoft.WSMan.Management/InvokeWSManAction.cs b/src/Microsoft.WSMan.Management/InvokeWSManAction.cs index 24e15016f1..6d9aba7296 100644 --- a/src/Microsoft.WSMan.Management/InvokeWSManAction.cs +++ b/src/Microsoft.WSMan.Management/InvokeWSManAction.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.IO; diff --git a/src/Microsoft.WSMan.Management/NewWSManSession.cs b/src/Microsoft.WSMan.Management/NewWSManSession.cs index 5d44cf2936..ab730bcdd2 100644 --- a/src/Microsoft.WSMan.Management/NewWSManSession.cs +++ b/src/Microsoft.WSMan.Management/NewWSManSession.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; using System.IO; diff --git a/src/Microsoft.WSMan.Management/PingWSMan.cs b/src/Microsoft.WSMan.Management/PingWSMan.cs index 60ed743868..21e9bd9569 100644 --- a/src/Microsoft.WSMan.Management/PingWSMan.cs +++ b/src/Microsoft.WSMan.Management/PingWSMan.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; using System.IO; diff --git a/src/Microsoft.WSMan.Management/Set-QuickConfig.cs b/src/Microsoft.WSMan.Management/Set-QuickConfig.cs index 240a25765b..6edb2b0d0e 100644 --- a/src/Microsoft.WSMan.Management/Set-QuickConfig.cs +++ b/src/Microsoft.WSMan.Management/Set-QuickConfig.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; using System.IO; diff --git a/src/Microsoft.WSMan.Management/WSManConnections.cs b/src/Microsoft.WSMan.Management/WSManConnections.cs index 642b6a0c09..dd8b14e20c 100644 --- a/src/Microsoft.WSMan.Management/WSManConnections.cs +++ b/src/Microsoft.WSMan.Management/WSManConnections.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; using System.IO; diff --git a/src/Microsoft.WSMan.Management/WSManInstance.cs b/src/Microsoft.WSMan.Management/WSManInstance.cs index 99bc67cdf6..96dfa8e843 100644 --- a/src/Microsoft.WSMan.Management/WSManInstance.cs +++ b/src/Microsoft.WSMan.Management/WSManInstance.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; using System.IO; diff --git a/src/Microsoft.WSMan.Management/WsManHelper.cs b/src/Microsoft.WSMan.Management/WsManHelper.cs index d33423ddf0..8e233d1416 100644 --- a/src/Microsoft.WSMan.Management/WsManHelper.cs +++ b/src/Microsoft.WSMan.Management/WsManHelper.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; using System.Collections.Generic; diff --git a/src/Microsoft.WSMan.Management/WsManSnapin.cs b/src/Microsoft.WSMan.Management/WsManSnapin.cs index b974122040..b47e57f424 100644 --- a/src/Microsoft.WSMan.Management/WsManSnapin.cs +++ b/src/Microsoft.WSMan.Management/WsManSnapin.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Diagnostics; diff --git a/src/Microsoft.WSMan.Management/resources/WsManResources.txt b/src/Microsoft.WSMan.Management/resources/WsManResources.txt index 7599a12ece..fd0bd37eb7 100644 --- a/src/Microsoft.WSMan.Management/resources/WsManResources.txt +++ b/src/Microsoft.WSMan.Management/resources/WsManResources.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2008 Microsoft Corporation +# Copyright (c) Microsoft Corporation. All rights reserved. # {0} = Delegate @@ -11,8 +11,8 @@ NoResourceMatch=This command cannot be used because the parameter does not match MultipleResourceMatch=This command cannot be used because the parameter matches multiple properties on the ResourceURI.Check the input parameters and run your command. NoAttributeMatch=This command cannot be used because the parameter matches a non-text property on the ResourceURI.Check the input parameters and run your command. WinrmNotConfigured=This command cannot be used because the configuration is corrupted. Run WinRM invoke Restore WinRM/config to restore the default configuration -DelegateFreshCred=The machine is configured to allow delegating fresh credentials to the following target(s): -NoDelegateFreshCred=The machine is not configured to allow delegating fresh credentials. +DelegateFreshCred=The machine is configured to allow delegating fresh credentials to the following target(s): +NoDelegateFreshCred=The machine is not configured to allow delegating fresh credentials. LocalHost=This command cannot be used to remove the computer 'localhost' because it will always be connected. Give some other connected computer and run your command. ConnectFailure=This command cannot be used from the current path. Move to root path of the provider using cd\\ and run your command again. DisconnectFailure=This command cannot be used from the current path. Move to root path of the provider using cd\\ and run your command again. diff --git a/src/Microsoft.WSMan.Runtime/WSManSessionOption.cs b/src/Microsoft.WSMan.Runtime/WSManSessionOption.cs index 9c187e9bc1..0a5a9c2268 100644 --- a/src/Microsoft.WSMan.Runtime/WSManSessionOption.cs +++ b/src/Microsoft.WSMan.Runtime/WSManSessionOption.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; using System.IO; diff --git a/src/Modules/Shared/Microsoft.PowerShell.Host/Microsoft.PowerShell.Host.psd1 b/src/Modules/Shared/Microsoft.PowerShell.Host/Microsoft.PowerShell.Host.psd1 index f16263ffb5..88a0034539 100644 --- a/src/Modules/Shared/Microsoft.PowerShell.Host/Microsoft.PowerShell.Host.psd1 +++ b/src/Modules/Shared/Microsoft.PowerShell.Host/Microsoft.PowerShell.Host.psd1 @@ -2,7 +2,7 @@ GUID="56D66100-99A0-4FFC-A12D-EEE9A6718AEF" Author="Microsoft Corporation" CompanyName="Microsoft Corporation" -Copyright="(c) Microsoft Corporation. All rights reserved." +Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion="3.0.0.0" PowerShellVersion="3.0" CLRVersion="4.0" diff --git a/src/Modules/Shared/PSReadLine/PSReadLine.psd1 b/src/Modules/Shared/PSReadLine/PSReadLine.psd1 index 41e6b0cc5f..a634495d19 100644 --- a/src/Modules/Shared/PSReadLine/PSReadLine.psd1 +++ b/src/Modules/Shared/PSReadLine/PSReadLine.psd1 @@ -5,7 +5,7 @@ ModuleVersion = '1.2' GUID = '5714753b-2afd-4492-a5fd-01d9e2cff8b5' Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' -Copyright = '(c) Microsoft Corporation. All rights reserved.' +Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.' Description = 'Great command line editing in the PowerShell console host' PowerShellVersion = '3.0' DotNetFrameworkVersion = '4.0' diff --git a/src/Modules/Unix/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1 b/src/Modules/Unix/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1 index 239ef66ecd..c270ed5384 100644 --- a/src/Modules/Unix/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1 +++ b/src/Modules/Unix/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1 @@ -2,7 +2,7 @@ GUID="EEFCB906-B326-4E99-9F54-8B4BB6EF3C6D" Author="Microsoft Corporation" CompanyName="Microsoft Corporation" -Copyright="(c) Microsoft Corporation. All rights reserved." +Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion="3.1.0.0" PowerShellVersion="3.0" NestedModules="Microsoft.PowerShell.Commands.Management.dll" diff --git a/src/Modules/Unix/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.psd1 b/src/Modules/Unix/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.psd1 index 8ff7cc1a76..20df5b5ea2 100644 --- a/src/Modules/Unix/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.psd1 +++ b/src/Modules/Unix/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.psd1 @@ -2,7 +2,7 @@ GUID="A94C8C7E-9810-47C0-B8AF-65089C13A35A" Author="Microsoft Corporation" CompanyName="Microsoft Corporation" -Copyright="(c) Microsoft Corporation. All rights reserved." +Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion="3.0.0.0" PowerShellVersion="3.0" AliasesToExport = @() diff --git a/src/Modules/Unix/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 b/src/Modules/Unix/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 index aa30232544..9e94151edd 100644 --- a/src/Modules/Unix/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 +++ b/src/Modules/Unix/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 @@ -2,7 +2,7 @@ GUID="1DA87E53-152B-403E-98DC-74D7B4D63D59" Author="Microsoft Corporation" CompanyName="Microsoft Corporation" -Copyright="© Microsoft Corporation. All rights reserved." +Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion="3.1.0.0" PowerShellVersion="3.0" CmdletsToExport= "Format-List", "Format-Custom", "Format-Table", "Format-Wide", diff --git a/src/Modules/Windows-Core+Full/CimCmdlets/CimCmdlets.psd1 b/src/Modules/Windows-Core+Full/CimCmdlets/CimCmdlets.psd1 index 611244f824..049f89c7d1 100644 --- a/src/Modules/Windows-Core+Full/CimCmdlets/CimCmdlets.psd1 +++ b/src/Modules/Windows-Core+Full/CimCmdlets/CimCmdlets.psd1 @@ -2,7 +2,7 @@ GUID="{Fb6cc51d-c096-4b38-b78d-0fed6277096a}" Author="Microsoft Corporation" CompanyName="Microsoft Corporation" -Copyright="© Microsoft Corporation. All rights reserved." +Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion="1.0.0.0" PowerShellVersion="3.0" CLRVersion="4.0" diff --git a/src/Modules/Windows-Core+Full/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.psd1 b/src/Modules/Windows-Core+Full/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.psd1 index f87b04f8c3..34343b0063 100644 --- a/src/Modules/Windows-Core+Full/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.psd1 +++ b/src/Modules/Windows-Core+Full/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.psd1 @@ -2,7 +2,7 @@ GUID="A94C8C7E-9810-47C0-B8AF-65089C13A35A" Author="Microsoft Corporation" CompanyName="Microsoft Corporation" -Copyright="(c) Microsoft Corporation. All rights reserved." +Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion="3.0.0.0" PowerShellVersion="3.0" CLRVersion="4.0" diff --git a/src/Modules/Windows-Core+Full/Microsoft.WSMan.Management/Microsoft.WSMan.Management.psd1 b/src/Modules/Windows-Core+Full/Microsoft.WSMan.Management/Microsoft.WSMan.Management.psd1 index 8de5dcd0c6..52c5e2ab83 100644 --- a/src/Modules/Windows-Core+Full/Microsoft.WSMan.Management/Microsoft.WSMan.Management.psd1 +++ b/src/Modules/Windows-Core+Full/Microsoft.WSMan.Management/Microsoft.WSMan.Management.psd1 @@ -2,7 +2,7 @@ GUID="766204A6-330E-4263-A7AB-46C87AFC366C" Author="Microsoft Corporation" CompanyName="Microsoft Corporation" -Copyright="(c) Microsoft Corporation. All rights reserved." +Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion="3.0.0.0" PowerShellVersion="3.0" CLRVersion="4.0" diff --git a/src/Modules/Windows-Core+Full/Microsoft.WSMan.Management/WSMan.format.ps1xml b/src/Modules/Windows-Core+Full/Microsoft.WSMan.Management/WSMan.format.ps1xml index c770f0e976..246a7a307d 100644 --- a/src/Modules/Windows-Core+Full/Microsoft.WSMan.Management/WSMan.format.ps1xml +++ b/src/Modules/Windows-Core+Full/Microsoft.WSMan.Management/WSMan.format.ps1xml @@ -5,7 +5,7 @@ PowerShell engine. Do not edit or change the contents of this file directly. Please see the Windows PowerShell documentation or type Get-Help Update-FormatData for more information. -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. THIS SAMPLE CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO diff --git a/src/Modules/Windows-Core+Full/PSDiagnostics/PSDiagnostics.psd1 b/src/Modules/Windows-Core+Full/PSDiagnostics/PSDiagnostics.psd1 index 44b9e29294..a84bd87f3c 100644 --- a/src/Modules/Windows-Core+Full/PSDiagnostics/PSDiagnostics.psd1 +++ b/src/Modules/Windows-Core+Full/PSDiagnostics/PSDiagnostics.psd1 @@ -2,7 +2,7 @@ GUID="c61d6278-02a3-4618-ae37-a524d40a7f44 " Author="Microsoft Corporation" CompanyName="Microsoft Corporation" - Copyright="© Microsoft Corporation. All rights reserved." + Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion="1.0.0.0" PowerShellVersion="2.0" CLRVersion="2.0.50727" diff --git a/src/Modules/Windows-Core/Microsoft.PowerShell.Diagnostics/GetEvent.types.ps1xml b/src/Modules/Windows-Core/Microsoft.PowerShell.Diagnostics/GetEvent.types.ps1xml index 29a42edfab..150f184c16 100644 --- a/src/Modules/Windows-Core/Microsoft.PowerShell.Diagnostics/GetEvent.types.ps1xml +++ b/src/Modules/Windows-Core/Microsoft.PowerShell.Diagnostics/GetEvent.types.ps1xml @@ -5,7 +5,7 @@ PowerShell engine. Do not edit or change the contents of this file directly. Please see the Windows PowerShell documentation or type Get-Help Update-TypeData for more information. -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. THIS SAMPLE CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO diff --git a/src/Modules/Windows-Core/Microsoft.PowerShell.Diagnostics/Microsoft.PowerShell.Diagnostics.psd1 b/src/Modules/Windows-Core/Microsoft.PowerShell.Diagnostics/Microsoft.PowerShell.Diagnostics.psd1 index 11096b37bd..af936717b6 100644 --- a/src/Modules/Windows-Core/Microsoft.PowerShell.Diagnostics/Microsoft.PowerShell.Diagnostics.psd1 +++ b/src/Modules/Windows-Core/Microsoft.PowerShell.Diagnostics/Microsoft.PowerShell.Diagnostics.psd1 @@ -2,7 +2,7 @@ GUID="CA046F10-CA64-4740-8FF9-2565DBA61A4F" Author="Microsoft Corporation" CompanyName="Microsoft Corporation" -Copyright="© Microsoft Corporation. All rights reserved." +Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion="3.0.0.0" PowerShellVersion="3.0" CmdletsToExport="Get-WinEvent", "New-WinEvent" # Counter CmdLets Disabled #4272: "Get-Counter", "Import-Counter", "Export-Counter" diff --git a/src/Modules/Windows-Core/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1 b/src/Modules/Windows-Core/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1 index b469587769..3c74eb69c0 100644 --- a/src/Modules/Windows-Core/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1 +++ b/src/Modules/Windows-Core/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1 @@ -2,7 +2,7 @@ GUID="EEFCB906-B326-4E99-9F54-8B4BB6EF3C6D" Author="Microsoft Corporation" CompanyName="Microsoft Corporation" -Copyright="(c) Microsoft Corporation. All rights reserved." +Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion="3.1.0.0" PowerShellVersion="3.0" NestedModules="Microsoft.PowerShell.Commands.Management.dll" diff --git a/src/Modules/Windows-Core/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 b/src/Modules/Windows-Core/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 index 5309d98293..a47f81755a 100644 --- a/src/Modules/Windows-Core/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 +++ b/src/Modules/Windows-Core/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 @@ -2,7 +2,7 @@ GUID="1DA87E53-152B-403E-98DC-74D7B4D63D59" Author="Microsoft Corporation" CompanyName="Microsoft Corporation" -Copyright="© Microsoft Corporation. All rights reserved." +Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion="3.1.0.0" PowerShellVersion="3.0" CmdletsToExport= "Format-List", "Format-Custom", "Format-Table", "Format-Wide", diff --git a/src/Modules/Windows-Full/Microsoft.PowerShell.Diagnostics/GetEvent.types.ps1xml b/src/Modules/Windows-Full/Microsoft.PowerShell.Diagnostics/GetEvent.types.ps1xml index d9dcc2034b..c52b8e6c2c 100644 --- a/src/Modules/Windows-Full/Microsoft.PowerShell.Diagnostics/GetEvent.types.ps1xml +++ b/src/Modules/Windows-Full/Microsoft.PowerShell.Diagnostics/GetEvent.types.ps1xml @@ -5,7 +5,7 @@ PowerShell engine. Do not edit or change the contents of this file directly. Please see the Windows PowerShell documentation or type Get-Help Update-TypeData for more information. -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. THIS SAMPLE CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO diff --git a/src/Modules/Windows-Full/Microsoft.PowerShell.Diagnostics/Microsoft.PowerShell.Diagnostics.psd1 b/src/Modules/Windows-Full/Microsoft.PowerShell.Diagnostics/Microsoft.PowerShell.Diagnostics.psd1 index 2b5035e6e3..5d95cfb3a7 100644 --- a/src/Modules/Windows-Full/Microsoft.PowerShell.Diagnostics/Microsoft.PowerShell.Diagnostics.psd1 +++ b/src/Modules/Windows-Full/Microsoft.PowerShell.Diagnostics/Microsoft.PowerShell.Diagnostics.psd1 @@ -2,7 +2,7 @@ GUID="CA046F10-CA64-4740-8FF9-2565DBA61A4F" Author="Microsoft Corporation" CompanyName="Microsoft Corporation" -Copyright="(c) Microsoft Corporation. All rights reserved." +Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion="3.0.0.0" PowerShellVersion="3.0" CLRVersion="4.0" diff --git a/src/Modules/Windows-Full/Microsoft.PowerShell.LocalAccounts/Microsoft.PowerShell.LocalAccounts.psd1 b/src/Modules/Windows-Full/Microsoft.PowerShell.LocalAccounts/Microsoft.PowerShell.LocalAccounts.psd1 index ee3091ecc5..8f682e5367 100644 --- a/src/Modules/Windows-Full/Microsoft.PowerShell.LocalAccounts/Microsoft.PowerShell.LocalAccounts.psd1 +++ b/src/Modules/Windows-Full/Microsoft.PowerShell.LocalAccounts/Microsoft.PowerShell.LocalAccounts.psd1 @@ -4,7 +4,7 @@ ModuleVersion = '1.0.0.0' GUID = '8e362604-2c0b-448f-a414-a6a690a644e2' Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' -Copyright = '© Microsoft Corporation. All rights reserved.' +Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.' Description = 'Provides cmdlets to work with local users and local groups' PowerShellVersion = '3.0' CLRVersion = '4.0' diff --git a/src/Modules/Windows-Full/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1 b/src/Modules/Windows-Full/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1 index 18c67d3033..1f68c7822b 100644 --- a/src/Modules/Windows-Full/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1 +++ b/src/Modules/Windows-Full/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1 @@ -2,7 +2,7 @@ GUID="EEFCB906-B326-4E99-9F54-8B4BB6EF3C6D" Author="Microsoft Corporation" CompanyName="Microsoft Corporation" -Copyright="(c) Microsoft Corporation. All rights reserved." +Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion="3.1.0.0" PowerShellVersion="3.0" CLRVersion="4.0" diff --git a/src/Modules/Windows-Full/Microsoft.PowerShell.ODataUtils/Microsoft.PowerShell.ODataUtils.psd1 b/src/Modules/Windows-Full/Microsoft.PowerShell.ODataUtils/Microsoft.PowerShell.ODataUtils.psd1 index 515040f794..4f1b1e4701 100644 --- a/src/Modules/Windows-Full/Microsoft.PowerShell.ODataUtils/Microsoft.PowerShell.ODataUtils.psd1 +++ b/src/Modules/Windows-Full/Microsoft.PowerShell.ODataUtils/Microsoft.PowerShell.ODataUtils.psd1 @@ -22,7 +22,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '(c) 2014 Microsoft. All rights reserved.' +Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module # Description = '' diff --git a/src/Modules/Windows-Full/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 b/src/Modules/Windows-Full/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 index afaafa5aed..4a48f4ec1e 100644 --- a/src/Modules/Windows-Full/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 +++ b/src/Modules/Windows-Full/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 @@ -2,7 +2,7 @@ GUID="1DA87E53-152B-403E-98DC-74D7B4D63D59" Author="Microsoft Corporation" CompanyName="Microsoft Corporation" -Copyright="© Microsoft Corporation. All rights reserved." +Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion="3.1.0.0" PowerShellVersion="3.0" CLRVersion="4.0" diff --git a/src/Modules/Windows-Full/PSScheduledJob/PSScheduledJob.psd1 b/src/Modules/Windows-Full/PSScheduledJob/PSScheduledJob.psd1 index 3b7d84099d..a8ed0ab830 100644 --- a/src/Modules/Windows-Full/PSScheduledJob/PSScheduledJob.psd1 +++ b/src/Modules/Windows-Full/PSScheduledJob/PSScheduledJob.psd1 @@ -10,7 +10,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' -Copyright = '(c) Microsoft Corporation. All rights reserved.' +Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.' PowerShellVersion = '3.0' @@ -20,8 +20,8 @@ TypesToProcess = 'PSScheduledJob.types.ps1xml' FormatsToProcess="PSScheduledJob.Format.ps1xml" -CmdletsToExport = 'New-JobTrigger', 'Add-JobTrigger', 'Remove-JobTrigger', - 'Get-JobTrigger', 'Set-JobTrigger', 'Enable-JobTrigger', +CmdletsToExport = 'New-JobTrigger', 'Add-JobTrigger', 'Remove-JobTrigger', + 'Get-JobTrigger', 'Set-JobTrigger', 'Enable-JobTrigger', 'Disable-JobTrigger', 'New-ScheduledJobOption', 'Get-ScheduledJobOption', 'Set-ScheduledJobOption', 'Register-ScheduledJob', 'Get-ScheduledJob', 'Set-ScheduledJob', 'Unregister-ScheduledJob', 'Enable-ScheduledJob', diff --git a/src/Modules/Windows-Full/PSScheduledJob/PSScheduledJob.types.ps1xml b/src/Modules/Windows-Full/PSScheduledJob/PSScheduledJob.types.ps1xml index 699af0c99d..f8822f2c9d 100644 --- a/src/Modules/Windows-Full/PSScheduledJob/PSScheduledJob.types.ps1xml +++ b/src/Modules/Windows-Full/PSScheduledJob/PSScheduledJob.types.ps1xml @@ -5,7 +5,7 @@ PowerShell engine. Do not edit or change the contents of this file directly. Please see the Windows PowerShell documentation or type Get-Help Update-TypeData for more information. -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. THIS SAMPLE CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO diff --git a/src/System.Management.Automation/CoreCLR/CorePsAssemblyLoadContext.cs b/src/System.Management.Automation/CoreCLR/CorePsAssemblyLoadContext.cs index f5ecd6dda8..bbc4f565c2 100644 --- a/src/System.Management.Automation/CoreCLR/CorePsAssemblyLoadContext.cs +++ b/src/System.Management.Automation/CoreCLR/CorePsAssemblyLoadContext.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if CORECLR diff --git a/src/System.Management.Automation/CoreCLR/CorePsPlatform.cs b/src/System.Management.Automation/CoreCLR/CorePsPlatform.cs index b52996b7ab..4a21405f65 100644 --- a/src/System.Management.Automation/CoreCLR/CorePsPlatform.cs +++ b/src/System.Management.Automation/CoreCLR/CorePsPlatform.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; @@ -159,7 +159,7 @@ namespace System.Management.Automation return false; #else if (_isWindowsDesktop.HasValue) { return _isWindowsDesktop.Value; } - + _isWindowsDesktop = !IsNanoServer && !IsIoT; return _isWindowsDesktop.Value; #endif diff --git a/src/System.Management.Automation/CoreCLR/CorePsStub.cs b/src/System.Management.Automation/CoreCLR/CorePsStub.cs index 0763a456fd..f58d8d49ee 100644 --- a/src/System.Management.Automation/CoreCLR/CorePsStub.cs +++ b/src/System.Management.Automation/CoreCLR/CorePsStub.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/cimSupport/cmdletization/EnumWriter.cs b/src/System.Management.Automation/cimSupport/cmdletization/EnumWriter.cs index 571c3790ab..9247b13fff 100644 --- a/src/System.Management.Automation/cimSupport/cmdletization/EnumWriter.cs +++ b/src/System.Management.Automation/cimSupport/cmdletization/EnumWriter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/cimSupport/cmdletization/MethodInvocationInfo.cs b/src/System.Management.Automation/cimSupport/cmdletization/MethodInvocationInfo.cs index 07aff7f151..110d3a53ce 100644 --- a/src/System.Management.Automation/cimSupport/cmdletization/MethodInvocationInfo.cs +++ b/src/System.Management.Automation/cimSupport/cmdletization/MethodInvocationInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/cimSupport/cmdletization/MethodParameter.cs b/src/System.Management.Automation/cimSupport/cmdletization/MethodParameter.cs index 1ef45c8e53..b559951632 100644 --- a/src/System.Management.Automation/cimSupport/cmdletization/MethodParameter.cs +++ b/src/System.Management.Automation/cimSupport/cmdletization/MethodParameter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/cimSupport/cmdletization/MethodParametersCollection.cs b/src/System.Management.Automation/cimSupport/cmdletization/MethodParametersCollection.cs index e1f4edf84d..fa7d0ce519 100644 --- a/src/System.Management.Automation/cimSupport/cmdletization/MethodParametersCollection.cs +++ b/src/System.Management.Automation/cimSupport/cmdletization/MethodParametersCollection.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace Microsoft.PowerShell.Cmdletization diff --git a/src/System.Management.Automation/cimSupport/cmdletization/ObjectModelWrapper.cs b/src/System.Management.Automation/cimSupport/cmdletization/ObjectModelWrapper.cs index 8a6742acde..2dc843d567 100644 --- a/src/System.Management.Automation/cimSupport/cmdletization/ObjectModelWrapper.cs +++ b/src/System.Management.Automation/cimSupport/cmdletization/ObjectModelWrapper.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/cimSupport/cmdletization/QueryBuilder.cs b/src/System.Management.Automation/cimSupport/cmdletization/QueryBuilder.cs index e484359f9e..5f79633253 100644 --- a/src/System.Management.Automation/cimSupport/cmdletization/QueryBuilder.cs +++ b/src/System.Management.Automation/cimSupport/cmdletization/QueryBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/cimSupport/cmdletization/ScriptWriter.cs b/src/System.Management.Automation/cimSupport/cmdletization/ScriptWriter.cs index 2c188a7580..a244064ebc 100644 --- a/src/System.Management.Automation/cimSupport/cmdletization/ScriptWriter.cs +++ b/src/System.Management.Automation/cimSupport/cmdletization/ScriptWriter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/cimSupport/cmdletization/cim/WildcardPatternToCimQueryParser.cs b/src/System.Management.Automation/cimSupport/cmdletization/cim/WildcardPatternToCimQueryParser.cs index ec4d542df2..c5a9695e25 100644 --- a/src/System.Management.Automation/cimSupport/cmdletization/cim/WildcardPatternToCimQueryParser.cs +++ b/src/System.Management.Automation/cimSupport/cmdletization/cim/WildcardPatternToCimQueryParser.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ // TODO/FIXME: move this to Microsoft.PowerShell.Cim namespace (and move in source depot folder as well) diff --git a/src/System.Management.Automation/cimSupport/other/ciminstancetypeadapter.cs b/src/System.Management.Automation/cimSupport/other/ciminstancetypeadapter.cs index 349e734f3e..9623adb1af 100644 --- a/src/System.Management.Automation/cimSupport/other/ciminstancetypeadapter.cs +++ b/src/System.Management.Automation/cimSupport/other/ciminstancetypeadapter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseCommand.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseCommand.cs index 9acf3a0dd2..70e9c13c0d 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseCommand.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseFormattingCommand.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseFormattingCommand.cs index 4e183c2e5e..14ca8b34fd 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseFormattingCommand.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseFormattingCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseFormattingCommandParameters.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseFormattingCommandParameters.cs index 1d6d5289ab..74ad087336 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseFormattingCommandParameters.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseFormattingCommandParameters.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseOutputtingCommand.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseOutputtingCommand.cs index b9f32c91ef..48cd07c9e0 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseOutputtingCommand.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/BaseOutputtingCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ColumnWidthManager.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ColumnWidthManager.cs index ab50d79b9f..56687b2ae7 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ColumnWidthManager.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ColumnWidthManager.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace Microsoft.PowerShell.Commands.Internal.Format diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ComplexWriter.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ComplexWriter.cs index 027f04834f..210754dbe2 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ComplexWriter.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ComplexWriter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Certificate_format_ps1xml.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Certificate_format_ps1xml.cs index f5d62ae161..7b0a917c11 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Certificate_format_ps1xml.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Certificate_format_ps1xml.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Diagnostics_Format_ps1xml.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Diagnostics_Format_ps1xml.cs index 4b4f045816..6a733afd4d 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Diagnostics_Format_ps1xml.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Diagnostics_Format_ps1xml.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/DotNetTypes_format_ps1xml.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/DotNetTypes_format_ps1xml.cs index 214c6a7935..c1be08d425 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/DotNetTypes_format_ps1xml.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/DotNetTypes_format_ps1xml.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Event_Format_ps1xml.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Event_Format_ps1xml.cs index ba002b2088..317cd60517 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Event_Format_ps1xml.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Event_Format_ps1xml.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/FileSystem_format_ps1xml.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/FileSystem_format_ps1xml.cs index 8fde536a94..f2db072630 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/FileSystem_format_ps1xml.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/FileSystem_format_ps1xml.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/HelpV3_format_ps1xml.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/HelpV3_format_ps1xml.cs index 0c6456d129..b92f990b9c 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/HelpV3_format_ps1xml.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/HelpV3_format_ps1xml.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Help_format_ps1xml.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Help_format_ps1xml.cs index 3240ef5d16..3e1fb82f9d 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Help_format_ps1xml.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Help_format_ps1xml.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/PowerShellCore_format_ps1xml.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/PowerShellCore_format_ps1xml.cs index 67a6197549..61c7295023 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/PowerShellCore_format_ps1xml.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/PowerShellCore_format_ps1xml.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/PowerShellTrace_format_ps1xml.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/PowerShellTrace_format_ps1xml.cs index e9d5a975d5..03dd42b3eb 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/PowerShellTrace_format_ps1xml.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/PowerShellTrace_format_ps1xml.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Registry_format_ps1xml.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Registry_format_ps1xml.cs index 08b64d6a8c..05f07cb6c5 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Registry_format_ps1xml.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/Registry_format_ps1xml.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/WSMan_Format_ps1xml.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/WSMan_Format_ps1xml.cs index 656679fdc0..cec51adf5d 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/WSMan_Format_ps1xml.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DefaultFormatters/WSMan_Format_ps1xml.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/FormatTable.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/FormatTable.cs index 0638e5cbe6..2cca282bf3 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/FormatTable.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/FormatTable.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Concurrent; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/XmlLoaderBase.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/XmlLoaderBase.cs index 682b09c23a..a48c9bac7f 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/XmlLoaderBase.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/XmlLoaderBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/commands.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/commands.cs index 6fd6a83d96..bb3e60a368 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/commands.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/commands.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData.cs index a098b08f15..db4b84f55d 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ // this file contains the data structures for the in memory database diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionDataMethods.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionDataMethods.cs index 2553ddeb16..fc6e3f7172 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionDataMethods.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionDataMethods.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace Microsoft.PowerShell.Commands.Internal.Format diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Complex.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Complex.cs index 4b6a4f94be..642b1d5b89 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Complex.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Complex.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ // this file contains the data structures for the in memory database diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_List.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_List.cs index e62c649aa8..acad22df75 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_List.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_List.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ // this file contains the data structures for the in memory database diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Misc.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Misc.cs index b5a2075e63..7bebf09eda 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Misc.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Misc.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ // this file contains the data structures for the in memory database diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Table.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Table.cs index 04a5253fda..6a74c5b9b3 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Table.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Table.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ // this file contains the data structures for the in memory database diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Wide.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Wide.cs index 4e25bb280a..c5560edf1f 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Wide.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayDescriptionData_Wide.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ // this file contains the data structures for the in memory database diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayResourceManagerCache.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayResourceManagerCache.cs index 6d258a6d1b..c4f4e237fd 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayResourceManagerCache.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/displayResourceManagerCache.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataManager.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataManager.cs index ba4cfb4910..838ed276f1 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataManager.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataManager.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataQuery.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataQuery.cs index 020564f57a..3467716071 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataQuery.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataQuery.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader.cs index 09db2409f2..1e2b3edb76 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Complex.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Complex.cs index 87ca7024d3..cb1fe4b71b 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Complex.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Complex.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_List.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_List.cs index fdd873d681..6c2bdf898c 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_List.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_List.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Table.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Table.cs index f4bf1456e1..de895ffd89 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Table.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Table.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Views.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Views.cs index 7cb5b9341f..4e1052281c 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Views.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Views.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Wide.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Wide.cs index 7ee26d98dc..38e1706b3a 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Wide.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader_Wide.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatGroupManager.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatGroupManager.cs index e5a3010149..2308170705 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatGroupManager.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatGroupManager.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatMsgCtxManager.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatMsgCtxManager.cs index f0d9635825..24f9badc41 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatMsgCtxManager.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatMsgCtxManager.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator.cs index cac517e079..18841851b4 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_Complex.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_Complex.cs index 6dda909650..e657ea8609 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_Complex.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_Complex.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_List.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_List.cs index 890ad799f1..f90d04d1dc 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_List.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_List.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_Table.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_Table.cs index 86d9688f39..23450e5373 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_Table.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_Table.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_Wide.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_Wide.cs index 3cbcebe464..b7b2d7df74 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_Wide.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewGenerator_Wide.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewManager.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewManager.cs index f384a98e53..adca8c0bc4 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewManager.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatViewManager.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatXMLWriter.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatXMLWriter.cs index 117024cfd2..b679bb9ddf 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatXMLWriter.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormatXMLWriter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormattingObjects.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormattingObjects.cs index 73d3711efb..7660eb45f4 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormattingObjects.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormattingObjects.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ // This file contains the definitions for the objects // used in the communication protocol between formatting diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormattingObjectsDeserializer.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormattingObjectsDeserializer.cs index 92bc60a97a..869f1e919c 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormattingObjectsDeserializer.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/FormattingObjectsDeserializer.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ILineOutput.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ILineOutput.cs index ec09e32266..0919fa17a2 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ILineOutput.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ILineOutput.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ListWriter.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ListWriter.cs index b8789a496c..83fa285d32 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ListWriter.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/ListWriter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Specialized; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/OutputManager.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/OutputManager.cs index 5df77045e1..cd4adf2c33 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/OutputManager.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/OutputManager.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/OutputQueue.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/OutputQueue.cs index 47e61bd4f9..46c15e02e5 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/OutputQueue.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/OutputQueue.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/TableWriter.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/TableWriter.cs index d8c9b74fbb..d373b121cd 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/TableWriter.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/TableWriter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Specialized; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/MshObjectUtil.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/MshObjectUtil.cs index 52d853ed4d..37b42baf77 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/MshObjectUtil.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/MshObjectUtil.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/MshParameter.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/MshParameter.cs index fe8d2677cf..956892e459 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/MshParameter.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/MshParameter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/MshParameterAssociation.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/MshParameterAssociation.cs index 1ab20dc5e7..e571c5a00a 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/MshParameterAssociation.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/MshParameterAssociation.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/Mshexpression.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/Mshexpression.cs index d12cfe4f0b..6def0a76b3 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/Mshexpression.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/common/Utilities/Mshexpression.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/format-default/format-default.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/format-default/format-default.cs index 656245b66d..5d4c05dd51 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/format-default/format-default.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/format-default/format-default.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/out-console/ConsoleLineOutput.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/out-console/ConsoleLineOutput.cs index 0513cf0bdd..4808107426 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/out-console/ConsoleLineOutput.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/out-console/ConsoleLineOutput.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ // NOTE: define this if you want to test the output on US machine and ASCII diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/out-console/OutConsole.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/out-console/OutConsole.cs index 433176ca86..823c5b5ea6 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/out-console/OutConsole.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/out-console/OutConsole.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace Microsoft.PowerShell.Commands diff --git a/src/System.Management.Automation/commands/utility/FormatAndOutput/out-textInterface/OutTextInterface.cs b/src/System.Management.Automation/commands/utility/FormatAndOutput/out-textInterface/OutTextInterface.cs index 7c3d7f88fe..a72e34844a 100644 --- a/src/System.Management.Automation/commands/utility/FormatAndOutput/out-textInterface/OutTextInterface.cs +++ b/src/System.Management.Automation/commands/utility/FormatAndOutput/out-textInterface/OutTextInterface.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/AliasInfo.cs b/src/System.Management.Automation/engine/AliasInfo.cs index 54b5e4872e..2095b70724 100644 --- a/src/System.Management.Automation/engine/AliasInfo.cs +++ b/src/System.Management.Automation/engine/AliasInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/ApplicationInfo.cs b/src/System.Management.Automation/engine/ApplicationInfo.cs index fe918201d8..c5f0a0e8fe 100644 --- a/src/System.Management.Automation/engine/ApplicationInfo.cs +++ b/src/System.Management.Automation/engine/ApplicationInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics; diff --git a/src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs b/src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs index b8f8393a89..95dd97d768 100644 --- a/src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs +++ b/src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Globalization; diff --git a/src/System.Management.Automation/engine/Attributes.cs b/src/System.Management.Automation/engine/Attributes.cs index 730d945305..f0022448c0 100644 --- a/src/System.Management.Automation/engine/Attributes.cs +++ b/src/System.Management.Automation/engine/Attributes.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/AutomationEngine.cs b/src/System.Management.Automation/engine/AutomationEngine.cs index a088121d03..0b8d677019 100644 --- a/src/System.Management.Automation/engine/AutomationEngine.cs +++ b/src/System.Management.Automation/engine/AutomationEngine.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Linq; diff --git a/src/System.Management.Automation/engine/AutomationNull.cs b/src/System.Management.Automation/engine/AutomationNull.cs index 4918c75e47..95e1571927 100644 --- a/src/System.Management.Automation/engine/AutomationNull.cs +++ b/src/System.Management.Automation/engine/AutomationNull.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation.Internal diff --git a/src/System.Management.Automation/engine/COM/ComAdapter.cs b/src/System.Management.Automation/engine/COM/ComAdapter.cs index bdf45e61c8..afe2e2c585 100644 --- a/src/System.Management.Automation/engine/COM/ComAdapter.cs +++ b/src/System.Management.Automation/engine/COM/ComAdapter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/COM/ComDispatch.cs b/src/System.Management.Automation/engine/COM/ComDispatch.cs index 489e491efb..9432d52e75 100644 --- a/src/System.Management.Automation/engine/COM/ComDispatch.cs +++ b/src/System.Management.Automation/engine/COM/ComDispatch.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.InteropServices; diff --git a/src/System.Management.Automation/engine/COM/ComInvoker.cs b/src/System.Management.Automation/engine/COM/ComInvoker.cs index 9aa2a6c8e9..9aaafb00f3 100644 --- a/src/System.Management.Automation/engine/COM/ComInvoker.cs +++ b/src/System.Management.Automation/engine/COM/ComInvoker.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Linq; diff --git a/src/System.Management.Automation/engine/COM/ComMethod.cs b/src/System.Management.Automation/engine/COM/ComMethod.cs index ec09a0e83b..bc8919fe78 100644 --- a/src/System.Management.Automation/engine/COM/ComMethod.cs +++ b/src/System.Management.Automation/engine/COM/ComMethod.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.InteropServices; diff --git a/src/System.Management.Automation/engine/COM/ComProperty.cs b/src/System.Management.Automation/engine/COM/ComProperty.cs index 70f1a82815..033afc0819 100644 --- a/src/System.Management.Automation/engine/COM/ComProperty.cs +++ b/src/System.Management.Automation/engine/COM/ComProperty.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.InteropServices; diff --git a/src/System.Management.Automation/engine/COM/ComTypeInfo.cs b/src/System.Management.Automation/engine/COM/ComTypeInfo.cs index 971d83f89a..58462333a9 100644 --- a/src/System.Management.Automation/engine/COM/ComTypeInfo.cs +++ b/src/System.Management.Automation/engine/COM/ComTypeInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics.CodeAnalysis; diff --git a/src/System.Management.Automation/engine/COM/ComUtil.cs b/src/System.Management.Automation/engine/COM/ComUtil.cs index d77752abcc..c493adccbd 100644 --- a/src/System.Management.Automation/engine/COM/ComUtil.cs +++ b/src/System.Management.Automation/engine/COM/ComUtil.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.InteropServices; diff --git a/src/System.Management.Automation/engine/ChildrenCmdletProviderInterfaces.cs b/src/System.Management.Automation/engine/ChildrenCmdletProviderInterfaces.cs index a175317de4..fc7a007256 100644 --- a/src/System.Management.Automation/engine/ChildrenCmdletProviderInterfaces.cs +++ b/src/System.Management.Automation/engine/ChildrenCmdletProviderInterfaces.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/CmdletFamilyProviderInterfaces.cs b/src/System.Management.Automation/engine/CmdletFamilyProviderInterfaces.cs index e03ae8f564..a72f220d9d 100644 --- a/src/System.Management.Automation/engine/CmdletFamilyProviderInterfaces.cs +++ b/src/System.Management.Automation/engine/CmdletFamilyProviderInterfaces.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Dbg = System.Management.Automation; diff --git a/src/System.Management.Automation/engine/CmdletInfo.cs b/src/System.Management.Automation/engine/CmdletInfo.cs index c7e1324f9b..e0585b020d 100644 --- a/src/System.Management.Automation/engine/CmdletInfo.cs +++ b/src/System.Management.Automation/engine/CmdletInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/CmdletParameterBinderController.cs b/src/System.Management.Automation/engine/CmdletParameterBinderController.cs index acf3766a3e..b6ce844718 100644 --- a/src/System.Management.Automation/engine/CmdletParameterBinderController.cs +++ b/src/System.Management.Automation/engine/CmdletParameterBinderController.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/CodeMethods.cs b/src/System.Management.Automation/engine/CodeMethods.cs index 89efed1638..41207e6560 100644 --- a/src/System.Management.Automation/engine/CodeMethods.cs +++ b/src/System.Management.Automation/engine/CodeMethods.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/ComInterop/ArgBuilder.cs b/src/System.Management.Automation/engine/ComInterop/ArgBuilder.cs index aa74b1f503..1dc962894f 100644 --- a/src/System.Management.Automation/engine/ComInterop/ArgBuilder.cs +++ b/src/System.Management.Automation/engine/ComInterop/ArgBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/BoolArgBuilder.cs b/src/System.Management.Automation/engine/ComInterop/BoolArgBuilder.cs index 3884e5142d..63862c32dd 100644 --- a/src/System.Management.Automation/engine/ComInterop/BoolArgBuilder.cs +++ b/src/System.Management.Automation/engine/ComInterop/BoolArgBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/BoundDispEvent.cs b/src/System.Management.Automation/engine/ComInterop/BoundDispEvent.cs index 63152c42e7..8f02f894d5 100644 --- a/src/System.Management.Automation/engine/ComInterop/BoundDispEvent.cs +++ b/src/System.Management.Automation/engine/ComInterop/BoundDispEvent.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/CollectionExtensions.cs b/src/System.Management.Automation/engine/ComInterop/CollectionExtensions.cs index b3c7d7e0f0..fe585885a7 100644 --- a/src/System.Management.Automation/engine/ComInterop/CollectionExtensions.cs +++ b/src/System.Management.Automation/engine/ComInterop/CollectionExtensions.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/ComInterop/ComBinder.cs b/src/System.Management.Automation/engine/ComInterop/ComBinder.cs index cb3f103c76..f29a0ed591 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComBinder.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComBinder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/ComBinderHelpers.cs b/src/System.Management.Automation/engine/ComInterop/ComBinderHelpers.cs index b59fb4acd3..dcd0bddc55 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComBinderHelpers.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComBinderHelpers.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/ComClassMetaObject.cs b/src/System.Management.Automation/engine/ComInterop/ComClassMetaObject.cs index 32029435f4..d3a05741b5 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComClassMetaObject.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComClassMetaObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComDispIds.cs b/src/System.Management.Automation/engine/ComInterop/ComDispIds.cs index 6092d81d42..5bc812c236 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComDispIds.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComDispIds.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComEventDesc.cs b/src/System.Management.Automation/engine/ComInterop/ComEventDesc.cs index 3c77c81bba..2c89c19df1 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComEventDesc.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComEventDesc.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComEventSink.cs b/src/System.Management.Automation/engine/ComInterop/ComEventSink.cs index cd9ba2be79..0c07aa382b 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComEventSink.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComEventSink.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComEventSinkProxy.cs b/src/System.Management.Automation/engine/ComInterop/ComEventSinkProxy.cs index 568b271ff1..3420159224 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComEventSinkProxy.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComEventSinkProxy.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComEventSinksContainer.cs b/src/System.Management.Automation/engine/ComInterop/ComEventSinksContainer.cs index e2e0afa7e1..f406ac042f 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComEventSinksContainer.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComEventSinksContainer.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComFallbackMetaObject.cs b/src/System.Management.Automation/engine/ComInterop/ComFallbackMetaObject.cs index 44fec0fdc4..bb4275a9b4 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComFallbackMetaObject.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComFallbackMetaObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/ComHresults.cs b/src/System.Management.Automation/engine/ComInterop/ComHresults.cs index c90954cc54..32ef9ffae1 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComHresults.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComHresults.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComInterop.cs b/src/System.Management.Automation/engine/ComInterop/ComInterop.cs index aa55125815..3f4b5f9b66 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComInterop.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComInterop.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComInvokeAction.cs b/src/System.Management.Automation/engine/ComInterop/ComInvokeAction.cs index 2fe87df0c1..d46b69393e 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComInvokeAction.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComInvokeAction.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/ComInvokeBinder.cs b/src/System.Management.Automation/engine/ComInterop/ComInvokeBinder.cs index 4559b9702d..2d2e2ba6f0 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComInvokeBinder.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComInvokeBinder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/ComMetaObject.cs b/src/System.Management.Automation/engine/ComInterop/ComMetaObject.cs index 79c7a55bbd..a4a5923711 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComMetaObject.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComMetaObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/ComMethodDesc.cs b/src/System.Management.Automation/engine/ComInterop/ComMethodDesc.cs index 1b1716d13f..e2c068c157 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComMethodDesc.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComMethodDesc.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComObject.cs b/src/System.Management.Automation/engine/ComInterop/ComObject.cs index 701e504c12..56dee24f82 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComObject.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComParamDesc.cs b/src/System.Management.Automation/engine/ComInterop/ComParamDesc.cs index 04b0a9794a..6a77be6c0e 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComParamDesc.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComParamDesc.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComRuntimeHelpers.cs b/src/System.Management.Automation/engine/ComInterop/ComRuntimeHelpers.cs index 8933c4759b..1a25ca4b10 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComRuntimeHelpers.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComRuntimeHelpers.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComType.cs b/src/System.Management.Automation/engine/ComInterop/ComType.cs index 97ab273656..dcb78c0244 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComType.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComType.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComTypeClassDesc.cs b/src/System.Management.Automation/engine/ComInterop/ComTypeClassDesc.cs index 36c8c01323..c9a9f256f8 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComTypeClassDesc.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComTypeClassDesc.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComTypeDesc.cs b/src/System.Management.Automation/engine/ComInterop/ComTypeDesc.cs index cc3b9e77bf..36de3e94ef 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComTypeDesc.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComTypeDesc.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComTypeEnumDesc.cs b/src/System.Management.Automation/engine/ComInterop/ComTypeEnumDesc.cs index 79a518ef13..1b8e08a933 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComTypeEnumDesc.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComTypeEnumDesc.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComTypeLibDesc.cs b/src/System.Management.Automation/engine/ComInterop/ComTypeLibDesc.cs index dd4d094f16..c6c958aa03 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComTypeLibDesc.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComTypeLibDesc.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComTypeLibInfo.cs b/src/System.Management.Automation/engine/ComInterop/ComTypeLibInfo.cs index 8a3f793ecc..6b55866bba 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComTypeLibInfo.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComTypeLibInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ComTypeLibMemberDesc.cs b/src/System.Management.Automation/engine/ComInterop/ComTypeLibMemberDesc.cs index 3ce59e5913..c211328d80 100644 --- a/src/System.Management.Automation/engine/ComInterop/ComTypeLibMemberDesc.cs +++ b/src/System.Management.Automation/engine/ComInterop/ComTypeLibMemberDesc.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ConversionArgBuilder.cs b/src/System.Management.Automation/engine/ComInterop/ConversionArgBuilder.cs index 1ac97d3dfb..13f2240719 100644 --- a/src/System.Management.Automation/engine/ComInterop/ConversionArgBuilder.cs +++ b/src/System.Management.Automation/engine/ComInterop/ConversionArgBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/ConvertArgBuilder.cs b/src/System.Management.Automation/engine/ComInterop/ConvertArgBuilder.cs index ba80b0abcc..2d685a3dfe 100644 --- a/src/System.Management.Automation/engine/ComInterop/ConvertArgBuilder.cs +++ b/src/System.Management.Automation/engine/ComInterop/ConvertArgBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/ConvertibleArgBuilder.cs b/src/System.Management.Automation/engine/ComInterop/ConvertibleArgBuilder.cs index 5a74242f94..c58b3ddb0e 100644 --- a/src/System.Management.Automation/engine/ComInterop/ConvertibleArgBuilder.cs +++ b/src/System.Management.Automation/engine/ComInterop/ConvertibleArgBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/CurrencyArgBuilder.cs b/src/System.Management.Automation/engine/ComInterop/CurrencyArgBuilder.cs index 7706046fb2..a37ea0effc 100644 --- a/src/System.Management.Automation/engine/ComInterop/CurrencyArgBuilder.cs +++ b/src/System.Management.Automation/engine/ComInterop/CurrencyArgBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/DateTimeArgBuilder.cs b/src/System.Management.Automation/engine/ComInterop/DateTimeArgBuilder.cs index d9b6ba4638..1613f8640d 100644 --- a/src/System.Management.Automation/engine/ComInterop/DateTimeArgBuilder.cs +++ b/src/System.Management.Automation/engine/ComInterop/DateTimeArgBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/DispCallable.cs b/src/System.Management.Automation/engine/ComInterop/DispCallable.cs index 3299286bfc..fcbce35eca 100644 --- a/src/System.Management.Automation/engine/ComInterop/DispCallable.cs +++ b/src/System.Management.Automation/engine/ComInterop/DispCallable.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/DispCallableMetaObject.cs b/src/System.Management.Automation/engine/ComInterop/DispCallableMetaObject.cs index 9942a224c7..54fdc53a8e 100644 --- a/src/System.Management.Automation/engine/ComInterop/DispCallableMetaObject.cs +++ b/src/System.Management.Automation/engine/ComInterop/DispCallableMetaObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/DispatchArgBuilder.cs b/src/System.Management.Automation/engine/ComInterop/DispatchArgBuilder.cs index 69e304def0..08b95e3da3 100644 --- a/src/System.Management.Automation/engine/ComInterop/DispatchArgBuilder.cs +++ b/src/System.Management.Automation/engine/ComInterop/DispatchArgBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/ErrorArgBuilder.cs b/src/System.Management.Automation/engine/ComInterop/ErrorArgBuilder.cs index d50c1f624c..b25996031c 100644 --- a/src/System.Management.Automation/engine/ComInterop/ErrorArgBuilder.cs +++ b/src/System.Management.Automation/engine/ComInterop/ErrorArgBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/Errors.cs b/src/System.Management.Automation/engine/ComInterop/Errors.cs index 6e774e384c..3b1024fc5d 100644 --- a/src/System.Management.Automation/engine/ComInterop/Errors.cs +++ b/src/System.Management.Automation/engine/ComInterop/Errors.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation.ComInterop diff --git a/src/System.Management.Automation/engine/ComInterop/ExcepInfo.cs b/src/System.Management.Automation/engine/ComInterop/ExcepInfo.cs index e529935a3b..048eb869a4 100644 --- a/src/System.Management.Automation/engine/ComInterop/ExcepInfo.cs +++ b/src/System.Management.Automation/engine/ComInterop/ExcepInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/Helpers.cs b/src/System.Management.Automation/engine/ComInterop/Helpers.cs index 36467c914f..ba3af47c0e 100644 --- a/src/System.Management.Automation/engine/ComInterop/Helpers.cs +++ b/src/System.Management.Automation/engine/ComInterop/Helpers.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !CLR2 diff --git a/src/System.Management.Automation/engine/ComInterop/IDispatchComObject.cs b/src/System.Management.Automation/engine/ComInterop/IDispatchComObject.cs index fa4537a6c3..747abea215 100644 --- a/src/System.Management.Automation/engine/ComInterop/IDispatchComObject.cs +++ b/src/System.Management.Automation/engine/ComInterop/IDispatchComObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/IDispatchMetaObject.cs b/src/System.Management.Automation/engine/ComInterop/IDispatchMetaObject.cs index 59b3259bb8..74f5e38344 100644 --- a/src/System.Management.Automation/engine/ComInterop/IDispatchMetaObject.cs +++ b/src/System.Management.Automation/engine/ComInterop/IDispatchMetaObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/IPseudoComObject.cs b/src/System.Management.Automation/engine/ComInterop/IPseudoComObject.cs index 9fdfb252bb..f41af694c0 100644 --- a/src/System.Management.Automation/engine/ComInterop/IPseudoComObject.cs +++ b/src/System.Management.Automation/engine/ComInterop/IPseudoComObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !CLR2 diff --git a/src/System.Management.Automation/engine/ComInterop/NullArgBuilder.cs b/src/System.Management.Automation/engine/ComInterop/NullArgBuilder.cs index fe75783a99..f4a7e2aac0 100644 --- a/src/System.Management.Automation/engine/ComInterop/NullArgBuilder.cs +++ b/src/System.Management.Automation/engine/ComInterop/NullArgBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/SimpleArgBuilder.cs b/src/System.Management.Automation/engine/ComInterop/SimpleArgBuilder.cs index 247f04ef02..3f1539ed63 100644 --- a/src/System.Management.Automation/engine/ComInterop/SimpleArgBuilder.cs +++ b/src/System.Management.Automation/engine/ComInterop/SimpleArgBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/SplatCallSite.cs b/src/System.Management.Automation/engine/ComInterop/SplatCallSite.cs index 8490828489..26aa920051 100644 --- a/src/System.Management.Automation/engine/ComInterop/SplatCallSite.cs +++ b/src/System.Management.Automation/engine/ComInterop/SplatCallSite.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !CLR2 diff --git a/src/System.Management.Automation/engine/ComInterop/StringArgBuilder.cs b/src/System.Management.Automation/engine/ComInterop/StringArgBuilder.cs index 5fd8486016..e47a08cb0e 100644 --- a/src/System.Management.Automation/engine/ComInterop/StringArgBuilder.cs +++ b/src/System.Management.Automation/engine/ComInterop/StringArgBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/TypeEnumMetaObject.cs b/src/System.Management.Automation/engine/ComInterop/TypeEnumMetaObject.cs index cc22f40b30..91998b0508 100644 --- a/src/System.Management.Automation/engine/ComInterop/TypeEnumMetaObject.cs +++ b/src/System.Management.Automation/engine/ComInterop/TypeEnumMetaObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/TypeLibInfoMetaObject.cs b/src/System.Management.Automation/engine/ComInterop/TypeLibInfoMetaObject.cs index 8f0a111418..412aa96c2c 100644 --- a/src/System.Management.Automation/engine/ComInterop/TypeLibInfoMetaObject.cs +++ b/src/System.Management.Automation/engine/ComInterop/TypeLibInfoMetaObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/TypeLibMetaObject.cs b/src/System.Management.Automation/engine/ComInterop/TypeLibMetaObject.cs index bc02ba463e..1312e875a5 100644 --- a/src/System.Management.Automation/engine/ComInterop/TypeLibMetaObject.cs +++ b/src/System.Management.Automation/engine/ComInterop/TypeLibMetaObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT diff --git a/src/System.Management.Automation/engine/ComInterop/TypeUtils.cs b/src/System.Management.Automation/engine/ComInterop/TypeUtils.cs index 2d4dc08871..a8ccd09ee6 100644 --- a/src/System.Management.Automation/engine/ComInterop/TypeUtils.cs +++ b/src/System.Management.Automation/engine/ComInterop/TypeUtils.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !CLR2 diff --git a/src/System.Management.Automation/engine/ComInterop/UnknownArgBuilder.cs b/src/System.Management.Automation/engine/ComInterop/UnknownArgBuilder.cs index a603e93283..b2ee61a17a 100644 --- a/src/System.Management.Automation/engine/ComInterop/UnknownArgBuilder.cs +++ b/src/System.Management.Automation/engine/ComInterop/UnknownArgBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/VarEnumSelector.cs b/src/System.Management.Automation/engine/ComInterop/VarEnumSelector.cs index 878d538bec..f95cace3ba 100644 --- a/src/System.Management.Automation/engine/ComInterop/VarEnumSelector.cs +++ b/src/System.Management.Automation/engine/ComInterop/VarEnumSelector.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/Variant.cs b/src/System.Management.Automation/engine/ComInterop/Variant.cs index f6c897ea8d..b0ddecb82f 100644 --- a/src/System.Management.Automation/engine/ComInterop/Variant.cs +++ b/src/System.Management.Automation/engine/ComInterop/Variant.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/VariantArgBuilder.cs b/src/System.Management.Automation/engine/ComInterop/VariantArgBuilder.cs index f8aaccc42e..caf9a0c5c6 100644 --- a/src/System.Management.Automation/engine/ComInterop/VariantArgBuilder.cs +++ b/src/System.Management.Automation/engine/ComInterop/VariantArgBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/VariantArray.cs b/src/System.Management.Automation/engine/ComInterop/VariantArray.cs index 742b9bb847..b2af22aa9b 100644 --- a/src/System.Management.Automation/engine/ComInterop/VariantArray.cs +++ b/src/System.Management.Automation/engine/ComInterop/VariantArray.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/ComInterop/VariantBuilder.cs b/src/System.Management.Automation/engine/ComInterop/VariantBuilder.cs index 17c8d823de..f8177844c3 100644 --- a/src/System.Management.Automation/engine/ComInterop/VariantBuilder.cs +++ b/src/System.Management.Automation/engine/ComInterop/VariantBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #if !SILVERLIGHT // ComObject diff --git a/src/System.Management.Automation/engine/CommandBase.cs b/src/System.Management.Automation/engine/CommandBase.cs index d23656a9a1..6732409b6e 100644 --- a/src/System.Management.Automation/engine/CommandBase.cs +++ b/src/System.Management.Automation/engine/CommandBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/CommandCompletion/CommandCompletion.cs b/src/System.Management.Automation/engine/CommandCompletion/CommandCompletion.cs index ead3ac08bb..ee1c55290d 100644 --- a/src/System.Management.Automation/engine/CommandCompletion/CommandCompletion.cs +++ b/src/System.Management.Automation/engine/CommandCompletion/CommandCompletion.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/CommandCompletion/CompletionAnalysis.cs b/src/System.Management.Automation/engine/CommandCompletion/CompletionAnalysis.cs index e63f3a3c5d..7dbee431f2 100644 --- a/src/System.Management.Automation/engine/CommandCompletion/CompletionAnalysis.cs +++ b/src/System.Management.Automation/engine/CommandCompletion/CompletionAnalysis.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; @@ -471,11 +471,11 @@ namespace System.Management.Automation } break; case TokenKind.AtCurly: - // Handle scenarios such as 'Sort-Object @{' and 'gci | Format-Table @{' + // Handle scenarios such as 'Sort-Object @{' and 'gci | Format-Table @{' result = GetResultForHashtable(completionContext); replacementIndex += 2; replacementLength = 0; - break; + break; case TokenKind.Number: // Handle scenarios such as Get-Process -Id 5 || Get-Process -Id 5210, 3 || Get-Process -Id: 5210, 3 diff --git a/src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs b/src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs index 4ce76a9a88..39a9860df9 100644 --- a/src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs +++ b/src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/CommandCompletion/CompletionResult.cs b/src/System.Management.Automation/engine/CommandCompletion/CompletionResult.cs index 78225e80f5..fd9cf08a69 100644 --- a/src/System.Management.Automation/engine/CommandCompletion/CompletionResult.cs +++ b/src/System.Management.Automation/engine/CommandCompletion/CompletionResult.cs @@ -1,6 +1,6 @@ //----------------------------------------------------------------------- // -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // // // Implements CompletionResult. diff --git a/src/System.Management.Automation/engine/CommandCompletion/ExtensibleCompletion.cs b/src/System.Management.Automation/engine/CommandCompletion/ExtensibleCompletion.cs index 18dce545a4..337a2dde20 100644 --- a/src/System.Management.Automation/engine/CommandCompletion/ExtensibleCompletion.cs +++ b/src/System.Management.Automation/engine/CommandCompletion/ExtensibleCompletion.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/CommandCompletion/PseudoParameterBinder.cs b/src/System.Management.Automation/engine/CommandCompletion/PseudoParameterBinder.cs index 811136ed31..4cc7f1a09b 100644 --- a/src/System.Management.Automation/engine/CommandCompletion/PseudoParameterBinder.cs +++ b/src/System.Management.Automation/engine/CommandCompletion/PseudoParameterBinder.cs @@ -1,6 +1,6 @@  /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Globalization; diff --git a/src/System.Management.Automation/engine/CommandDiscovery.cs b/src/System.Management.Automation/engine/CommandDiscovery.cs index d8d4a1c8fd..2586900c8a 100644 --- a/src/System.Management.Automation/engine/CommandDiscovery.cs +++ b/src/System.Management.Automation/engine/CommandDiscovery.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/CommandFactory.cs b/src/System.Management.Automation/engine/CommandFactory.cs index 9615ac9107..1cf2e3de67 100644 --- a/src/System.Management.Automation/engine/CommandFactory.cs +++ b/src/System.Management.Automation/engine/CommandFactory.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/engine/CommandInfo.cs b/src/System.Management.Automation/engine/CommandInfo.cs index 278e3e5a19..5f3f60db55 100644 --- a/src/System.Management.Automation/engine/CommandInfo.cs +++ b/src/System.Management.Automation/engine/CommandInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/CommandMetadata.cs b/src/System.Management.Automation/engine/CommandMetadata.cs index 9eec48450d..d9ddfb3cf2 100644 --- a/src/System.Management.Automation/engine/CommandMetadata.cs +++ b/src/System.Management.Automation/engine/CommandMetadata.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/CommandParameter.cs b/src/System.Management.Automation/engine/CommandParameter.cs index ec4801a59e..f753bbc42b 100644 --- a/src/System.Management.Automation/engine/CommandParameter.cs +++ b/src/System.Management.Automation/engine/CommandParameter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics; diff --git a/src/System.Management.Automation/engine/CommandPathSearch.cs b/src/System.Management.Automation/engine/CommandPathSearch.cs index 75a27f03b2..b53a665fdb 100644 --- a/src/System.Management.Automation/engine/CommandPathSearch.cs +++ b/src/System.Management.Automation/engine/CommandPathSearch.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/CommandProcessor.cs b/src/System.Management.Automation/engine/CommandProcessor.cs index bb283162b5..9fec56133d 100644 --- a/src/System.Management.Automation/engine/CommandProcessor.cs +++ b/src/System.Management.Automation/engine/CommandProcessor.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/CommandProcessorBase.cs b/src/System.Management.Automation/engine/CommandProcessorBase.cs index a9e77b6c9b..924d1e858b 100644 --- a/src/System.Management.Automation/engine/CommandProcessorBase.cs +++ b/src/System.Management.Automation/engine/CommandProcessorBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/CommandSearcher.cs b/src/System.Management.Automation/engine/CommandSearcher.cs index 05fcb27255..5c0dc3418d 100644 --- a/src/System.Management.Automation/engine/CommandSearcher.cs +++ b/src/System.Management.Automation/engine/CommandSearcher.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/CommonCommandParameters.cs b/src/System.Management.Automation/engine/CommonCommandParameters.cs index b084a1a923..b1af362822 100644 --- a/src/System.Management.Automation/engine/CommonCommandParameters.cs +++ b/src/System.Management.Automation/engine/CommonCommandParameters.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/CompiledCommandParameter.cs b/src/System.Management.Automation/engine/CompiledCommandParameter.cs index a813cf817b..a8a4eb097d 100644 --- a/src/System.Management.Automation/engine/CompiledCommandParameter.cs +++ b/src/System.Management.Automation/engine/CompiledCommandParameter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/ConfigurationInfo.cs b/src/System.Management.Automation/engine/ConfigurationInfo.cs index a7633f3283..4b02416c20 100644 --- a/src/System.Management.Automation/engine/ConfigurationInfo.cs +++ b/src/System.Management.Automation/engine/ConfigurationInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/engine/ContentCmdletProviderInterfaces.cs b/src/System.Management.Automation/engine/ContentCmdletProviderInterfaces.cs index 51e0640cb6..e115e69ced 100644 --- a/src/System.Management.Automation/engine/ContentCmdletProviderInterfaces.cs +++ b/src/System.Management.Automation/engine/ContentCmdletProviderInterfaces.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/CoreAdapter.cs b/src/System.Management.Automation/engine/CoreAdapter.cs index 8de45b9c69..f4f942076c 100644 --- a/src/System.Management.Automation/engine/CoreAdapter.cs +++ b/src/System.Management.Automation/engine/CoreAdapter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Concurrent; @@ -31,7 +31,7 @@ namespace System.Management.Automation { /// /// Base class for all Adapters - /// This is the place to look every time you create a new Adapter. Consider if you + /// This is the place to look every time you create a new Adapter. Consider if you /// should implement each of the virtual methods here. /// The base class deals with errors and performs additional operations before and after /// calling the derived virtual methods. @@ -96,7 +96,7 @@ namespace System.Management.Automation /// in the first call to GetMember and GetMembers so that subsequent /// calls can use the cache. /// In the case of the .NET adapter that would be a cache from the .NET type to - /// the public properties and fields available in that type. + /// the public properties and fields available in that type. /// In the case of the DirectoryEntry adapter, this could be a cache of the objectClass /// to the properties available in it. /// @@ -319,7 +319,7 @@ namespace System.Management.Automation throw PSTraceSource.NewNotSupportedException(); } - #endregion parameterized property + #endregion parameterized property #endregion virtual @@ -1116,7 +1116,7 @@ namespace System.Management.Automation } // Dual-purpose of ([type]).method() syntax makes this code a little bit tricky to understand. - // First purpose of this syntax is cast. + // First purpose of this syntax is cast. // Second is a non-virtual super-class method call. // // Consider this code: @@ -1126,12 +1126,12 @@ namespace System.Management.Automation // [string]foo() {return 'B.foo'} // [string]foo($a) {return 'B.foo'} // } - // + // // class Q : B { // [string]$Name // Q([string]$name) {$this.name = $name} // } - // + // // ([Q]'t').foo() // ``` // @@ -1139,7 +1139,7 @@ namespace System.Management.Automation // So methodDeclaringType is [B] and targetType is [Q] // // Now consider another code - // + // // ``` // ([object]"abc").ToString() // ``` @@ -1565,7 +1565,7 @@ namespace System.Management.Automation /// /// Called in GetBestMethodAndArguments after a call to FindBestMethod to perform the /// type conversion, copying(varArg) and optional value setting of the final arguments. - /// + /// internal static object[] GetMethodArgumentsBase(string methodName, ParameterInformation[] parameters, object[] arguments, bool expandParamsOnBest) @@ -1751,7 +1751,7 @@ namespace System.Management.Automation if (resultType == typeof(object)) { PSObject.memberResolution.WriteLine("Parameter was an PSObject and will be converted to System.Object."); - // we use PSObject.Base so we don't return + // we use PSObject.Base so we don't return // PSCustomObject return PSObject.Base(mshObj); } @@ -2815,8 +2815,8 @@ namespace System.Management.Automation { var typeInfo = type.GetTypeInfo(); Type typeToGetMethod = type; -#if CORECLR - // Assemblies in CoreCLR might not allow reflection execution on their internal types. In such case, we walk up +#if CORECLR + // Assemblies in CoreCLR might not allow reflection execution on their internal types. In such case, we walk up // the derivation chain to find the first public parent, and use reflection methods on the public parent. if (!TypeResolver.IsPublic(typeInfo) && DisallowPrivateReflection(typeInfo)) { @@ -2911,8 +2911,8 @@ namespace System.Management.Automation /// bindingFlags to use private static void PopulateEventReflectionTable(Type type, Dictionary typeEvents, BindingFlags bindingFlags) { -#if CORECLR - // Assemblies in CoreCLR might not allow reflection execution on their internal types. In such case, we walk up +#if CORECLR + // Assemblies in CoreCLR might not allow reflection execution on their internal types. In such case, we walk up // the derivation chain to find the first public parent, and use reflection events on the public parent. TypeInfo typeInfo = type.GetTypeInfo(); if (!TypeResolver.IsPublic(typeInfo) && DisallowPrivateReflection(typeInfo)) @@ -2954,7 +2954,7 @@ namespace System.Management.Automation /// private static bool PropertyAlreadyPresent(List previousProperties, PropertyInfo property) { - // The loop below + // The loop below bool returnValue = false; ParameterInfo[] propertyParameters = property.GetIndexParameters(); int propertyIndexLength = propertyParameters.Length; @@ -2998,7 +2998,7 @@ namespace System.Management.Automation { var tempTable = new Dictionary>(StringComparer.OrdinalIgnoreCase); Type typeToGetPropertyAndField = type; -#if CORECLR +#if CORECLR // Assemblies in CoreCLR might not allow reflection execution on their internal types. In such case, we walk up the // derivation chain to find the first public parent, and use reflection properties/fileds on the public parent. TypeInfo typeInfo = type.GetTypeInfo(); @@ -3563,7 +3563,7 @@ namespace System.Management.Automation /// in the first call to GetMember and GetMembers so that subsequent /// calls can use the cache. /// In the case of the .NET adapter that would be a cache from the .NET type to - /// the public properties and fields available in that type. + /// the public properties and fields available in that type. /// In the case of the DirectoryEntry adapter, this could be a cache of the objectClass /// to the properties available in it. /// @@ -3832,7 +3832,7 @@ namespace System.Management.Automation methodInformation.method.Name, arguments.Length, inner.Message); } // - // Note that FlowControlException, ScriptCallDepthException and ParameterBindingException will be wrapped in + // Note that FlowControlException, ScriptCallDepthException and ParameterBindingException will be wrapped in // a TargetInvocationException only when the invocation uses reflection so we need to bubble them up here as well. // catch (ParameterBindingException) { throw; } @@ -3942,7 +3942,7 @@ namespace System.Management.Automation /// /// this is a flavor of MethodInvokeDotNet to deal with a peculiarity of property setters: - /// Tthe setValue is always the last parameter. This enables a parameter after a varargs or optional + /// Tthe setValue is always the last parameter. This enables a parameter after a varargs or optional /// parameters and GetBestMethodAndArguments is not prepared for that. /// This method disregards the last parameter in its call to GetBestMethodAndArguments used in this case /// more for its "Arguments" side than for its "BestMethod" side, since there is only one method. @@ -4223,7 +4223,7 @@ namespace System.Management.Automation internal class BaseDotNetAdapterForAdaptedObjects : DotNetAdapter { /// - /// Return a collection representing the object's + /// Return a collection representing the object's /// members as returned by CLR reflection. /// /// @@ -4470,7 +4470,7 @@ namespace System.Management.Automation /// in the first call to GetMember and GetMembers so that subsequent /// calls can use the cache. /// In the case of the .NET adapter that would be a cache from the .NET type to - /// the public properties and fields available in that type. + /// the public properties and fields available in that type. /// In the case of the DirectoryEntry adapter, this could be a cache of the objectClass /// to the properties available in it. /// @@ -4528,7 +4528,7 @@ namespace System.Management.Automation /// in the first call to GetMember and GetMembers so that subsequent /// calls can use the cache. /// In the case of the .NET adapter that would be a cache from the .NET type to - /// the public properties and fields available in that type. + /// the public properties and fields available in that type. /// In the case of the DirectoryEntry adapter, this could be a cache of the objectClass /// to the properties available in it. /// @@ -4551,7 +4551,7 @@ namespace System.Management.Automation #endregion virtual } /// - /// Base class for all adapters that adapt only properties and retain + /// Base class for all adapters that adapt only properties and retain /// .NET methods /// internal abstract class PropertyOnlyAdapter : DotNetAdapter @@ -4627,7 +4627,7 @@ namespace System.Management.Automation /// in the first call to GetMember and GetMembers so that subsequent /// calls can use the cache. /// In the case of the .NET adapter that would be a cache from the .NET type to - /// the public properties and fields available in that type. + /// the public properties and fields available in that type. /// In the case of the DirectoryEntry adapter, this could be a cache of the objectClass /// to the properties available in it. /// @@ -5264,7 +5264,7 @@ namespace System.Management.Automation MethodInfo inferredMethod = Infer(genericMethod, typeParameters, typesOfMethodParameters, typesOfMethodArguments); - // normal inference failed, perhaps instead of inferring for + // normal inference failed, perhaps instead of inferring for // M(T1, T2, ..., params T3 []) // we can try to infer for this signature instead // M)(T1, T2, ..., T3, T3, T3, T3) diff --git a/src/System.Management.Automation/engine/Credential.cs b/src/System.Management.Automation/engine/Credential.cs index 6056173d39..0e01281c72 100644 --- a/src/System.Management.Automation/engine/Credential.cs +++ b/src/System.Management.Automation/engine/Credential.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/System.Management.Automation/engine/CultureVariable.cs b/src/System.Management.Automation/engine/CultureVariable.cs index 2fdc79465b..ee64ec9211 100644 --- a/src/System.Management.Automation/engine/CultureVariable.cs +++ b/src/System.Management.Automation/engine/CultureVariable.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/engine/DataStoreAdapter.cs b/src/System.Management.Automation/engine/DataStoreAdapter.cs index 6ababeb0c5..c6c60e832b 100644 --- a/src/System.Management.Automation/engine/DataStoreAdapter.cs +++ b/src/System.Management.Automation/engine/DataStoreAdapter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/System.Management.Automation/engine/DataStoreAdapterProvider.cs b/src/System.Management.Automation/engine/DataStoreAdapterProvider.cs index a8286ec146..6e842a6ed9 100644 --- a/src/System.Management.Automation/engine/DataStoreAdapterProvider.cs +++ b/src/System.Management.Automation/engine/DataStoreAdapterProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/DefaultCommandRuntime.cs b/src/System.Management.Automation/engine/DefaultCommandRuntime.cs index 877995cf8e..4e63b0f96b 100644 --- a/src/System.Management.Automation/engine/DefaultCommandRuntime.cs +++ b/src/System.Management.Automation/engine/DefaultCommandRuntime.cs @@ -1,7 +1,7 @@ #pragma warning disable 1634, 1691 /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/DriveInterfaces.cs b/src/System.Management.Automation/engine/DriveInterfaces.cs index 41203021cb..ed40ef004a 100644 --- a/src/System.Management.Automation/engine/DriveInterfaces.cs +++ b/src/System.Management.Automation/engine/DriveInterfaces.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/DriveNames.cs b/src/System.Management.Automation/engine/DriveNames.cs index 4ff78c68c1..4c0ec5e6ea 100644 --- a/src/System.Management.Automation/engine/DriveNames.cs +++ b/src/System.Management.Automation/engine/DriveNames.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/engine/DscResourceInfo.cs b/src/System.Management.Automation/engine/DscResourceInfo.cs index a2474f3eca..79ca58f1db 100644 --- a/src/System.Management.Automation/engine/DscResourceInfo.cs +++ b/src/System.Management.Automation/engine/DscResourceInfo.cs @@ -1,6 +1,6 @@ //----------------------------------------------------------------------- // -// Copyright (C) 2013 Microsoft Corporation +// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- diff --git a/src/System.Management.Automation/engine/DscResourceSearcher.cs b/src/System.Management.Automation/engine/DscResourceSearcher.cs index 9318424fbb..87e5106e3a 100644 --- a/src/System.Management.Automation/engine/DscResourceSearcher.cs +++ b/src/System.Management.Automation/engine/DscResourceSearcher.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/EngineIntrinsics.cs b/src/System.Management.Automation/engine/EngineIntrinsics.cs index 24bd886d50..1b4d2738cb 100644 --- a/src/System.Management.Automation/engine/EngineIntrinsics.cs +++ b/src/System.Management.Automation/engine/EngineIntrinsics.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Host; diff --git a/src/System.Management.Automation/engine/EnumExpressionEvaluator.cs b/src/System.Management.Automation/engine/EnumExpressionEvaluator.cs index ae32a5128a..0a5e5e9f28 100644 --- a/src/System.Management.Automation/engine/EnumExpressionEvaluator.cs +++ b/src/System.Management.Automation/engine/EnumExpressionEvaluator.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/EnumMinimumDisambiguation.cs b/src/System.Management.Automation/engine/EnumMinimumDisambiguation.cs index d0ecd33f9b..3f9d88fc87 100644 --- a/src/System.Management.Automation/engine/EnumMinimumDisambiguation.cs +++ b/src/System.Management.Automation/engine/EnumMinimumDisambiguation.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/ErrorPackage.cs b/src/System.Management.Automation/engine/ErrorPackage.cs index 1927a4746f..1086e84266 100644 --- a/src/System.Management.Automation/engine/ErrorPackage.cs +++ b/src/System.Management.Automation/engine/ErrorPackage.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/System.Management.Automation/engine/EventManager.cs b/src/System.Management.Automation/engine/EventManager.cs index 6c242f6d83..b46a8f430c 100644 --- a/src/System.Management.Automation/engine/EventManager.cs +++ b/src/System.Management.Automation/engine/EventManager.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // #pragma warning disable 1634, 1691 diff --git a/src/System.Management.Automation/engine/ExecutionContext.cs b/src/System.Management.Automation/engine/ExecutionContext.cs index f39fdbb7ee..73aabb1c91 100644 --- a/src/System.Management.Automation/engine/ExecutionContext.cs +++ b/src/System.Management.Automation/engine/ExecutionContext.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; @@ -1061,7 +1061,7 @@ namespace System.Management.Automation internal void RunspaceClosingNotification() { EngineSessionState.RunspaceClosingNotification(); - + if (_debugger != null) { _debugger.Dispose(); @@ -1139,7 +1139,7 @@ namespace System.Management.Automation } return _formatDBManager; } - + set { _formatDBManager = value; diff --git a/src/System.Management.Automation/engine/ExtendedTypeSystemException.cs b/src/System.Management.Automation/engine/ExtendedTypeSystemException.cs index 61b2195d79..e9271edffb 100644 --- a/src/System.Management.Automation/engine/ExtendedTypeSystemException.cs +++ b/src/System.Management.Automation/engine/ExtendedTypeSystemException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/engine/ExternalScriptInfo.cs b/src/System.Management.Automation/engine/ExternalScriptInfo.cs index 0a2897ed50..399ec441a4 100644 --- a/src/System.Management.Automation/engine/ExternalScriptInfo.cs +++ b/src/System.Management.Automation/engine/ExternalScriptInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/engine/ExtraAdapter.cs b/src/System.Management.Automation/engine/ExtraAdapter.cs index bf57b9c55b..6df54ba872 100644 --- a/src/System.Management.Automation/engine/ExtraAdapter.cs +++ b/src/System.Management.Automation/engine/ExtraAdapter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/FilterInfo.cs b/src/System.Management.Automation/engine/FilterInfo.cs index 6eeedf8117..7492b320ff 100644 --- a/src/System.Management.Automation/engine/FilterInfo.cs +++ b/src/System.Management.Automation/engine/FilterInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/engine/FunctionInfo.cs b/src/System.Management.Automation/engine/FunctionInfo.cs index 06542a0c07..7786655552 100644 --- a/src/System.Management.Automation/engine/FunctionInfo.cs +++ b/src/System.Management.Automation/engine/FunctionInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Text; diff --git a/src/System.Management.Automation/engine/GetCommandCommand.cs b/src/System.Management.Automation/engine/GetCommandCommand.cs index 4378830ea1..369fc9deed 100644 --- a/src/System.Management.Automation/engine/GetCommandCommand.cs +++ b/src/System.Management.Automation/engine/GetCommandCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/ICommandRuntime.cs b/src/System.Management.Automation/engine/ICommandRuntime.cs index b899a9a522..ef6bdc2cff 100644 --- a/src/System.Management.Automation/engine/ICommandRuntime.cs +++ b/src/System.Management.Automation/engine/ICommandRuntime.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Host; diff --git a/src/System.Management.Automation/engine/InformationRecord.cs b/src/System.Management.Automation/engine/InformationRecord.cs index e17e3ed05a..e6bee00af5 100644 --- a/src/System.Management.Automation/engine/InformationRecord.cs +++ b/src/System.Management.Automation/engine/InformationRecord.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/engine/InitialSessionState.cs b/src/System.Management.Automation/engine/InitialSessionState.cs index a050c4d680..73bf7659a5 100644 --- a/src/System.Management.Automation/engine/InitialSessionState.cs +++ b/src/System.Management.Automation/engine/InitialSessionState.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/InternalCommands.cs b/src/System.Management.Automation/engine/InternalCommands.cs index 31b3a22f36..40a1804f4a 100644 --- a/src/System.Management.Automation/engine/InternalCommands.cs +++ b/src/System.Management.Automation/engine/InternalCommands.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; @@ -29,7 +29,7 @@ namespace Microsoft.PowerShell.Commands public sealed class ForEachObjectCommand : PSCmdlet { /// - /// This parameter specifies the current pipeline object + /// This parameter specifies the current pipeline object /// [Parameter(ValueFromPipeline = true, ParameterSetName = "ScriptBlockSet")] [Parameter(ValueFromPipeline = true, ParameterSetName = "PropertyAndMethodSet")] @@ -295,12 +295,12 @@ namespace Microsoft.PowerShell.Commands else { // we write null out because: - // PS C:\> “$null | ForEach-object {$_.aa} | ForEach-Object {$_ + 3}” + // PS C:\> $null | ForEach-object {$_.aa} | ForEach-Object {$_ + 3} // 3 // so we also want - // PS C:\> “$null | ForEach-object aa | ForEach-Object {$_ + 3}” + // PS C:\> $null | ForEach-object aa | ForEach-Object {$_ + 3} // 3 - // But if we don’t write anything to the pipeline when _inputObject is null, + // But if we don't write anything to the pipeline when _inputObject is null, // the result 3 will not be generated. WriteObject(null); } @@ -473,7 +473,7 @@ namespace Microsoft.PowerShell.Commands // so we also want // PS C:\> "string" | ForEach-Object aa | ForEach-Object {$_ + 3} // 3 - // But if we don’t write anything to the pipeline when no member is found, + // But if we don't write anything to the pipeline when no member is found, // the result 3 will not be generated. WriteObject(null); } @@ -579,7 +579,7 @@ namespace Microsoft.PowerShell.Commands } /// - /// Get the value by taking _propertyOrMethodName as the key, if the + /// Get the value by taking _propertyOrMethodName as the key, if the /// input object is a IDictionary. /// /// @@ -611,7 +611,7 @@ namespace Microsoft.PowerShell.Commands } /// - /// Unroll the object to be output. If it's of type IEnumerator, unroll and output it + /// Unroll the object to be output. If it's of type IEnumerator, unroll and output it /// by calling WriteOutIEnumerator. If it's not, unroll and output it by calling WriteObject(obj, true) /// /// @@ -649,7 +649,7 @@ namespace Microsoft.PowerShell.Commands } /// - /// Check if the language mode is the restrictedLanguageMode before invoking a method. + /// Check if the language mode is the restrictedLanguageMode before invoking a method. /// Write out error message and return true if we are in restrictedLanguageMode. /// /// @@ -756,7 +756,7 @@ namespace Microsoft.PowerShell.Commands public sealed class WhereObjectCommand : PSCmdlet { /// - /// This parameter specifies the current pipeline object + /// This parameter specifies the current pipeline object /// [Parameter(ValueFromPipeline = true)] public PSObject InputObject @@ -1733,7 +1733,7 @@ namespace Microsoft.PowerShell.Commands /// /// Note: /// - /// Unlike Set-PSDebug -strict, Set-StrictMode is not engine-wide, and only + /// Unlike Set-PSDebug -strict, Set-StrictMode is not engine-wide, and only /// affects the scope it was defined in. /// [Cmdlet(VerbsCommon.Set, "StrictMode", DefaultParameterSetName = "Version", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113450")] diff --git a/src/System.Management.Automation/engine/InvocationInfo.cs b/src/System.Management.Automation/engine/InvocationInfo.cs index 69c3da2faa..2852eb5886 100644 --- a/src/System.Management.Automation/engine/InvocationInfo.cs +++ b/src/System.Management.Automation/engine/InvocationInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/engine/ItemCmdletProviderInterfaces.cs b/src/System.Management.Automation/engine/ItemCmdletProviderInterfaces.cs index 282990f0aa..3c14e8ee58 100644 --- a/src/System.Management.Automation/engine/ItemCmdletProviderInterfaces.cs +++ b/src/System.Management.Automation/engine/ItemCmdletProviderInterfaces.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/LanguagePrimitives.cs b/src/System.Management.Automation/engine/LanguagePrimitives.cs index 7db18d424d..b67622c770 100644 --- a/src/System.Management.Automation/engine/LanguagePrimitives.cs +++ b/src/System.Management.Automation/engine/LanguagePrimitives.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/ManagementObjectAdapter.cs b/src/System.Management.Automation/engine/ManagementObjectAdapter.cs index 78b48a2832..c7fa0334a7 100644 --- a/src/System.Management.Automation/engine/ManagementObjectAdapter.cs +++ b/src/System.Management.Automation/engine/ManagementObjectAdapter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/MergedCommandParameterMetadata.cs b/src/System.Management.Automation/engine/MergedCommandParameterMetadata.cs index 967d018b61..abd35ea65e 100644 --- a/src/System.Management.Automation/engine/MergedCommandParameterMetadata.cs +++ b/src/System.Management.Automation/engine/MergedCommandParameterMetadata.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/MinishellParameterBinderController.cs b/src/System.Management.Automation/engine/MinishellParameterBinderController.cs index 6e0bd28c11..ca06e2c6d0 100644 --- a/src/System.Management.Automation/engine/MinishellParameterBinderController.cs +++ b/src/System.Management.Automation/engine/MinishellParameterBinderController.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/Modules/AnalysisCache.cs b/src/System.Management.Automation/engine/Modules/AnalysisCache.cs index eb03fea383..bdc9ac7868 100644 --- a/src/System.Management.Automation/engine/Modules/AnalysisCache.cs +++ b/src/System.Management.Automation/engine/Modules/AnalysisCache.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/Modules/ExportModuleMemberCommand.cs b/src/System.Management.Automation/engine/Modules/ExportModuleMemberCommand.cs index ec1fb38639..ab54f34d08 100644 --- a/src/System.Management.Automation/engine/Modules/ExportModuleMemberCommand.cs +++ b/src/System.Management.Automation/engine/Modules/ExportModuleMemberCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/Modules/GetModuleCommand.cs b/src/System.Management.Automation/engine/Modules/GetModuleCommand.cs index 5f41d8d2bd..5b3a7f8219 100644 --- a/src/System.Management.Automation/engine/Modules/GetModuleCommand.cs +++ b/src/System.Management.Automation/engine/Modules/GetModuleCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/Modules/ImportModuleCommand.cs b/src/System.Management.Automation/engine/Modules/ImportModuleCommand.cs index c4fdf96de9..90d8308e2c 100644 --- a/src/System.Management.Automation/engine/Modules/ImportModuleCommand.cs +++ b/src/System.Management.Automation/engine/Modules/ImportModuleCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; @@ -993,9 +993,9 @@ namespace Microsoft.PowerShell.Commands { this.ArgumentList = new object[] { psSession }; - // The correct module version has already been imported from the remote session and created locally. + // The correct module version has already been imported from the remote session and created locally. // The locally created module always has a version of 1.0 regardless of the actual module version - // imported from the remote session, and version checking is no longer needed and will not work while + // imported from the remote session, and version checking is no longer needed and will not work while // importing this created local module. BaseMinimumVersion = null; BaseMaximumVersion = null; diff --git a/src/System.Management.Automation/engine/Modules/ModuleCmdletBase.cs b/src/System.Management.Automation/engine/Modules/ModuleCmdletBase.cs index cbce9e2c3f..57eee77c40 100644 --- a/src/System.Management.Automation/engine/Modules/ModuleCmdletBase.cs +++ b/src/System.Management.Automation/engine/Modules/ModuleCmdletBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/Modules/ModuleIntrinsics.cs b/src/System.Management.Automation/engine/Modules/ModuleIntrinsics.cs index 88b716b655..0d1909dcfb 100644 --- a/src/System.Management.Automation/engine/Modules/ModuleIntrinsics.cs +++ b/src/System.Management.Automation/engine/Modules/ModuleIntrinsics.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/Modules/ModuleSpecification.cs b/src/System.Management.Automation/engine/Modules/ModuleSpecification.cs index cdd5ac2100..0b7fb6f99f 100644 --- a/src/System.Management.Automation/engine/Modules/ModuleSpecification.cs +++ b/src/System.Management.Automation/engine/Modules/ModuleSpecification.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/Modules/ModuleUtils.cs b/src/System.Management.Automation/engine/Modules/ModuleUtils.cs index 9226431be3..c295f3af36 100644 --- a/src/System.Management.Automation/engine/Modules/ModuleUtils.cs +++ b/src/System.Management.Automation/engine/Modules/ModuleUtils.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/Modules/NewModuleCommand.cs b/src/System.Management.Automation/engine/Modules/NewModuleCommand.cs index 6630635645..68aff2813b 100644 --- a/src/System.Management.Automation/engine/Modules/NewModuleCommand.cs +++ b/src/System.Management.Automation/engine/Modules/NewModuleCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/Modules/NewModuleManifestCommand.cs b/src/System.Management.Automation/engine/Modules/NewModuleManifestCommand.cs index 37bd1fa34b..30520c0c5b 100644 --- a/src/System.Management.Automation/engine/Modules/NewModuleManifestCommand.cs +++ b/src/System.Management.Automation/engine/Modules/NewModuleManifestCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; @@ -288,7 +288,7 @@ namespace Microsoft.PowerShell.Commands private string[] _miscFiles; /// - /// List of other modules included with this module. + /// List of other modules included with this module. /// Like the RequiredModules key, this list can be a simple list of module names or a complex list of module hashtables. /// [Parameter] @@ -462,7 +462,7 @@ namespace Microsoft.PowerShell.Commands private bool _passThru; /// - /// Specify the Default Command Prefix + /// Specify the Default Command Prefix /// [Parameter] [AllowNull] @@ -855,7 +855,7 @@ namespace Microsoft.PowerShell.Commands protected override void EndProcessing() { // Win8: 264471 - Error message for New-ModuleManifest -ProcessorArchitecture is obsolete. - // If an undefined value is passed for the ProcessorArchitecture parameter, the error message from parameter binder includes all the values from the enum. + // If an undefined value is passed for the ProcessorArchitecture parameter, the error message from parameter binder includes all the values from the enum. // The value 'IA64' for ProcessorArchitecture is not supported. But since we do not own the enum System.Reflection.ProcessorArchitecture, we cannot control the values in it. // So, we add a separate check in our code to give an error if user specifies IA64 if (ProcessorArchitecture == ProcessorArchitecture.IA64) @@ -1086,9 +1086,9 @@ namespace Microsoft.PowerShell.Commands // # ReleaseNotes of this module // ReleaseNotes = '' // }# end of PSData hashtable - // + // // # User's private data keys - // + // // }# end of PrivateData hashtable // #> private void BuildPrivateDataInModuleManifest(StringBuilder result, StreamWriter streamWriter) diff --git a/src/System.Management.Automation/engine/Modules/PSModuleInfo.cs b/src/System.Management.Automation/engine/Modules/PSModuleInfo.cs index 0f55de878c..77780ca7ef 100644 --- a/src/System.Management.Automation/engine/Modules/PSModuleInfo.cs +++ b/src/System.Management.Automation/engine/Modules/PSModuleInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/Modules/RemoteDiscoveryHelper.cs b/src/System.Management.Automation/engine/Modules/RemoteDiscoveryHelper.cs index 48f253ef6a..3086277556 100644 --- a/src/System.Management.Automation/engine/Modules/RemoteDiscoveryHelper.cs +++ b/src/System.Management.Automation/engine/Modules/RemoteDiscoveryHelper.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/Modules/RemoveModuleCommand.cs b/src/System.Management.Automation/engine/Modules/RemoveModuleCommand.cs index 3d9a725e08..f2d871005c 100644 --- a/src/System.Management.Automation/engine/Modules/RemoveModuleCommand.cs +++ b/src/System.Management.Automation/engine/Modules/RemoveModuleCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/Modules/ScriptAnalysis.cs b/src/System.Management.Automation/engine/Modules/ScriptAnalysis.cs index 8fb272b488..00eaba100d 100644 --- a/src/System.Management.Automation/engine/Modules/ScriptAnalysis.cs +++ b/src/System.Management.Automation/engine/Modules/ScriptAnalysis.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/Modules/TestModuleManifestCommand.cs b/src/System.Management.Automation/engine/Modules/TestModuleManifestCommand.cs index 69188c4497..a884a447ea 100644 --- a/src/System.Management.Automation/engine/Modules/TestModuleManifestCommand.cs +++ b/src/System.Management.Automation/engine/Modules/TestModuleManifestCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; @@ -145,7 +145,7 @@ namespace Microsoft.PowerShell.Commands string errorMsg = StringUtil.Format(Modules.InvalidModuleManifest, module.RootModule, filePath); var errorRecord = new ErrorRecord(new ArgumentException(errorMsg), "Modules_InvalidRootModuleInModuleManifest", ErrorCategory.InvalidArgument, _path); - WriteError(errorRecord); + WriteError(errorRecord); } } @@ -310,7 +310,7 @@ namespace Microsoft.PowerShell.Commands string message = StringUtil.Format(Modules.InvalidModuleManifestPath, path); InvalidOperationException ioe = new InvalidOperationException(message); ErrorRecord er = new ErrorRecord(ioe, "Modules_InvalidModuleManifestPath", ErrorCategory.InvalidArgument, path); - ThrowTerminatingError(er); + ThrowTerminatingError(er); } path = pathInfos[0].Path; diff --git a/src/System.Management.Automation/engine/MshCmdlet.cs b/src/System.Management.Automation/engine/MshCmdlet.cs index e9ee4ec2f6..6a9085eb75 100644 --- a/src/System.Management.Automation/engine/MshCmdlet.cs +++ b/src/System.Management.Automation/engine/MshCmdlet.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/engine/MshCommandRuntime.cs b/src/System.Management.Automation/engine/MshCommandRuntime.cs index a948940ed7..43672e3116 100644 --- a/src/System.Management.Automation/engine/MshCommandRuntime.cs +++ b/src/System.Management.Automation/engine/MshCommandRuntime.cs @@ -1,7 +1,7 @@ #pragma warning disable 1634, 1691 /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/MshMemberInfo.cs b/src/System.Management.Automation/engine/MshMemberInfo.cs index 1891ce405f..eb32b76fbe 100644 --- a/src/System.Management.Automation/engine/MshMemberInfo.cs +++ b/src/System.Management.Automation/engine/MshMemberInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Linq; diff --git a/src/System.Management.Automation/engine/MshObject.cs b/src/System.Management.Automation/engine/MshObject.cs index 822a26aaa8..c4651c8a1e 100644 --- a/src/System.Management.Automation/engine/MshObject.cs +++ b/src/System.Management.Automation/engine/MshObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/MshObjectTypeDescriptor.cs b/src/System.Management.Automation/engine/MshObjectTypeDescriptor.cs index 9b1519af72..6a7af45f14 100644 --- a/src/System.Management.Automation/engine/MshObjectTypeDescriptor.cs +++ b/src/System.Management.Automation/engine/MshObjectTypeDescriptor.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.ComponentModel; diff --git a/src/System.Management.Automation/engine/MshReference.cs b/src/System.Management.Automation/engine/MshReference.cs index 7ab4f1df0d..c22377905a 100644 --- a/src/System.Management.Automation/engine/MshReference.cs +++ b/src/System.Management.Automation/engine/MshReference.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Dynamic; diff --git a/src/System.Management.Automation/engine/MshSecurityException.cs b/src/System.Management.Automation/engine/MshSecurityException.cs index 482bd865a5..6b48bfdc32 100644 --- a/src/System.Management.Automation/engine/MshSecurityException.cs +++ b/src/System.Management.Automation/engine/MshSecurityException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/engine/MshSnapinQualifiedName.cs b/src/System.Management.Automation/engine/MshSnapinQualifiedName.cs index cc0d7d96e5..336c2f5932 100644 --- a/src/System.Management.Automation/engine/MshSnapinQualifiedName.cs +++ b/src/System.Management.Automation/engine/MshSnapinQualifiedName.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Dbg = System.Management.Automation.Diagnostics; diff --git a/src/System.Management.Automation/engine/NativeCommand.cs b/src/System.Management.Automation/engine/NativeCommand.cs index e182456195..63bea73314 100644 --- a/src/System.Management.Automation/engine/NativeCommand.cs +++ b/src/System.Management.Automation/engine/NativeCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Internal; diff --git a/src/System.Management.Automation/engine/NativeCommandParameterBinder.cs b/src/System.Management.Automation/engine/NativeCommandParameterBinder.cs index 44c298c776..8df70f33b3 100644 --- a/src/System.Management.Automation/engine/NativeCommandParameterBinder.cs +++ b/src/System.Management.Automation/engine/NativeCommandParameterBinder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/NativeCommandParameterBinderController.cs b/src/System.Management.Automation/engine/NativeCommandParameterBinderController.cs index b02857c05c..f8beed2b91 100644 --- a/src/System.Management.Automation/engine/NativeCommandParameterBinderController.cs +++ b/src/System.Management.Automation/engine/NativeCommandParameterBinderController.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/NativeCommandProcessor.cs b/src/System.Management.Automation/engine/NativeCommandProcessor.cs index af78563251..cee3678d77 100644 --- a/src/System.Management.Automation/engine/NativeCommandProcessor.cs +++ b/src/System.Management.Automation/engine/NativeCommandProcessor.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/System.Management.Automation/engine/NullString.cs b/src/System.Management.Automation/engine/NullString.cs index 400288ccee..ef7ccc84b5 100644 --- a/src/System.Management.Automation/engine/NullString.cs +++ b/src/System.Management.Automation/engine/NullString.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation.Language diff --git a/src/System.Management.Automation/engine/ObjectEventRegistrationBase.cs b/src/System.Management.Automation/engine/ObjectEventRegistrationBase.cs index 71eef7d67a..dd6450f396 100644 --- a/src/System.Management.Automation/engine/ObjectEventRegistrationBase.cs +++ b/src/System.Management.Automation/engine/ObjectEventRegistrationBase.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/System.Management.Automation/engine/PSClassInfo.cs b/src/System.Management.Automation/engine/PSClassInfo.cs index 7f44a72d85..fbfd436bce 100644 --- a/src/System.Management.Automation/engine/PSClassInfo.cs +++ b/src/System.Management.Automation/engine/PSClassInfo.cs @@ -1,6 +1,6 @@ //----------------------------------------------------------------------- // -// Copyright (C) 2013 Microsoft Corporation +// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- diff --git a/src/System.Management.Automation/engine/PSClassSearcher.cs b/src/System.Management.Automation/engine/PSClassSearcher.cs index d06af7be48..90f28ee722 100644 --- a/src/System.Management.Automation/engine/PSClassSearcher.cs +++ b/src/System.Management.Automation/engine/PSClassSearcher.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/PSVersionInfo.cs b/src/System.Management.Automation/engine/PSVersionInfo.cs index 07af6f347b..7b420f1587 100644 --- a/src/System.Management.Automation/engine/PSVersionInfo.cs +++ b/src/System.Management.Automation/engine/PSVersionInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics; diff --git a/src/System.Management.Automation/engine/ParameterBinderBase.cs b/src/System.Management.Automation/engine/ParameterBinderBase.cs index d809ef0bda..4f3dc90e81 100644 --- a/src/System.Management.Automation/engine/ParameterBinderBase.cs +++ b/src/System.Management.Automation/engine/ParameterBinderBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/ParameterBinderController.cs b/src/System.Management.Automation/engine/ParameterBinderController.cs index 188b2abbe4..47f24bd389 100644 --- a/src/System.Management.Automation/engine/ParameterBinderController.cs +++ b/src/System.Management.Automation/engine/ParameterBinderController.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/ParameterInfo.cs b/src/System.Management.Automation/engine/ParameterInfo.cs index ecee699ccf..e650537002 100644 --- a/src/System.Management.Automation/engine/ParameterInfo.cs +++ b/src/System.Management.Automation/engine/ParameterInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/ParameterSetInfo.cs b/src/System.Management.Automation/engine/ParameterSetInfo.cs index 0b17703a39..f34c269f90 100644 --- a/src/System.Management.Automation/engine/ParameterSetInfo.cs +++ b/src/System.Management.Automation/engine/ParameterSetInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/ParameterSetPromptingData.cs b/src/System.Management.Automation/engine/ParameterSetPromptingData.cs index a04ba12930..1df11b5e59 100644 --- a/src/System.Management.Automation/engine/ParameterSetPromptingData.cs +++ b/src/System.Management.Automation/engine/ParameterSetPromptingData.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/ParameterSetSpecificMetadata.cs b/src/System.Management.Automation/engine/ParameterSetSpecificMetadata.cs index 0a10758ecc..2dde7499cd 100644 --- a/src/System.Management.Automation/engine/ParameterSetSpecificMetadata.cs +++ b/src/System.Management.Automation/engine/ParameterSetSpecificMetadata.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/engine/PathInterfaces.cs b/src/System.Management.Automation/engine/PathInterfaces.cs index 023c08b5d9..c116ac3ea5 100644 --- a/src/System.Management.Automation/engine/PathInterfaces.cs +++ b/src/System.Management.Automation/engine/PathInterfaces.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/Pipe.cs b/src/System.Management.Automation/engine/Pipe.cs index 4fcb21ca44..340adb41ba 100644 --- a/src/System.Management.Automation/engine/Pipe.cs +++ b/src/System.Management.Automation/engine/Pipe.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/PositionalCommandParameter.cs b/src/System.Management.Automation/engine/PositionalCommandParameter.cs index d594af1a66..0d8261e24d 100644 --- a/src/System.Management.Automation/engine/PositionalCommandParameter.cs +++ b/src/System.Management.Automation/engine/PositionalCommandParameter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/ProgressRecord.cs b/src/System.Management.Automation/engine/ProgressRecord.cs index 7dcd8f33fd..f63ba0392a 100644 --- a/src/System.Management.Automation/engine/ProgressRecord.cs +++ b/src/System.Management.Automation/engine/ProgressRecord.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/engine/PropertyCmdletProviderInterfaces.cs b/src/System.Management.Automation/engine/PropertyCmdletProviderInterfaces.cs index d079a5c25d..5efb304610 100644 --- a/src/System.Management.Automation/engine/PropertyCmdletProviderInterfaces.cs +++ b/src/System.Management.Automation/engine/PropertyCmdletProviderInterfaces.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/ProviderInterfaces.cs b/src/System.Management.Automation/engine/ProviderInterfaces.cs index e336ec4747..46e288cbb3 100644 --- a/src/System.Management.Automation/engine/ProviderInterfaces.cs +++ b/src/System.Management.Automation/engine/ProviderInterfaces.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/ProviderNames.cs b/src/System.Management.Automation/engine/ProviderNames.cs index 56bf1d65fd..59199cd9a6 100644 --- a/src/System.Management.Automation/engine/ProviderNames.cs +++ b/src/System.Management.Automation/engine/ProviderNames.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/engine/ProxyCommand.cs b/src/System.Management.Automation/engine/ProxyCommand.cs index 5970026628..362dc23b00 100644 --- a/src/System.Management.Automation/engine/ProxyCommand.cs +++ b/src/System.Management.Automation/engine/ProxyCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics.CodeAnalysis; diff --git a/src/System.Management.Automation/engine/PseudoParameterBinder.cs b/src/System.Management.Automation/engine/PseudoParameterBinder.cs index d7275a68e7..344818f0ff 100644 --- a/src/System.Management.Automation/engine/PseudoParameterBinder.cs +++ b/src/System.Management.Automation/engine/PseudoParameterBinder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Internal; diff --git a/src/System.Management.Automation/engine/PseudoParameters.cs b/src/System.Management.Automation/engine/PseudoParameters.cs index 80c8572665..b7a40740e4 100644 --- a/src/System.Management.Automation/engine/PseudoParameters.cs +++ b/src/System.Management.Automation/engine/PseudoParameters.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/QuestionMarkVariable.cs b/src/System.Management.Automation/engine/QuestionMarkVariable.cs index 500dc846f2..ab9f25b0f6 100644 --- a/src/System.Management.Automation/engine/QuestionMarkVariable.cs +++ b/src/System.Management.Automation/engine/QuestionMarkVariable.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/System.Management.Automation/engine/ReflectionParameterBinder.cs b/src/System.Management.Automation/engine/ReflectionParameterBinder.cs index aff84cdcbe..9b0991deaa 100644 --- a/src/System.Management.Automation/engine/ReflectionParameterBinder.cs +++ b/src/System.Management.Automation/engine/ReflectionParameterBinder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Concurrent; diff --git a/src/System.Management.Automation/engine/RunspaceConfigurationEntry.cs b/src/System.Management.Automation/engine/RunspaceConfigurationEntry.cs index 97932f2465..c90388e0e2 100644 --- a/src/System.Management.Automation/engine/RunspaceConfigurationEntry.cs +++ b/src/System.Management.Automation/engine/RunspaceConfigurationEntry.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 @@ -47,7 +47,7 @@ namespace System.Management.Automation.Runspaces /// Formats, } - + /// /// Define class for runspace configuration entry. /// diff --git a/src/System.Management.Automation/engine/ScopedItemSearcher.cs b/src/System.Management.Automation/engine/ScopedItemSearcher.cs index 8e9e9e0708..b7e951450c 100644 --- a/src/System.Management.Automation/engine/ScopedItemSearcher.cs +++ b/src/System.Management.Automation/engine/ScopedItemSearcher.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/ScriptCommand.cs b/src/System.Management.Automation/engine/ScriptCommand.cs index e5c1982dcf..6c4e3f4d1a 100644 --- a/src/System.Management.Automation/engine/ScriptCommand.cs +++ b/src/System.Management.Automation/engine/ScriptCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Internal; diff --git a/src/System.Management.Automation/engine/ScriptCommandProcessor.cs b/src/System.Management.Automation/engine/ScriptCommandProcessor.cs index 18f1e41b56..9f1151f419 100644 --- a/src/System.Management.Automation/engine/ScriptCommandProcessor.cs +++ b/src/System.Management.Automation/engine/ScriptCommandProcessor.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/ScriptInfo.cs b/src/System.Management.Automation/engine/ScriptInfo.cs index a6b5d42ed8..95e756826f 100644 --- a/src/System.Management.Automation/engine/ScriptInfo.cs +++ b/src/System.Management.Automation/engine/ScriptInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Runspaces; diff --git a/src/System.Management.Automation/engine/SecurityDescriptorCmdletProviderInterfaces.cs b/src/System.Management.Automation/engine/SecurityDescriptorCmdletProviderInterfaces.cs index fe9a66cd07..6a8fb2fe82 100644 --- a/src/System.Management.Automation/engine/SecurityDescriptorCmdletProviderInterfaces.cs +++ b/src/System.Management.Automation/engine/SecurityDescriptorCmdletProviderInterfaces.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/SecurityManagerBase.cs b/src/System.Management.Automation/engine/SecurityManagerBase.cs index 07a5851aea..4cea5e1692 100644 --- a/src/System.Management.Automation/engine/SecurityManagerBase.cs +++ b/src/System.Management.Automation/engine/SecurityManagerBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Dbg = System.Management.Automation; diff --git a/src/System.Management.Automation/engine/SerializationStrings.cs b/src/System.Management.Automation/engine/SerializationStrings.cs index 94bfa19b25..9cc1ecd970 100644 --- a/src/System.Management.Automation/engine/SerializationStrings.cs +++ b/src/System.Management.Automation/engine/SerializationStrings.cs @@ -1,6 +1,6 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/engine/SessionState.cs b/src/System.Management.Automation/engine/SessionState.cs index 4745143511..51a631afe3 100644 --- a/src/System.Management.Automation/engine/SessionState.cs +++ b/src/System.Management.Automation/engine/SessionState.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Language; diff --git a/src/System.Management.Automation/engine/SessionStateAliasAPIs.cs b/src/System.Management.Automation/engine/SessionStateAliasAPIs.cs index cbf3982a0e..57e79c33bf 100644 --- a/src/System.Management.Automation/engine/SessionStateAliasAPIs.cs +++ b/src/System.Management.Automation/engine/SessionStateAliasAPIs.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/SessionStateCmdletAPIs.cs b/src/System.Management.Automation/engine/SessionStateCmdletAPIs.cs index 333a52c3e1..320a23a20e 100644 --- a/src/System.Management.Automation/engine/SessionStateCmdletAPIs.cs +++ b/src/System.Management.Automation/engine/SessionStateCmdletAPIs.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/SessionStateContainer.cs b/src/System.Management.Automation/engine/SessionStateContainer.cs index efcc2feedc..3541a1d9bf 100644 --- a/src/System.Management.Automation/engine/SessionStateContainer.cs +++ b/src/System.Management.Automation/engine/SessionStateContainer.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/SessionStateContent.cs b/src/System.Management.Automation/engine/SessionStateContent.cs index ec4b9a4250..fc62fce44f 100644 --- a/src/System.Management.Automation/engine/SessionStateContent.cs +++ b/src/System.Management.Automation/engine/SessionStateContent.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/SessionStateDriveAPIs.cs b/src/System.Management.Automation/engine/SessionStateDriveAPIs.cs index df49937de8..1350d57700 100644 --- a/src/System.Management.Automation/engine/SessionStateDriveAPIs.cs +++ b/src/System.Management.Automation/engine/SessionStateDriveAPIs.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/SessionStateDynamicProperty.cs b/src/System.Management.Automation/engine/SessionStateDynamicProperty.cs index 7d6673c9de..4c15dfc2fe 100644 --- a/src/System.Management.Automation/engine/SessionStateDynamicProperty.cs +++ b/src/System.Management.Automation/engine/SessionStateDynamicProperty.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/SessionStateFunctionAPIs.cs b/src/System.Management.Automation/engine/SessionStateFunctionAPIs.cs index 870d6208c7..1387543d28 100644 --- a/src/System.Management.Automation/engine/SessionStateFunctionAPIs.cs +++ b/src/System.Management.Automation/engine/SessionStateFunctionAPIs.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/SessionStateItem.cs b/src/System.Management.Automation/engine/SessionStateItem.cs index 9c9073aa3c..2869d702c4 100644 --- a/src/System.Management.Automation/engine/SessionStateItem.cs +++ b/src/System.Management.Automation/engine/SessionStateItem.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/SessionStateLocationAPIs.cs b/src/System.Management.Automation/engine/SessionStateLocationAPIs.cs index e2d3057837..9c512b40b9 100644 --- a/src/System.Management.Automation/engine/SessionStateLocationAPIs.cs +++ b/src/System.Management.Automation/engine/SessionStateLocationAPIs.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/System.Management.Automation/engine/SessionStateNavigation.cs b/src/System.Management.Automation/engine/SessionStateNavigation.cs index d76d673968..42a934ffd5 100644 --- a/src/System.Management.Automation/engine/SessionStateNavigation.cs +++ b/src/System.Management.Automation/engine/SessionStateNavigation.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/SessionStateProperty.cs b/src/System.Management.Automation/engine/SessionStateProperty.cs index 3c3825a48f..385385018b 100644 --- a/src/System.Management.Automation/engine/SessionStateProperty.cs +++ b/src/System.Management.Automation/engine/SessionStateProperty.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/SessionStateProviderAPIs.cs b/src/System.Management.Automation/engine/SessionStateProviderAPIs.cs index 54721d4877..62012a4db0 100644 --- a/src/System.Management.Automation/engine/SessionStateProviderAPIs.cs +++ b/src/System.Management.Automation/engine/SessionStateProviderAPIs.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/SessionStatePublic.cs b/src/System.Management.Automation/engine/SessionStatePublic.cs index e1bf6cbd26..2d361581f0 100644 --- a/src/System.Management.Automation/engine/SessionStatePublic.cs +++ b/src/System.Management.Automation/engine/SessionStatePublic.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/SessionStateScope.cs b/src/System.Management.Automation/engine/SessionStateScope.cs index 6b5e4b3972..7e24039a16 100644 --- a/src/System.Management.Automation/engine/SessionStateScope.cs +++ b/src/System.Management.Automation/engine/SessionStateScope.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/SessionStateScopeAPIs.cs b/src/System.Management.Automation/engine/SessionStateScopeAPIs.cs index ee48e19bfc..b6be9c5517 100644 --- a/src/System.Management.Automation/engine/SessionStateScopeAPIs.cs +++ b/src/System.Management.Automation/engine/SessionStateScopeAPIs.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Dbg = System.Management.Automation; diff --git a/src/System.Management.Automation/engine/SessionStateScopeEnumerator.cs b/src/System.Management.Automation/engine/SessionStateScopeEnumerator.cs index e88352c533..b81e26ae48 100644 --- a/src/System.Management.Automation/engine/SessionStateScopeEnumerator.cs +++ b/src/System.Management.Automation/engine/SessionStateScopeEnumerator.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/SessionStateSecurityDescriptorInterface.cs b/src/System.Management.Automation/engine/SessionStateSecurityDescriptorInterface.cs index de4220b2ea..2df21f9b15 100644 --- a/src/System.Management.Automation/engine/SessionStateSecurityDescriptorInterface.cs +++ b/src/System.Management.Automation/engine/SessionStateSecurityDescriptorInterface.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/SessionStateStrings.cs b/src/System.Management.Automation/engine/SessionStateStrings.cs index 6ee1604637..7310881666 100644 --- a/src/System.Management.Automation/engine/SessionStateStrings.cs +++ b/src/System.Management.Automation/engine/SessionStateStrings.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/engine/SessionStateUtils.cs b/src/System.Management.Automation/engine/SessionStateUtils.cs index 246a833c75..5f555c5ebe 100644 --- a/src/System.Management.Automation/engine/SessionStateUtils.cs +++ b/src/System.Management.Automation/engine/SessionStateUtils.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/SessionStateVariableAPIs.cs b/src/System.Management.Automation/engine/SessionStateVariableAPIs.cs index 4f966aa37b..333e2dd132 100644 --- a/src/System.Management.Automation/engine/SessionStateVariableAPIs.cs +++ b/src/System.Management.Automation/engine/SessionStateVariableAPIs.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/ShellVariable.cs b/src/System.Management.Automation/engine/ShellVariable.cs index 823c1bfd65..974bdb49d3 100644 --- a/src/System.Management.Automation/engine/ShellVariable.cs +++ b/src/System.Management.Automation/engine/ShellVariable.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Language; diff --git a/src/System.Management.Automation/engine/SpecialVariables.cs b/src/System.Management.Automation/engine/SpecialVariables.cs index 5c837976f7..fb9fbd9a52 100644 --- a/src/System.Management.Automation/engine/SpecialVariables.cs +++ b/src/System.Management.Automation/engine/SpecialVariables.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/ThirdPartyAdapter.cs b/src/System.Management.Automation/engine/ThirdPartyAdapter.cs index 61eb7fa57e..7332608793 100644 --- a/src/System.Management.Automation/engine/ThirdPartyAdapter.cs +++ b/src/System.Management.Automation/engine/ThirdPartyAdapter.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/TransactedString.cs b/src/System.Management.Automation/engine/TransactedString.cs index 0e3a24d688..73f6701821 100644 --- a/src/System.Management.Automation/engine/TransactedString.cs +++ b/src/System.Management.Automation/engine/TransactedString.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/TransactionManager.cs b/src/System.Management.Automation/engine/TransactionManager.cs index 1a5ffca26f..3abeb718c5 100644 --- a/src/System.Management.Automation/engine/TransactionManager.cs +++ b/src/System.Management.Automation/engine/TransactionManager.cs @@ -1,7 +1,7 @@ #pragma warning disable 1634, 1691 /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/TypeMetadata.cs b/src/System.Management.Automation/engine/TypeMetadata.cs index dbf6e66e9e..ad6df66cad 100644 --- a/src/System.Management.Automation/engine/TypeMetadata.cs +++ b/src/System.Management.Automation/engine/TypeMetadata.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/TypeTable.cs b/src/System.Management.Automation/engine/TypeTable.cs index 1b2fba40da..3b9f958bf9 100644 --- a/src/System.Management.Automation/engine/TypeTable.cs +++ b/src/System.Management.Automation/engine/TypeTable.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Concurrent; diff --git a/src/System.Management.Automation/engine/UserFeedbackParameters.cs b/src/System.Management.Automation/engine/UserFeedbackParameters.cs index d7119fc4f3..657d0b4fed 100644 --- a/src/System.Management.Automation/engine/UserFeedbackParameters.cs +++ b/src/System.Management.Automation/engine/UserFeedbackParameters.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Globalization; diff --git a/src/System.Management.Automation/engine/Utils.cs b/src/System.Management.Automation/engine/Utils.cs index f6b6449c9d..a408a7377f 100644 --- a/src/System.Management.Automation/engine/Utils.cs +++ b/src/System.Management.Automation/engine/Utils.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Security; diff --git a/src/System.Management.Automation/engine/VariableAttributeCollection.cs b/src/System.Management.Automation/engine/VariableAttributeCollection.cs index c7f850821b..86dfa5396d 100644 --- a/src/System.Management.Automation/engine/VariableAttributeCollection.cs +++ b/src/System.Management.Automation/engine/VariableAttributeCollection.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Dbg = System.Management.Automation; diff --git a/src/System.Management.Automation/engine/VariableInterfaces.cs b/src/System.Management.Automation/engine/VariableInterfaces.cs index 0f2f135f50..a3fbe14cd3 100644 --- a/src/System.Management.Automation/engine/VariableInterfaces.cs +++ b/src/System.Management.Automation/engine/VariableInterfaces.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Dbg = System.Management.Automation; diff --git a/src/System.Management.Automation/engine/VariablePath.cs b/src/System.Management.Automation/engine/VariablePath.cs index 84150f2e05..d5675a8de3 100644 --- a/src/System.Management.Automation/engine/VariablePath.cs +++ b/src/System.Management.Automation/engine/VariablePath.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics; diff --git a/src/System.Management.Automation/engine/WinRT/IInspectable.cs b/src/System.Management.Automation/engine/WinRT/IInspectable.cs index d0bdae5744..c218472b6a 100644 --- a/src/System.Management.Automation/engine/WinRT/IInspectable.cs +++ b/src/System.Management.Automation/engine/WinRT/IInspectable.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Runtime.InteropServices; diff --git a/src/System.Management.Automation/engine/WorkflowInfo.cs b/src/System.Management.Automation/engine/WorkflowInfo.cs index f6339b5462..3966c2c06f 100644 --- a/src/System.Management.Automation/engine/WorkflowInfo.cs +++ b/src/System.Management.Automation/engine/WorkflowInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/cmdlet.cs b/src/System.Management.Automation/engine/cmdlet.cs index 9f54718e95..ba66798d5e 100644 --- a/src/System.Management.Automation/engine/cmdlet.cs +++ b/src/System.Management.Automation/engine/cmdlet.cs @@ -1,7 +1,7 @@ #pragma warning disable 1634, 1691 /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/debugger/Breakpoint.cs b/src/System.Management.Automation/engine/debugger/Breakpoint.cs index 51bcad3245..5c3da3d7d6 100644 --- a/src/System.Management.Automation/engine/debugger/Breakpoint.cs +++ b/src/System.Management.Automation/engine/debugger/Breakpoint.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/debugger/debugger.cs b/src/System.Management.Automation/engine/debugger/debugger.cs index 2101e47e88..46339db730 100644 --- a/src/System.Management.Automation/engine/debugger/debugger.cs +++ b/src/System.Management.Automation/engine/debugger/debugger.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; @@ -411,7 +411,7 @@ namespace System.Management.Automation public event EventHandler RunspaceDebugProcessingCompleted; /// - /// Event raised to indicate that the debugging session is over and runspace debuggers queued for + /// Event raised to indicate that the debugging session is over and runspace debuggers queued for /// processing should be released. /// public event EventHandler CancelRunspaceDebugProcessing; diff --git a/src/System.Management.Automation/engine/hostifaces/AsyncResult.cs b/src/System.Management.Automation/engine/hostifaces/AsyncResult.cs index c7181032f2..3b33c4458d 100644 --- a/src/System.Management.Automation/engine/hostifaces/AsyncResult.cs +++ b/src/System.Management.Automation/engine/hostifaces/AsyncResult.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Threading; diff --git a/src/System.Management.Automation/engine/hostifaces/ChoiceDescription.cs b/src/System.Management.Automation/engine/hostifaces/ChoiceDescription.cs index 0ff1dcae46..48a7af3407 100644 --- a/src/System.Management.Automation/engine/hostifaces/ChoiceDescription.cs +++ b/src/System.Management.Automation/engine/hostifaces/ChoiceDescription.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/System.Management.Automation/engine/hostifaces/Command.cs b/src/System.Management.Automation/engine/hostifaces/Command.cs index bed8852ff1..11cedec7b2 100644 --- a/src/System.Management.Automation/engine/hostifaces/Command.cs +++ b/src/System.Management.Automation/engine/hostifaces/Command.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/hostifaces/Connection.cs b/src/System.Management.Automation/engine/hostifaces/Connection.cs index 8828d3d547..398a728831 100644 --- a/src/System.Management.Automation/engine/hostifaces/Connection.cs +++ b/src/System.Management.Automation/engine/hostifaces/Connection.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics.CodeAnalysis; diff --git a/src/System.Management.Automation/engine/hostifaces/ConnectionBase.cs b/src/System.Management.Automation/engine/hostifaces/ConnectionBase.cs index 152075ff89..094d0189d0 100644 --- a/src/System.Management.Automation/engine/hostifaces/ConnectionBase.cs +++ b/src/System.Management.Automation/engine/hostifaces/ConnectionBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/hostifaces/ConnectionFactory.cs b/src/System.Management.Automation/engine/hostifaces/ConnectionFactory.cs index 5a1630cec6..6a95c8865a 100644 --- a/src/System.Management.Automation/engine/hostifaces/ConnectionFactory.cs +++ b/src/System.Management.Automation/engine/hostifaces/ConnectionFactory.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Globalization; diff --git a/src/System.Management.Automation/engine/hostifaces/DefaultHost.cs b/src/System.Management.Automation/engine/hostifaces/DefaultHost.cs index a395f79aa7..3c8634e1d0 100644 --- a/src/System.Management.Automation/engine/hostifaces/DefaultHost.cs +++ b/src/System.Management.Automation/engine/hostifaces/DefaultHost.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/hostifaces/FieldDescription.cs b/src/System.Management.Automation/engine/hostifaces/FieldDescription.cs index b34758c60c..7825ab2891 100644 --- a/src/System.Management.Automation/engine/hostifaces/FieldDescription.cs +++ b/src/System.Management.Automation/engine/hostifaces/FieldDescription.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/System.Management.Automation/engine/hostifaces/History.cs b/src/System.Management.Automation/engine/hostifaces/History.cs index c1b6f151f9..7fa640a1f0 100644 --- a/src/System.Management.Automation/engine/hostifaces/History.cs +++ b/src/System.Management.Automation/engine/hostifaces/History.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/hostifaces/InformationalRecord.cs b/src/System.Management.Automation/engine/hostifaces/InformationalRecord.cs index c9fbf7a467..9ed6e675e5 100644 --- a/src/System.Management.Automation/engine/hostifaces/InformationalRecord.cs +++ b/src/System.Management.Automation/engine/hostifaces/InformationalRecord.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/hostifaces/InternalHost.cs b/src/System.Management.Automation/engine/hostifaces/InternalHost.cs index fee449c796..26253e07d3 100644 --- a/src/System.Management.Automation/engine/hostifaces/InternalHost.cs +++ b/src/System.Management.Automation/engine/hostifaces/InternalHost.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Globalization; diff --git a/src/System.Management.Automation/engine/hostifaces/InternalHostRawUserInterface.cs b/src/System.Management.Automation/engine/hostifaces/InternalHostRawUserInterface.cs index a39965b2f8..652693cbb7 100644 --- a/src/System.Management.Automation/engine/hostifaces/InternalHostRawUserInterface.cs +++ b/src/System.Management.Automation/engine/hostifaces/InternalHostRawUserInterface.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/System.Management.Automation/engine/hostifaces/InternalHostUserInterface.cs b/src/System.Management.Automation/engine/hostifaces/InternalHostUserInterface.cs index 0cad91cb1d..9be358ee6c 100644 --- a/src/System.Management.Automation/engine/hostifaces/InternalHostUserInterface.cs +++ b/src/System.Management.Automation/engine/hostifaces/InternalHostUserInterface.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/System.Management.Automation/engine/hostifaces/ListModifier.cs b/src/System.Management.Automation/engine/hostifaces/ListModifier.cs index 6fe0c2eb3a..237fa4ec0c 100644 --- a/src/System.Management.Automation/engine/hostifaces/ListModifier.cs +++ b/src/System.Management.Automation/engine/hostifaces/ListModifier.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/engine/hostifaces/LocalConnection.cs b/src/System.Management.Automation/engine/hostifaces/LocalConnection.cs index d58876ac92..bf625202bf 100644 --- a/src/System.Management.Automation/engine/hostifaces/LocalConnection.cs +++ b/src/System.Management.Automation/engine/hostifaces/LocalConnection.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/engine/hostifaces/LocalPipeline.cs b/src/System.Management.Automation/engine/hostifaces/LocalPipeline.cs index 07050165e3..03c4e922fb 100644 --- a/src/System.Management.Automation/engine/hostifaces/LocalPipeline.cs +++ b/src/System.Management.Automation/engine/hostifaces/LocalPipeline.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Diagnostics; diff --git a/src/System.Management.Automation/engine/hostifaces/MshHost.cs b/src/System.Management.Automation/engine/hostifaces/MshHost.cs index 2256df9c36..1ad99b0313 100644 --- a/src/System.Management.Automation/engine/hostifaces/MshHost.cs +++ b/src/System.Management.Automation/engine/hostifaces/MshHost.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Runspaces; diff --git a/src/System.Management.Automation/engine/hostifaces/MshHostRawUserInterface.cs b/src/System.Management.Automation/engine/hostifaces/MshHostRawUserInterface.cs index f48683e4b3..a57f190797 100644 --- a/src/System.Management.Automation/engine/hostifaces/MshHostRawUserInterface.cs +++ b/src/System.Management.Automation/engine/hostifaces/MshHostRawUserInterface.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/System.Management.Automation/engine/hostifaces/MshHostUserInterface.cs b/src/System.Management.Automation/engine/hostifaces/MshHostUserInterface.cs index 6d64065a5b..3caa17609b 100644 --- a/src/System.Management.Automation/engine/hostifaces/MshHostUserInterface.cs +++ b/src/System.Management.Automation/engine/hostifaces/MshHostUserInterface.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/engine/hostifaces/NativeCultureResolver.cs b/src/System.Management.Automation/engine/hostifaces/NativeCultureResolver.cs index 921db56dab..fc5650b339 100644 --- a/src/System.Management.Automation/engine/hostifaces/NativeCultureResolver.cs +++ b/src/System.Management.Automation/engine/hostifaces/NativeCultureResolver.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. Description: diff --git a/src/System.Management.Automation/engine/hostifaces/PSCommand.cs b/src/System.Management.Automation/engine/hostifaces/PSCommand.cs index 686bf4afc3..3b0266586c 100644 --- a/src/System.Management.Automation/engine/hostifaces/PSCommand.cs +++ b/src/System.Management.Automation/engine/hostifaces/PSCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Runspaces; diff --git a/src/System.Management.Automation/engine/hostifaces/PSDataCollection.cs b/src/System.Management.Automation/engine/hostifaces/PSDataCollection.cs index 982b19c426..f2b4fe0ca4 100644 --- a/src/System.Management.Automation/engine/hostifaces/PSDataCollection.cs +++ b/src/System.Management.Automation/engine/hostifaces/PSDataCollection.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/hostifaces/Parameter.cs b/src/System.Management.Automation/engine/hostifaces/Parameter.cs index 5f7c237546..49ab6cd791 100644 --- a/src/System.Management.Automation/engine/hostifaces/Parameter.cs +++ b/src/System.Management.Automation/engine/hostifaces/Parameter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Language; diff --git a/src/System.Management.Automation/engine/hostifaces/Pipeline.cs b/src/System.Management.Automation/engine/hostifaces/Pipeline.cs index 88e83f4d2e..fd7e2e4cd4 100644 --- a/src/System.Management.Automation/engine/hostifaces/Pipeline.cs +++ b/src/System.Management.Automation/engine/hostifaces/Pipeline.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/hostifaces/PowerShell.cs b/src/System.Management.Automation/engine/hostifaces/PowerShell.cs index 5db5e5171d..39d8ba249b 100644 --- a/src/System.Management.Automation/engine/hostifaces/PowerShell.cs +++ b/src/System.Management.Automation/engine/hostifaces/PowerShell.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/hostifaces/PowerShellProcessInstance.cs b/src/System.Management.Automation/engine/hostifaces/PowerShellProcessInstance.cs index 77b1e706cf..a13c97a8a2 100644 --- a/src/System.Management.Automation/engine/hostifaces/PowerShellProcessInstance.cs +++ b/src/System.Management.Automation/engine/hostifaces/PowerShellProcessInstance.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.ComponentModel; diff --git a/src/System.Management.Automation/engine/hostifaces/RunspaceInit.cs b/src/System.Management.Automation/engine/hostifaces/RunspaceInit.cs index fab0055732..17001670df 100644 --- a/src/System.Management.Automation/engine/hostifaces/RunspaceInit.cs +++ b/src/System.Management.Automation/engine/hostifaces/RunspaceInit.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Dbg = System.Management.Automation.Diagnostics; diff --git a/src/System.Management.Automation/engine/hostifaces/RunspaceInvoke.cs b/src/System.Management.Automation/engine/hostifaces/RunspaceInvoke.cs index e364b62514..3ee11cfd8a 100644 --- a/src/System.Management.Automation/engine/hostifaces/RunspaceInvoke.cs +++ b/src/System.Management.Automation/engine/hostifaces/RunspaceInvoke.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/engine/hostifaces/RunspacePool.cs b/src/System.Management.Automation/engine/hostifaces/RunspacePool.cs index 7d938b5172..33966d9057 100644 --- a/src/System.Management.Automation/engine/hostifaces/RunspacePool.cs +++ b/src/System.Management.Automation/engine/hostifaces/RunspacePool.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Threading; diff --git a/src/System.Management.Automation/engine/hostifaces/RunspacePoolInternal.cs b/src/System.Management.Automation/engine/hostifaces/RunspacePoolInternal.cs index 9aa7442b27..35608783ae 100644 --- a/src/System.Management.Automation/engine/hostifaces/RunspacePoolInternal.cs +++ b/src/System.Management.Automation/engine/hostifaces/RunspacePoolInternal.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/hostifaces/internalHostuserInterfacesecurity.cs b/src/System.Management.Automation/engine/hostifaces/internalHostuserInterfacesecurity.cs index 898434aefc..17d17cb90f 100644 --- a/src/System.Management.Automation/engine/hostifaces/internalHostuserInterfacesecurity.cs +++ b/src/System.Management.Automation/engine/hostifaces/internalHostuserInterfacesecurity.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/System.Management.Automation/engine/hostifaces/pipelinebase.cs b/src/System.Management.Automation/engine/hostifaces/pipelinebase.cs index d7ef5a74b7..90a6b90c17 100644 --- a/src/System.Management.Automation/engine/hostifaces/pipelinebase.cs +++ b/src/System.Management.Automation/engine/hostifaces/pipelinebase.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ namespace System.Management.Automation.Runspaces diff --git a/src/System.Management.Automation/engine/interpreter/Utilities.cs b/src/System.Management.Automation/engine/interpreter/Utilities.cs index 7cf048364f..1100ce9e3c 100644 --- a/src/System.Management.Automation/engine/interpreter/Utilities.cs +++ b/src/System.Management.Automation/engine/interpreter/Utilities.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/lang/codegen.cs b/src/System.Management.Automation/engine/lang/codegen.cs index e8877c253c..6e20600406 100644 --- a/src/System.Management.Automation/engine/lang/codegen.cs +++ b/src/System.Management.Automation/engine/lang/codegen.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Text; diff --git a/src/System.Management.Automation/engine/lang/interface/PSParseError.cs b/src/System.Management.Automation/engine/lang/interface/PSParseError.cs index 6a1961deac..c29e49856e 100644 --- a/src/System.Management.Automation/engine/lang/interface/PSParseError.cs +++ b/src/System.Management.Automation/engine/lang/interface/PSParseError.cs @@ -1,5 +1,5 @@ /********************************************************************++ - Copyright (C) Microsoft Corporation, 2003 + Copyright (c) Microsoft Corporation. All rights reserved. Project: PowerShell diff --git a/src/System.Management.Automation/engine/lang/interface/PSParser.cs b/src/System.Management.Automation/engine/lang/interface/PSParser.cs index 51ad659617..1ea3b176ef 100644 --- a/src/System.Management.Automation/engine/lang/interface/PSParser.cs +++ b/src/System.Management.Automation/engine/lang/interface/PSParser.cs @@ -1,5 +1,5 @@ /********************************************************************++ - Copyright (C) Microsoft Corporation, 2003 + Copyright (c) Microsoft Corporation. All rights reserved. Project: PowerShell diff --git a/src/System.Management.Automation/engine/lang/interface/PSToken.cs b/src/System.Management.Automation/engine/lang/interface/PSToken.cs index 1c3a81a6d1..ee9c4566b5 100644 --- a/src/System.Management.Automation/engine/lang/interface/PSToken.cs +++ b/src/System.Management.Automation/engine/lang/interface/PSToken.cs @@ -1,5 +1,5 @@ /********************************************************************++ - Copyright (C) Microsoft Corporation, 2003 + Copyright (c) Microsoft Corporation. All rights reserved. Project: PowerShell diff --git a/src/System.Management.Automation/engine/lang/parserutils.cs b/src/System.Management.Automation/engine/lang/parserutils.cs index 1052044e3a..1be5c02a34 100644 --- a/src/System.Management.Automation/engine/lang/parserutils.cs +++ b/src/System.Management.Automation/engine/lang/parserutils.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/lang/scriptblock.cs b/src/System.Management.Automation/engine/lang/scriptblock.cs index 448042eb0d..5c4a5fef5c 100644 --- a/src/System.Management.Automation/engine/lang/scriptblock.cs +++ b/src/System.Management.Automation/engine/lang/scriptblock.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/parser/AstVisitor.cs b/src/System.Management.Automation/engine/parser/AstVisitor.cs index d0e0a9982b..de4255de36 100644 --- a/src/System.Management.Automation/engine/parser/AstVisitor.cs +++ b/src/System.Management.Automation/engine/parser/AstVisitor.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/parser/CharTraits.cs b/src/System.Management.Automation/engine/parser/CharTraits.cs index accbc81e7a..be5b90d077 100644 --- a/src/System.Management.Automation/engine/parser/CharTraits.cs +++ b/src/System.Management.Automation/engine/parser/CharTraits.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation.Language diff --git a/src/System.Management.Automation/engine/parser/Compiler.cs b/src/System.Management.Automation/engine/parser/Compiler.cs index bddddf1c73..9a01f0de21 100644 --- a/src/System.Management.Automation/engine/parser/Compiler.cs +++ b/src/System.Management.Automation/engine/parser/Compiler.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/parser/ConstantValues.cs b/src/System.Management.Automation/engine/parser/ConstantValues.cs index ee3effd867..8f6f0df41d 100644 --- a/src/System.Management.Automation/engine/parser/ConstantValues.cs +++ b/src/System.Management.Automation/engine/parser/ConstantValues.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/parser/FusionAssemblyIdentity.cs b/src/System.Management.Automation/engine/parser/FusionAssemblyIdentity.cs index 5a0de0c3a4..2179b73595 100644 --- a/src/System.Management.Automation/engine/parser/FusionAssemblyIdentity.cs +++ b/src/System.Management.Automation/engine/parser/FusionAssemblyIdentity.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/parser/GlobalAssemblyCache.cs b/src/System.Management.Automation/engine/parser/GlobalAssemblyCache.cs index 254d37b7cc..2734567448 100644 --- a/src/System.Management.Automation/engine/parser/GlobalAssemblyCache.cs +++ b/src/System.Management.Automation/engine/parser/GlobalAssemblyCache.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/parser/PSType.cs b/src/System.Management.Automation/engine/parser/PSType.cs index 5c47c8e6aa..1a5a15fc77 100644 --- a/src/System.Management.Automation/engine/parser/PSType.cs +++ b/src/System.Management.Automation/engine/parser/PSType.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; @@ -1172,7 +1172,7 @@ namespace System.Management.Automation.Language SessionStateKeeper sessionStateKeeper = new SessionStateKeeper(); helperType.GetField(s_sessionStateKeeperFieldName, BindingFlags.NonPublic | BindingFlags.Static).SetValue(null, sessionStateKeeper); - + if (helper._fieldsToInitForMemberFunctions != null) { foreach (var tuple in helper._fieldsToInitForMemberFunctions) diff --git a/src/System.Management.Automation/engine/parser/Parser.cs b/src/System.Management.Automation/engine/parser/Parser.cs index 98d6533d20..b347cbd3e0 100644 --- a/src/System.Management.Automation/engine/parser/Parser.cs +++ b/src/System.Management.Automation/engine/parser/Parser.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/parser/Position.cs b/src/System.Management.Automation/engine/parser/Position.cs index 0b2bcdb4b0..c5aa366b7e 100644 --- a/src/System.Management.Automation/engine/parser/Position.cs +++ b/src/System.Management.Automation/engine/parser/Position.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics.CodeAnalysis; diff --git a/src/System.Management.Automation/engine/parser/PreOrderVisitor.cs b/src/System.Management.Automation/engine/parser/PreOrderVisitor.cs index 68263ea57b..62defcc9a5 100644 --- a/src/System.Management.Automation/engine/parser/PreOrderVisitor.cs +++ b/src/System.Management.Automation/engine/parser/PreOrderVisitor.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics.CodeAnalysis; diff --git a/src/System.Management.Automation/engine/parser/SafeValues.cs b/src/System.Management.Automation/engine/parser/SafeValues.cs index 9835d52c77..ed1924382d 100644 --- a/src/System.Management.Automation/engine/parser/SafeValues.cs +++ b/src/System.Management.Automation/engine/parser/SafeValues.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/parser/SemanticChecks.cs b/src/System.Management.Automation/engine/parser/SemanticChecks.cs index 873b74a5b6..86394e5ba0 100644 --- a/src/System.Management.Automation/engine/parser/SemanticChecks.cs +++ b/src/System.Management.Automation/engine/parser/SemanticChecks.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/parser/SymbolResolver.cs b/src/System.Management.Automation/engine/parser/SymbolResolver.cs index fae20a066f..cc8dc8f92e 100644 --- a/src/System.Management.Automation/engine/parser/SymbolResolver.cs +++ b/src/System.Management.Automation/engine/parser/SymbolResolver.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Globalization; diff --git a/src/System.Management.Automation/engine/parser/TypeResolver.cs b/src/System.Management.Automation/engine/parser/TypeResolver.cs index 006dbf084e..1728c2f812 100644 --- a/src/System.Management.Automation/engine/parser/TypeResolver.cs +++ b/src/System.Management.Automation/engine/parser/TypeResolver.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ // for fxcop diff --git a/src/System.Management.Automation/engine/parser/VariableAnalysis.cs b/src/System.Management.Automation/engine/parser/VariableAnalysis.cs index d268d1beb9..f89c3b8357 100644 --- a/src/System.Management.Automation/engine/parser/VariableAnalysis.cs +++ b/src/System.Management.Automation/engine/parser/VariableAnalysis.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/parser/ast.cs b/src/System.Management.Automation/engine/parser/ast.cs index ff9dc636e7..63dca76ca8 100644 --- a/src/System.Management.Automation/engine/parser/ast.cs +++ b/src/System.Management.Automation/engine/parser/ast.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ // diff --git a/src/System.Management.Automation/engine/parser/token.cs b/src/System.Management.Automation/engine/parser/token.cs index 9d87896ab1..4d4940cc30 100644 --- a/src/System.Management.Automation/engine/parser/token.cs +++ b/src/System.Management.Automation/engine/parser/token.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/parser/tokenizer.cs b/src/System.Management.Automation/engine/parser/tokenizer.cs index fe9ea2250d..c951d1f996 100644 --- a/src/System.Management.Automation/engine/parser/tokenizer.cs +++ b/src/System.Management.Automation/engine/parser/tokenizer.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Microsoft.PowerShell.Commands; diff --git a/src/System.Management.Automation/engine/pipeline.cs b/src/System.Management.Automation/engine/pipeline.cs index 661ef5e7c0..1d00979782 100644 --- a/src/System.Management.Automation/engine/pipeline.cs +++ b/src/System.Management.Automation/engine/pipeline.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/regex.cs b/src/System.Management.Automation/engine/regex.cs index fbe58907a4..31ee5d8dfb 100644 --- a/src/System.Management.Automation/engine/regex.cs +++ b/src/System.Management.Automation/engine/regex.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/System.Management.Automation/engine/remoting/client/ClientMethodExecutor.cs b/src/System.Management.Automation/engine/remoting/client/ClientMethodExecutor.cs index a1ba852646..8f4cd97678 100644 --- a/src/System.Management.Automation/engine/remoting/client/ClientMethodExecutor.cs +++ b/src/System.Management.Automation/engine/remoting/client/ClientMethodExecutor.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Host; diff --git a/src/System.Management.Automation/engine/remoting/client/ClientRemotePowerShell.cs b/src/System.Management.Automation/engine/remoting/client/ClientRemotePowerShell.cs index b3c89a4f80..11e3b2e52b 100644 --- a/src/System.Management.Automation/engine/remoting/client/ClientRemotePowerShell.cs +++ b/src/System.Management.Automation/engine/remoting/client/ClientRemotePowerShell.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/remoting/client/Job.cs b/src/System.Management.Automation/engine/remoting/client/Job.cs index adf0d5ad3b..a86af8f8ec 100644 --- a/src/System.Management.Automation/engine/remoting/client/Job.cs +++ b/src/System.Management.Automation/engine/remoting/client/Job.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/remoting/client/Job2.cs b/src/System.Management.Automation/engine/remoting/client/Job2.cs index 43ec4f9b07..97022d689e 100644 --- a/src/System.Management.Automation/engine/remoting/client/Job2.cs +++ b/src/System.Management.Automation/engine/remoting/client/Job2.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Linq; diff --git a/src/System.Management.Automation/engine/remoting/client/JobManager.cs b/src/System.Management.Automation/engine/remoting/client/JobManager.cs index c27c7dd389..2d7862a931 100644 --- a/src/System.Management.Automation/engine/remoting/client/JobManager.cs +++ b/src/System.Management.Automation/engine/remoting/client/JobManager.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/remoting/client/JobSourceAdapter.cs b/src/System.Management.Automation/engine/remoting/client/JobSourceAdapter.cs index a972cd2793..4424e4fa54 100644 --- a/src/System.Management.Automation/engine/remoting/client/JobSourceAdapter.cs +++ b/src/System.Management.Automation/engine/remoting/client/JobSourceAdapter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/remoting/client/PSProxyJob.cs b/src/System.Management.Automation/engine/remoting/client/PSProxyJob.cs index 3f9bbe3632..ca011590fd 100644 --- a/src/System.Management.Automation/engine/remoting/client/PSProxyJob.cs +++ b/src/System.Management.Automation/engine/remoting/client/PSProxyJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/remoting/client/PowerShellStreams.cs b/src/System.Management.Automation/engine/remoting/client/PowerShellStreams.cs index 7dbcddf2f3..d0cd4dd183 100644 --- a/src/System.Management.Automation/engine/remoting/client/PowerShellStreams.cs +++ b/src/System.Management.Automation/engine/remoting/client/PowerShellStreams.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/engine/remoting/client/RemoteRunspacePoolInternal.cs b/src/System.Management.Automation/engine/remoting/client/RemoteRunspacePoolInternal.cs index d9110ed693..705eaa49be 100644 --- a/src/System.Management.Automation/engine/remoting/client/RemoteRunspacePoolInternal.cs +++ b/src/System.Management.Automation/engine/remoting/client/RemoteRunspacePoolInternal.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/remoting/client/RemotingErrorRecord.cs b/src/System.Management.Automation/engine/remoting/client/RemotingErrorRecord.cs index cf52f20cc2..ebc5040c50 100644 --- a/src/System.Management.Automation/engine/remoting/client/RemotingErrorRecord.cs +++ b/src/System.Management.Automation/engine/remoting/client/RemotingErrorRecord.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/engine/remoting/client/RemotingProtocol2.cs b/src/System.Management.Automation/engine/remoting/client/RemotingProtocol2.cs index 22fa7f254f..d2199a6593 100644 --- a/src/System.Management.Automation/engine/remoting/client/RemotingProtocol2.cs +++ b/src/System.Management.Automation/engine/remoting/client/RemotingProtocol2.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Management.Automation.Tracing; diff --git a/src/System.Management.Automation/engine/remoting/client/RunspaceRef.cs b/src/System.Management.Automation/engine/remoting/client/RunspaceRef.cs index f58f1d57c2..3f1d865ef2 100644 --- a/src/System.Management.Automation/engine/remoting/client/RunspaceRef.cs +++ b/src/System.Management.Automation/engine/remoting/client/RunspaceRef.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/engine/remoting/client/ThrottlingJob.cs b/src/System.Management.Automation/engine/remoting/client/ThrottlingJob.cs index 676f3df910..b9740d7506 100644 --- a/src/System.Management.Automation/engine/remoting/client/ThrottlingJob.cs +++ b/src/System.Management.Automation/engine/remoting/client/ThrottlingJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Concurrent; diff --git a/src/System.Management.Automation/engine/remoting/client/clientremotesession.cs b/src/System.Management.Automation/engine/remoting/client/clientremotesession.cs index 61be072069..a717ba2195 100644 --- a/src/System.Management.Automation/engine/remoting/client/clientremotesession.cs +++ b/src/System.Management.Automation/engine/remoting/client/clientremotesession.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Threading; diff --git a/src/System.Management.Automation/engine/remoting/client/clientremotesessionprotocolstatemachine.cs b/src/System.Management.Automation/engine/remoting/client/clientremotesessionprotocolstatemachine.cs index c538e221e9..fd192d15d2 100644 --- a/src/System.Management.Automation/engine/remoting/client/clientremotesessionprotocolstatemachine.cs +++ b/src/System.Management.Automation/engine/remoting/client/clientremotesessionprotocolstatemachine.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Threading; diff --git a/src/System.Management.Automation/engine/remoting/client/remotepipeline.cs b/src/System.Management.Automation/engine/remoting/client/remotepipeline.cs index 73629a3f62..50ebd75219 100644 --- a/src/System.Management.Automation/engine/remoting/client/remotepipeline.cs +++ b/src/System.Management.Automation/engine/remoting/client/remotepipeline.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/System.Management.Automation/engine/remoting/client/remoterunspace.cs b/src/System.Management.Automation/engine/remoting/client/remoterunspace.cs index 96c1f0eb0d..a13b0a90e1 100644 --- a/src/System.Management.Automation/engine/remoting/client/remoterunspace.cs +++ b/src/System.Management.Automation/engine/remoting/client/remoterunspace.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Runspaces; diff --git a/src/System.Management.Automation/engine/remoting/client/remoterunspaceinfo.cs b/src/System.Management.Automation/engine/remoting/client/remoterunspaceinfo.cs index 0228bac686..787f4de24c 100644 --- a/src/System.Management.Automation/engine/remoting/client/remoterunspaceinfo.cs +++ b/src/System.Management.Automation/engine/remoting/client/remoterunspaceinfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Internal; diff --git a/src/System.Management.Automation/engine/remoting/client/remotingprotocol.cs b/src/System.Management.Automation/engine/remoting/client/remotingprotocol.cs index 8ea0739455..77d39aa223 100644 --- a/src/System.Management.Automation/engine/remoting/client/remotingprotocol.cs +++ b/src/System.Management.Automation/engine/remoting/client/remotingprotocol.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Management.Automation.Remoting.Client; diff --git a/src/System.Management.Automation/engine/remoting/client/remotingprotocolimplementation.cs b/src/System.Management.Automation/engine/remoting/client/remotingprotocolimplementation.cs index b6dc41ba9c..0fac991e7a 100644 --- a/src/System.Management.Automation/engine/remoting/client/remotingprotocolimplementation.cs +++ b/src/System.Management.Automation/engine/remoting/client/remotingprotocolimplementation.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Management.Automation.Internal; diff --git a/src/System.Management.Automation/engine/remoting/commands/ConnectPSSession.cs b/src/System.Management.Automation/engine/remoting/commands/ConnectPSSession.cs index cdb3cc2aeb..d68f5506d1 100644 --- a/src/System.Management.Automation/engine/remoting/commands/ConnectPSSession.cs +++ b/src/System.Management.Automation/engine/remoting/commands/ConnectPSSession.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/CustomShellCommands.cs b/src/System.Management.Automation/engine/remoting/commands/CustomShellCommands.cs index 5178faa489..f550f163ca 100644 --- a/src/System.Management.Automation/engine/remoting/commands/CustomShellCommands.cs +++ b/src/System.Management.Automation/engine/remoting/commands/CustomShellCommands.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/DebugJob.cs b/src/System.Management.Automation/engine/remoting/commands/DebugJob.cs index d2a7efddf4..449c4011f3 100644 --- a/src/System.Management.Automation/engine/remoting/commands/DebugJob.cs +++ b/src/System.Management.Automation/engine/remoting/commands/DebugJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/DisconnectPSSession.cs b/src/System.Management.Automation/engine/remoting/commands/DisconnectPSSession.cs index 13cd3bd98d..78b48f4819 100644 --- a/src/System.Management.Automation/engine/remoting/commands/DisconnectPSSession.cs +++ b/src/System.Management.Automation/engine/remoting/commands/DisconnectPSSession.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/EnterPSHostProcessCommand.cs b/src/System.Management.Automation/engine/remoting/commands/EnterPSHostProcessCommand.cs index 8fc706ab0b..6538474339 100644 --- a/src/System.Management.Automation/engine/remoting/commands/EnterPSHostProcessCommand.cs +++ b/src/System.Management.Automation/engine/remoting/commands/EnterPSHostProcessCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/GetJob.cs b/src/System.Management.Automation/engine/remoting/commands/GetJob.cs index fa0d3efdbb..b906542a2a 100644 --- a/src/System.Management.Automation/engine/remoting/commands/GetJob.cs +++ b/src/System.Management.Automation/engine/remoting/commands/GetJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics.CodeAnalysis; diff --git a/src/System.Management.Automation/engine/remoting/commands/InvokeCommandCommand.cs b/src/System.Management.Automation/engine/remoting/commands/InvokeCommandCommand.cs index 813e316171..9c400743c8 100644 --- a/src/System.Management.Automation/engine/remoting/commands/InvokeCommandCommand.cs +++ b/src/System.Management.Automation/engine/remoting/commands/InvokeCommandCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/JobRepository.cs b/src/System.Management.Automation/engine/remoting/commands/JobRepository.cs index 8d8c57f5a1..f99e6a2043 100644 --- a/src/System.Management.Automation/engine/remoting/commands/JobRepository.cs +++ b/src/System.Management.Automation/engine/remoting/commands/JobRepository.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/remoting/commands/NewPSSessionConfigurationOptionCommand.cs b/src/System.Management.Automation/engine/remoting/commands/NewPSSessionConfigurationOptionCommand.cs index bea7a541c8..0823bc7cad 100644 --- a/src/System.Management.Automation/engine/remoting/commands/NewPSSessionConfigurationOptionCommand.cs +++ b/src/System.Management.Automation/engine/remoting/commands/NewPSSessionConfigurationOptionCommand.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Text; diff --git a/src/System.Management.Automation/engine/remoting/commands/NewPSSessionOptionCommand.cs b/src/System.Management.Automation/engine/remoting/commands/NewPSSessionOptionCommand.cs index 5f97bc4941..ea7bf4ce0e 100644 --- a/src/System.Management.Automation/engine/remoting/commands/NewPSSessionOptionCommand.cs +++ b/src/System.Management.Automation/engine/remoting/commands/NewPSSessionOptionCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; @@ -12,24 +12,24 @@ using System.Management.Automation.Runspaces; namespace System.Management.Automation.Remoting { /// - /// IMPORTANT: proxy configuration is supported for HTTPS only; for HTTP, the direct - /// connection to the server is used + /// IMPORTANT: proxy configuration is supported for HTTPS only; for HTTP, the direct + /// connection to the server is used /// [SuppressMessage("Microsoft.Design", "CA1027:MarkEnumsWithFlags")] public enum ProxyAccessType { /// - /// ProxyAccessType is not specified. That means Proxy information (ProxyAccessType, ProxyAuthenticationMechanism + /// ProxyAccessType is not specified. That means Proxy information (ProxyAccessType, ProxyAuthenticationMechanism /// and ProxyCredential)is not passed to WSMan at all. /// None = 0, /// /// use the Internet Explorer proxy configuration for the current user. - /// Internet Explorer proxy settings for the current active network connection. - /// This option requires the user profile to be loaded, so the option can - /// be directly used when called within a process that is running under - /// an interactive user account identity; if the client application is running - /// under a user context different than the interactive user, the client + /// Internet Explorer proxy settings for the current active network connection. + /// This option requires the user profile to be loaded, so the option can + /// be directly used when called within a process that is running under + /// an interactive user account identity; if the client application is running + /// under a user context different than the interactive user, the client /// application has to explicitly load the user profile prior to using this option. /// IEConfig = 1, @@ -67,9 +67,9 @@ namespace System.Management.Automation.Remoting /// /// If false, underlying WSMan infrastructure will compress data sent on the network. - /// If true, data will not be compressed. Compression improves performance by + /// If true, data will not be compressed. Compression improves performance by /// reducing the amount of data sent on the network. Compression my require extra - /// memory consumption and CPU usage. In cases where available memory / CPU is less, + /// memory consumption and CPU usage. In cases where available memory / CPU is less, /// set this property to "true". /// By default the value of this property is "false". /// @@ -78,25 +78,25 @@ namespace System.Management.Automation.Remoting /// /// If true then Operating System won't load the user profile (i.e. registry keys under HKCU) on the remote server /// which can result in a faster session creation time. This option won't have any effect if the remote machine has - /// already loaded the profile (i.e. in another session). + /// already loaded the profile (i.e. in another session). /// public bool NoMachineProfile { get; set; } = false; /// - /// By default, ProxyAccessType is None, that means Proxy information (ProxyAccessType, + /// By default, ProxyAccessType is None, that means Proxy information (ProxyAccessType, /// ProxyAuthenticationMechanism and ProxyCredential)is not passed to WSMan at all. /// public ProxyAccessType ProxyAccessType { get; set; } = ProxyAccessType.None; /// /// The following is the definition of the input parameter "ProxyAuthentication". - /// This parameter takes a set of authentication methods the user can select + /// This parameter takes a set of authentication methods the user can select /// from. The available options should be as follows: - /// - Negotiate: Use the default authentication (as defined by the underlying + /// - Negotiate: Use the default authentication (as defined by the underlying /// protocol) for establishing a remote connection. /// - Basic: Use basic authentication for establishing a remote connection /// - Digest: Use Digest authentication for establishing a remote connection - /// + /// /// Default is Negotiate. /// public AuthenticationMechanism ProxyAuthentication @@ -130,47 +130,47 @@ namespace System.Management.Automation.Remoting /// - /// When connecting over HTTPS, the client does not validate that the server - /// certificate is signed by a trusted certificate authority (CA). Use only when - /// the remote computer is trusted by other means, for example, if the remote - /// computer is part of a network that is physically secure and isolated or the + /// When connecting over HTTPS, the client does not validate that the server + /// certificate is signed by a trusted certificate authority (CA). Use only when + /// the remote computer is trusted by other means, for example, if the remote + /// computer is part of a network that is physically secure and isolated or the /// remote computer is listed as a trusted host in WinRM configuration /// public bool SkipCACheck { get; set; } /// - /// Indicates that certificate common name (CN) of the server need not match the - /// hostname of the server. Used only in remote operations using https. This + /// Indicates that certificate common name (CN) of the server need not match the + /// hostname of the server. Used only in remote operations using https. This /// option should only be used for trusted machines. /// public bool SkipCNCheck { get; set; } /// - /// Indicates that certificate common name (CN) of the server need not match the - /// hostname of the server. Used only in remote operations using https. This + /// Indicates that certificate common name (CN) of the server need not match the + /// hostname of the server. Used only in remote operations using https. This /// option should only be used for trusted machines /// public bool SkipRevocationCheck { get; set; } /// - /// The duration for which PowerShell remoting waits before timing out - /// for any operation. The user would like to tweak this timeout + /// The duration for which PowerShell remoting waits before timing out + /// for any operation. The user would like to tweak this timeout /// depending on whether he/she is connecting to a machine in the data /// center or across a slow WAN. - /// + /// /// Default: 3*60*1000 == 3minutes /// public TimeSpan OperationTimeout { get; set; } = TimeSpan.FromMilliseconds(BaseTransportManager.ClientDefaultOperationTimeoutMs); /// - /// Specifies that no encryption will be used when doing remote operations over - /// http. Unencrypted traffic is not allowed by default and must be enabled in + /// Specifies that no encryption will be used when doing remote operations over + /// http. Unencrypted traffic is not allowed by default and must be enabled in /// the local configuration /// public bool NoEncryption { get; set; } /// - /// Indicates the request is encoded in UTF16 format rather than UTF8 format; + /// Indicates the request is encoded in UTF16 format rather than UTF8 format; /// UTF8 is the default. /// [SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "UTF")] @@ -226,31 +226,31 @@ namespace System.Management.Automation.Remoting public PSPrimitiveDictionary ApplicationArguments { get; set; } /// - /// The duration for which PowerShell remoting waits before timing out on a connection to a remote machine. - /// Simply put, the timeout for a remote runspace creation. - /// The user would like to tweak this timeout depending on whether + /// The duration for which PowerShell remoting waits before timing out on a connection to a remote machine. + /// Simply put, the timeout for a remote runspace creation. + /// The user would like to tweak this timeout depending on whether /// he/she is connecting to a machine in the data center or across a slow WAN. - /// + /// /// Default: 3 * 60 * 1000 = 3 minutes /// public TimeSpan OpenTimeout { get; set; } = TimeSpan.FromMilliseconds(RunspaceConnectionInfo.DefaultOpenTimeout); /// - /// The duration for which PowerShell should wait before it times out on cancel operations - /// (close runspace or stop powershell). For instance, when the user hits ctrl-C, - /// New-PSSession cmdlet tries to call a stop on all remote runspaces which are in the Opening state. - /// The user wouldn’t mind waiting for 15 seconds, but this should be time bound and of a shorter duration. + /// The duration for which PowerShell should wait before it times out on cancel operations + /// (close runspace or stop powershell). For instance, when the user hits ctrl-C, + /// New-PSSession cmdlet tries to call a stop on all remote runspaces which are in the Opening state. + /// The user wouldn't mind waiting for 15 seconds, but this should be time bound and of a shorter duration. /// A high timeout here like 3 minutes will give the user a feeling that the PowerShell client has hung. - /// + /// /// Default: 60 * 1000 = 1 minute /// public TimeSpan CancelTimeout { get; set; } = TimeSpan.FromMilliseconds(RunspaceConnectionInfo.defaultCancelTimeout); /// - /// The duration for which a Runspace on server needs to wait before it declares the client dead and closes itself down. - /// This is especially important as these values may have to be configured differently for enterprise administration + /// The duration for which a Runspace on server needs to wait before it declares the client dead and closes itself down. + /// This is especially important as these values may have to be configured differently for enterprise administration /// and exchange scenarios. - /// + /// /// Default: -1 -> Use current server value for IdleTimeout. /// public TimeSpan IdleTimeout { get; set; } = TimeSpan.FromMilliseconds(RunspaceConnectionInfo.DefaultIdleTimeout); @@ -260,7 +260,7 @@ namespace System.Management.Automation.Remoting namespace Microsoft.PowerShell.Commands { /// - /// This class implements New-PSSessionOption cmdlet. + /// This class implements New-PSSessionOption cmdlet. /// Spec: TBD /// [Cmdlet(VerbsCommon.New, "PSSessionOption", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=144305", RemotingCapability = RemotingCapability.None)] @@ -284,9 +284,9 @@ namespace Microsoft.PowerShell.Commands /// /// If false, underlying WSMan infrastructure will compress data sent on the network. - /// If true, data will not be compressed. Compression improves performance by + /// If true, data will not be compressed. Compression improves performance by /// reducing the amount of data sent on the network. Compression my require extra - /// memory consumption and CPU usage. In cases where available memory / CPU is less, + /// memory consumption and CPU usage. In cases where available memory / CPU is less, /// set this property to "true". /// By default the value of this property is "false". /// @@ -296,7 +296,7 @@ namespace Microsoft.PowerShell.Commands /// /// If true then Operating System won't load the user profile (i.e. registry keys under HKCU) on the remote server /// which can result in a faster session creation time. This option won't have any effect if the remote machine has - /// already loaded the profile (i.e. in another session). + /// already loaded the profile (i.e. in another session). /// [Parameter] public SwitchParameter NoMachineProfile { get; set; } @@ -364,11 +364,11 @@ namespace Microsoft.PowerShell.Commands public PSPrimitiveDictionary ApplicationArguments { get; set; } /// - /// The duration for which PowerShell remoting waits (in milliseconds) before timing - /// out on a connection to a remote machine. Simply put, the timeout for a remote - /// runspace creation. - /// - /// The user would like to tweak this timeout depending on whether + /// The duration for which PowerShell remoting waits (in milliseconds) before timing + /// out on a connection to a remote machine. Simply put, the timeout for a remote + /// runspace creation. + /// + /// The user would like to tweak this timeout depending on whether /// he/she is connecting to a machine in the data center or across a slow WAN. /// [Parameter] @@ -386,11 +386,11 @@ namespace Microsoft.PowerShell.Commands private int? _openTimeout; /// - /// The duration for which PowerShell should wait (in milliseconds) before it + /// The duration for which PowerShell should wait (in milliseconds) before it /// times out on cancel operations (close runspace or stop powershell). For /// instance, when the user hits ctrl-C, New-PSSession cmdlet tries to call a - /// stop on all remote runspaces which are in the Opening state. The user - /// wouldn’t mind waiting for 15 seconds, but this should be time bound and of a + /// stop on all remote runspaces which are in the Opening state. The user + /// wouldn't mind waiting for 15 seconds, but this should be time bound and of a /// shorter duration. A high timeout here like 3 minutes will give the user /// a feeling that the PowerShell client has hung. /// @@ -410,8 +410,8 @@ namespace Microsoft.PowerShell.Commands /// /// The duration for which a Runspace on server needs to wait (in milliseconds) before it - /// declares the client dead and closes itself down. - /// This is especially important as these values may have to be configured differently + /// declares the client dead and closes itself down. + /// This is especially important as these values may have to be configured differently /// for enterprise administration scenarios. /// [Parameter] @@ -433,7 +433,7 @@ namespace Microsoft.PowerShell.Commands #region Parameters copied from New-WSManSessionOption /// - /// By default, ProxyAccessType is None, that means Proxy information (ProxyAccessType, + /// By default, ProxyAccessType is None, that means Proxy information (ProxyAccessType, /// ProxyAuthenticationMechanism and ProxyCredential)is not passed to WSMan at all. /// [Parameter] @@ -442,9 +442,9 @@ namespace Microsoft.PowerShell.Commands /// /// The following is the definition of the input parameter "ProxyAuthentication". - /// This parameter takes a set of authentication methods the user can select + /// This parameter takes a set of authentication methods the user can select /// from. The available options should be as follows: - /// - Negotiate: Use the default authentication (as defined by the underlying + /// - Negotiate: Use the default authentication (as defined by the underlying /// protocol) for establishing a remote connection. /// - Basic: Use basic authentication for establishing a remote connection /// - Digest: Use Digest authentication for establishing a remote connection @@ -462,10 +462,10 @@ namespace Microsoft.PowerShell.Commands /// /// The following is the definition of the input parameter "SkipCACheck". - /// When connecting over HTTPS, the client does not validate that the server - /// certificate is signed by a trusted certificate authority (CA). Use only when - /// the remote computer is trusted by other means, for example, if the remote - /// computer is part of a network that is physically secure and isolated or the + /// When connecting over HTTPS, the client does not validate that the server + /// certificate is signed by a trusted certificate authority (CA). Use only when + /// the remote computer is trusted by other means, for example, if the remote + /// computer is part of a network that is physically secure and isolated or the /// remote computer is listed as a trusted host in WinRM configuration /// [Parameter] @@ -478,8 +478,8 @@ namespace Microsoft.PowerShell.Commands /// /// The following is the definition of the input parameter "SkipCNCheck". - /// Indicates that certificate common name (CN) of the server need not match the - /// hostname of the server. Used only in remote operations using https. This + /// Indicates that certificate common name (CN) of the server need not match the + /// hostname of the server. Used only in remote operations using https. This /// option should only be used for trusted machines /// [Parameter] @@ -492,8 +492,8 @@ namespace Microsoft.PowerShell.Commands /// /// The following is the definition of the input parameter "SkipRevocation". - /// Indicates that certificate common name (CN) of the server need not match the - /// hostname of the server. Used only in remote operations using https. This + /// Indicates that certificate common name (CN) of the server need not match the + /// hostname of the server. Used only in remote operations using https. This /// option should only be used for trusted machines /// [Parameter] @@ -524,8 +524,8 @@ namespace Microsoft.PowerShell.Commands /// /// The following is the definition of the input parameter "UnEncrypted". - /// Specifies that no encryption will be used when doing remote operations over - /// http. Unencrypted traffic is not allowed by default and must be enabled in + /// Specifies that no encryption will be used when doing remote operations over + /// http. Unencrypted traffic is not allowed by default and must be enabled in /// the local configuration /// [Parameter] @@ -541,7 +541,7 @@ namespace Microsoft.PowerShell.Commands /// /// The following is the definition of the input parameter "UTF16". - /// Indicates the request is encoded in UTF16 format rather than UTF8 format; + /// Indicates the request is encoded in UTF16 format rather than UTF8 format; /// UTF8 is the default. /// [Parameter] diff --git a/src/System.Management.Automation/engine/remoting/commands/PSRemotingCmdlet.cs b/src/System.Management.Automation/engine/remoting/commands/PSRemotingCmdlet.cs index e56618139c..12b445f9c9 100644 --- a/src/System.Management.Automation/engine/remoting/commands/PSRemotingCmdlet.cs +++ b/src/System.Management.Automation/engine/remoting/commands/PSRemotingCmdlet.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/PopRunspaceCommand.cs b/src/System.Management.Automation/engine/remoting/commands/PopRunspaceCommand.cs index 54c66f6b04..a4540fd23d 100644 --- a/src/System.Management.Automation/engine/remoting/commands/PopRunspaceCommand.cs +++ b/src/System.Management.Automation/engine/remoting/commands/PopRunspaceCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/PushRunspaceCommand.cs b/src/System.Management.Automation/engine/remoting/commands/PushRunspaceCommand.cs index 67064d645f..9733a601c6 100644 --- a/src/System.Management.Automation/engine/remoting/commands/PushRunspaceCommand.cs +++ b/src/System.Management.Automation/engine/remoting/commands/PushRunspaceCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; @@ -1293,7 +1293,7 @@ namespace Microsoft.PowerShell.Commands _tempRunspace.ShouldCloseOnPop = true; var remoteRunspace = _tempRunspace; _tempRunspace = null; - + return remoteRunspace; } diff --git a/src/System.Management.Automation/engine/remoting/commands/ReceiveJob.cs b/src/System.Management.Automation/engine/remoting/commands/ReceiveJob.cs index 385e493fab..3d256fe253 100644 --- a/src/System.Management.Automation/engine/remoting/commands/ReceiveJob.cs +++ b/src/System.Management.Automation/engine/remoting/commands/ReceiveJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/ReceivePSSession.cs b/src/System.Management.Automation/engine/remoting/commands/ReceivePSSession.cs index 30502cfd4c..1f814cd9ed 100644 --- a/src/System.Management.Automation/engine/remoting/commands/ReceivePSSession.cs +++ b/src/System.Management.Automation/engine/remoting/commands/ReceivePSSession.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/RemoveJob.cs b/src/System.Management.Automation/engine/remoting/commands/RemoveJob.cs index 466e37d2fe..a26c947ab3 100644 --- a/src/System.Management.Automation/engine/remoting/commands/RemoveJob.cs +++ b/src/System.Management.Automation/engine/remoting/commands/RemoveJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/ResumeJob.cs b/src/System.Management.Automation/engine/remoting/commands/ResumeJob.cs index 1f45100ac6..06c3c85cf8 100644 --- a/src/System.Management.Automation/engine/remoting/commands/ResumeJob.cs +++ b/src/System.Management.Automation/engine/remoting/commands/ResumeJob.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/StartJob.cs b/src/System.Management.Automation/engine/remoting/commands/StartJob.cs index 1931a8d61a..fd468499df 100644 --- a/src/System.Management.Automation/engine/remoting/commands/StartJob.cs +++ b/src/System.Management.Automation/engine/remoting/commands/StartJob.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/StopJob.cs b/src/System.Management.Automation/engine/remoting/commands/StopJob.cs index 76219bdcbd..829d69b110 100644 --- a/src/System.Management.Automation/engine/remoting/commands/StopJob.cs +++ b/src/System.Management.Automation/engine/remoting/commands/StopJob.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/SuspendJob.cs b/src/System.Management.Automation/engine/remoting/commands/SuspendJob.cs index 282acfb6e2..e80f7d1b33 100644 --- a/src/System.Management.Automation/engine/remoting/commands/SuspendJob.cs +++ b/src/System.Management.Automation/engine/remoting/commands/SuspendJob.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/TestPSSessionConfigurationFile.cs b/src/System.Management.Automation/engine/remoting/commands/TestPSSessionConfigurationFile.cs index a33978d613..f575206786 100644 --- a/src/System.Management.Automation/engine/remoting/commands/TestPSSessionConfigurationFile.cs +++ b/src/System.Management.Automation/engine/remoting/commands/TestPSSessionConfigurationFile.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/WaitJob.cs b/src/System.Management.Automation/engine/remoting/commands/WaitJob.cs index b08528e117..9d6ff32aab 100644 --- a/src/System.Management.Automation/engine/remoting/commands/WaitJob.cs +++ b/src/System.Management.Automation/engine/remoting/commands/WaitJob.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/getrunspacecommand.cs b/src/System.Management.Automation/engine/remoting/commands/getrunspacecommand.cs index 7351dcbc1e..2c5a4672b6 100644 --- a/src/System.Management.Automation/engine/remoting/commands/getrunspacecommand.cs +++ b/src/System.Management.Automation/engine/remoting/commands/getrunspacecommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/newrunspacecommand.cs b/src/System.Management.Automation/engine/remoting/commands/newrunspacecommand.cs index 2fb8b96c0f..db99e761b1 100644 --- a/src/System.Management.Automation/engine/remoting/commands/newrunspacecommand.cs +++ b/src/System.Management.Automation/engine/remoting/commands/newrunspacecommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/remotingcommandutil.cs b/src/System.Management.Automation/engine/remoting/commands/remotingcommandutil.cs index 65165ebd98..eff6d69aed 100644 --- a/src/System.Management.Automation/engine/remoting/commands/remotingcommandutil.cs +++ b/src/System.Management.Automation/engine/remoting/commands/remotingcommandutil.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/removerunspacecommand.cs b/src/System.Management.Automation/engine/remoting/commands/removerunspacecommand.cs index 91aac9d251..5ee1ea9222 100644 --- a/src/System.Management.Automation/engine/remoting/commands/removerunspacecommand.cs +++ b/src/System.Management.Automation/engine/remoting/commands/removerunspacecommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/engine/remoting/commands/runspacerepository.cs b/src/System.Management.Automation/engine/remoting/commands/runspacerepository.cs index ba96a69509..8bd4b8fe0d 100644 --- a/src/System.Management.Automation/engine/remoting/commands/runspacerepository.cs +++ b/src/System.Management.Automation/engine/remoting/commands/runspacerepository.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/remoting/common/AsyncObject.cs b/src/System.Management.Automation/engine/remoting/common/AsyncObject.cs index 420996e4f2..996a179383 100644 --- a/src/System.Management.Automation/engine/remoting/common/AsyncObject.cs +++ b/src/System.Management.Automation/engine/remoting/common/AsyncObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Threading; diff --git a/src/System.Management.Automation/engine/remoting/common/DispatchTable.cs b/src/System.Management.Automation/engine/remoting/common/DispatchTable.cs index 3dffac5965..d6abab8e3e 100644 --- a/src/System.Management.Automation/engine/remoting/common/DispatchTable.cs +++ b/src/System.Management.Automation/engine/remoting/common/DispatchTable.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/remoting/common/Indexer.cs b/src/System.Management.Automation/engine/remoting/common/Indexer.cs index 764058fc1a..5387386967 100644 --- a/src/System.Management.Automation/engine/remoting/common/Indexer.cs +++ b/src/System.Management.Automation/engine/remoting/common/Indexer.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/remoting/common/ObjectRef.cs b/src/System.Management.Automation/engine/remoting/common/ObjectRef.cs index 7479590619..2ab0002525 100644 --- a/src/System.Management.Automation/engine/remoting/common/ObjectRef.cs +++ b/src/System.Management.Automation/engine/remoting/common/ObjectRef.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Dbg = System.Management.Automation.Diagnostics; diff --git a/src/System.Management.Automation/engine/remoting/common/PSETWTracer.cs b/src/System.Management.Automation/engine/remoting/common/PSETWTracer.cs index 81bd364f60..54ae63b4fb 100644 --- a/src/System.Management.Automation/engine/remoting/common/PSETWTracer.cs +++ b/src/System.Management.Automation/engine/remoting/common/PSETWTracer.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Dbg = System.Management.Automation.Diagnostics; diff --git a/src/System.Management.Automation/engine/remoting/common/PSSessionConfigurationTypeOption.cs b/src/System.Management.Automation/engine/remoting/common/PSSessionConfigurationTypeOption.cs index 179748f4c3..1c1728d5e5 100644 --- a/src/System.Management.Automation/engine/remoting/common/PSSessionConfigurationTypeOption.cs +++ b/src/System.Management.Automation/engine/remoting/common/PSSessionConfigurationTypeOption.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Collections; diff --git a/src/System.Management.Automation/engine/remoting/common/RemoteSessionHyperVSocket.cs b/src/System.Management.Automation/engine/remoting/common/RemoteSessionHyperVSocket.cs index 0cc4b790aa..1f6e49e34a 100644 --- a/src/System.Management.Automation/engine/remoting/common/RemoteSessionHyperVSocket.cs +++ b/src/System.Management.Automation/engine/remoting/common/RemoteSessionHyperVSocket.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Tracing; diff --git a/src/System.Management.Automation/engine/remoting/common/RemoteSessionNamedPipe.cs b/src/System.Management.Automation/engine/remoting/common/RemoteSessionNamedPipe.cs index ad967129d7..a2452581a7 100644 --- a/src/System.Management.Automation/engine/remoting/common/RemoteSessionNamedPipe.cs +++ b/src/System.Management.Automation/engine/remoting/common/RemoteSessionNamedPipe.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Tracing; diff --git a/src/System.Management.Automation/engine/remoting/common/RunspaceConnectionInfo.cs b/src/System.Management.Automation/engine/remoting/common/RunspaceConnectionInfo.cs index ecb94832b0..7684f7b0af 100644 --- a/src/System.Management.Automation/engine/remoting/common/RunspaceConnectionInfo.cs +++ b/src/System.Management.Automation/engine/remoting/common/RunspaceConnectionInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Net; @@ -37,7 +37,7 @@ namespace System.Management.Automation.Runspaces public enum AuthenticationMechanism { /// - /// Use the default authentication (as defined by the underlying protocol) + /// Use the default authentication (as defined by the underlying protocol) /// for establishing a remote connection. /// Default = 0x0, @@ -60,11 +60,11 @@ namespace System.Management.Automation.Runspaces [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Credssp")] Credssp = 0x4, /// - /// Use Digest authentication mechanism. Digest authentication operates much - /// like Basic authentication. However, unlike Basic authentication, Digest authentication + /// Use Digest authentication mechanism. Digest authentication operates much + /// like Basic authentication. However, unlike Basic authentication, Digest authentication /// transmits credentials across the network as a hash value, also known as a message digest. - /// The user name and password cannot be deciphered from the hash value. Conversely, Basic - /// authentication sends a Base 64 encoded password, essentially in clear text, across the + /// The user name and password cannot be deciphered from the hash value. Conversely, Basic + /// authentication sends a Base 64 encoded password, essentially in clear text, across the /// network. /// Digest = 0x5, @@ -116,14 +116,14 @@ namespace System.Management.Automation.Runspaces /// /// WSManTransportManager supports disconnected PowerShell sessions. - /// When a remote PS session server is in disconnected state, output - /// from the running command pipeline is cached on the server. This + /// When a remote PS session server is in disconnected state, output + /// from the running command pipeline is cached on the server. This /// enum determines what the server does when the cache is full. /// public enum OutputBufferingMode { /// - /// No output buffering mode specified. Output buffering mode on server will + /// No output buffering mode specified. Output buffering mode on server will /// default to Block if a new session is created, or will retain its current /// mode for non-creation scenarios (e.g., disconnect/connect operations). /// @@ -141,7 +141,7 @@ namespace System.Management.Automation.Runspaces } /// - /// Class which defines connection path to a remote runspace + /// Class which defines connection path to a remote runspace /// that needs to be created. Transport specific connection /// paths will be derived from this /// @@ -214,9 +214,9 @@ namespace System.Management.Automation.Runspaces private CultureInfo _uiCulture = CultureInfo.CurrentUICulture; /// - /// The duration (in ms) for which PowerShell remoting waits before timing out on a connection to a remote machine. - /// Simply put, the timeout for a remote runspace creation. - /// The administrator would like to tweak this timeout depending on whether + /// The duration (in ms) for which PowerShell remoting waits before timing out on a connection to a remote machine. + /// Simply put, the timeout for a remote runspace creation. + /// The administrator would like to tweak this timeout depending on whether /// he/she is connecting to a machine in the data center or across a slow WAN. /// public int OpenTimeout @@ -232,9 +232,9 @@ namespace System.Management.Automation.Runspaces } else if (this is WSManConnectionInfo && _openTimeout == InfiniteTimeout) { - // this timeout value gets passed to a - // timer associated with the session - // data structure handler state machine. + // this timeout value gets passed to a + // timer associated with the session + // data structure handler state machine. // The timer constructor will throw an exception // for any value greater than Int32.MaxValue // hence this is the maximum possible limit @@ -249,10 +249,10 @@ namespace System.Management.Automation.Runspaces /// - /// The duration (in ms) for which PowerShell should wait before it times out on cancel operations - /// (close runspace or stop powershell). For instance, when the user hits ctrl-C, - /// New-PSSession cmdlet tries to call a stop on all remote runspaces which are in the Opening state. - /// The administrator wouldn't mind waiting for 15 seconds, but this should be time bound and of a shorter duration. + /// The duration (in ms) for which PowerShell should wait before it times out on cancel operations + /// (close runspace or stop powershell). For instance, when the user hits ctrl-C, + /// New-PSSession cmdlet tries to call a stop on all remote runspaces which are in the Opening state. + /// The administrator wouldn't mind waiting for 15 seconds, but this should be time bound and of a shorter duration. /// A high timeout here like 3 minutes will give the administrator a feeling that the PowerShell client has hung. /// public int CancelTimeout { get; set; } = defaultCancelTimeout; @@ -260,18 +260,18 @@ namespace System.Management.Automation.Runspaces internal const int defaultCancelTimeout = BaseTransportManager.ClientCloseTimeoutMs; /// - /// The duration for which PowerShell remoting waits before timing out - /// for any operation. The user would like to tweak this timeout + /// The duration for which PowerShell remoting waits before timing out + /// for any operation. The user would like to tweak this timeout /// depending on whether he/she is connecting to a machine in the data /// center or across a slow WAN. - /// + /// /// Default: 3*60*1000 == 3minutes /// public int OperationTimeout { get; set; } = BaseTransportManager.ClientDefaultOperationTimeoutMs; /// - /// The duration (in ms) for which a Runspace on server needs to wait before it declares the client dead and closes itself down. - /// This is especially important as these values may have to be configured differently for enterprise administration + /// The duration (in ms) for which a Runspace on server needs to wait before it declares the client dead and closes itself down. + /// This is especially important as these values may have to be configured differently for enterprise administration /// and exchange scenarios. /// public int IdleTimeout { get; set; } = DefaultIdleTimeout; @@ -309,8 +309,8 @@ namespace System.Management.Automation.Runspaces CancelTimeout = TimeSpanToTimeOutMs(options.CancelTimeout); OperationTimeout = TimeSpanToTimeOutMs(options.OperationTimeout); - // Special case for idle timeout. A value of milliseconds == -1 - // (BaseTransportManager.UseServerDefaultIdleTimeout) is allowed for + // Special case for idle timeout. A value of milliseconds == -1 + // (BaseTransportManager.UseServerDefaultIdleTimeout) is allowed for // specifying the default value on the server. IdleTimeout = (options.IdleTimeout.TotalMilliseconds >= BaseTransportManager.UseServerDefaultIdleTimeout && options.IdleTimeout.TotalMilliseconds < int.MaxValue) @@ -464,7 +464,7 @@ namespace System.Management.Automation.Runspaces } /// - /// AppName which identifies the connection + /// AppName which identifies the connection /// end point in the machine /// public String AppName @@ -497,8 +497,8 @@ namespace System.Management.Automation.Runspaces } /// - /// - /// + /// + /// [SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings", Scope = "member", Target = "System.Management.Automation.Runspaces.WSManConnectionInfo.#ShellUri")] public string ShellUri { @@ -632,9 +632,9 @@ namespace System.Management.Automation.Runspaces /// /// If true, underlying WSMan infrastructure will compress data sent on the network. - /// If false, data will not be compressed. Compression improves performance by + /// If false, data will not be compressed. Compression improves performance by /// reducing the amount of data sent on the network. Compression my require extra - /// memory consumption and CPU usage. In cases where available memory / CPU is less, + /// memory consumption and CPU usage. In cases where available memory / CPU is less, /// set this property to false. /// By default the value of this property is "true". /// @@ -643,31 +643,31 @@ namespace System.Management.Automation.Runspaces /// /// If true then Operating System won't load the user profile (i.e. registry keys under HKCU) on the remote server /// which can result in a faster session creation time. This option won't have any effect if the remote machine has - /// already loaded the profile (i.e. in another session). + /// already loaded the profile (i.e. in another session). /// public bool NoMachineProfile { get; set; } // BEGIN: Session Options /// - /// By default, wsman uses IEConfig - the current user - /// Internet Explorer proxy settings for the current active network connection. - /// This option requires the user profile to be loaded, so the option can - /// be directly used when called within a process that is running under - /// an interactive user account identity; if the client application is running - /// under a user context different then the interactive user, the client + /// By default, wsman uses IEConfig - the current user + /// Internet Explorer proxy settings for the current active network connection. + /// This option requires the user profile to be loaded, so the option can + /// be directly used when called within a process that is running under + /// an interactive user account identity; if the client application is running + /// under a user context different then the interactive user, the client /// application has to explicitly load the user profile prior to using this option. - /// - /// IMPORTANT: proxy configuration is supported for HTTPS only; for HTTP, the direct - /// connection to the server is used + /// + /// IMPORTANT: proxy configuration is supported for HTTPS only; for HTTP, the direct + /// connection to the server is used /// public ProxyAccessType ProxyAccessType { get; set; } = ProxyAccessType.None; /// /// The following is the definition of the input parameter "ProxyAuthentication". - /// This parameter takes a set of authentication methods the user can select + /// This parameter takes a set of authentication methods the user can select /// from. The available options should be as follows: - /// - Negotiate: Use the default authentication (ad defined by the underlying + /// - Negotiate: Use the default authentication (ad defined by the underlying /// protocol) for establishing a remote connection. /// - Basic: Use basic authentication for establishing a remote connection /// - Digest: Use Digest authentication for establishing a remote connection @@ -716,37 +716,37 @@ namespace System.Management.Automation.Runspaces /// - /// When connecting over HTTPS, the client does not validate that the server - /// certificate is signed by a trusted certificate authority (CA). Use only when - /// the remote computer is trusted by other means, for example, if the remote - /// computer is part of a network that is physically secure and isolated or the + /// When connecting over HTTPS, the client does not validate that the server + /// certificate is signed by a trusted certificate authority (CA). Use only when + /// the remote computer is trusted by other means, for example, if the remote + /// computer is part of a network that is physically secure and isolated or the /// remote computer is listed as a trusted host in WinRM configuration /// public bool SkipCACheck { get; set; } /// - /// Indicates that certificate common name (CN) of the server need not match the - /// hostname of the server. Used only in remote operations using https. This + /// Indicates that certificate common name (CN) of the server need not match the + /// hostname of the server. Used only in remote operations using https. This /// option should only be used for trusted machines. /// public bool SkipCNCheck { get; set; } /// - /// Indicates that certificate common name (CN) of the server need not match the - /// hostname of the server. Used only in remote operations using https. This + /// Indicates that certificate common name (CN) of the server need not match the + /// hostname of the server. Used only in remote operations using https. This /// option should only be used for trusted machines /// public bool SkipRevocationCheck { get; set; } /// - /// Specifies that no encryption will be used when doing remote operations over - /// http. Unencrypted traffic is not allowed by default and must be enabled in + /// Specifies that no encryption will be used when doing remote operations over + /// http. Unencrypted traffic is not allowed by default and must be enabled in /// the local configuration /// public bool NoEncryption { get; set; } /// - /// Indicates the request is encoded in UTF16 format rather than UTF8 format; + /// Indicates the request is encoded in UTF16 format rather than UTF8 format; /// UTF8 is the default. /// [SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "UTF")] @@ -768,8 +768,8 @@ namespace System.Management.Automation.Runspaces /// /// When true and in loopback scenario (localhost) this enables creation of WSMan - /// host process with the user interactive token, allowing PowerShell script network access, - /// i.e., allows going off box. When this property is true and a PSSession is disconnected, + /// host process with the user interactive token, allowing PowerShell script network access, + /// i.e., allows going off box. When this property is true and a PSSession is disconnected, /// reconnection is allowed only if reconnecting from a PowerShell session on the same box. /// public bool EnableNetworkAccess { get; set; } @@ -791,9 +791,9 @@ namespace System.Management.Automation.Runspaces /// scheme to be used for connection /// port to connect to /// application end point to connect to - /// remote shell to launch + /// remote shell to launch /// on connection - /// credential to be used + /// credential to be used /// for connection /// Timeout in milliseconds for open /// call on Runspace to finish @@ -820,9 +820,9 @@ namespace System.Management.Automation.Runspaces /// Scheme to be used for connection. /// port to connect to /// application end point to connect to - /// remote shell to launch + /// remote shell to launch /// on connection - /// credential to be used + /// credential to be used /// for connection /// Invalid /// scheme or invalid port is specified @@ -853,7 +853,7 @@ namespace System.Management.Automation.Runspaces } /// - /// + /// /// /// /// @@ -876,7 +876,7 @@ namespace System.Management.Automation.Runspaces /// and with the default credentials, default server /// life time and default open timeout /// http://localhost/ - /// The default shellname Microsoft.PowerShell will be + /// The default shellname Microsoft.PowerShell will be /// used /// public WSManConnectionInfo() @@ -892,7 +892,7 @@ namespace System.Management.Automation.Runspaces /// /// uri of remote runspace /// - /// credentials to use to + /// credentials to use to /// connect to the remote runspace /// When an /// uri representing an invalid path is specified @@ -915,7 +915,7 @@ namespace System.Management.Automation.Runspaces (RemotingErrorIdStrings.RelativeUriForRunspacePathNotSupported)); } - // This check is needed to make sure we connect to WSMan app in the + // This check is needed to make sure we connect to WSMan app in the // default case (when user did not specify any appname) like // http://localhost , http://127.0.0.1 etc. if (uri.AbsolutePath.Equals("/", StringComparison.OrdinalIgnoreCase) && @@ -951,7 +951,7 @@ namespace System.Management.Automation.Runspaces } /// - /// constructor to create a WSManConnectionInfo with a + /// constructor to create a WSManConnectionInfo with a /// uri specified and the default credentials, /// default server life time and default open /// timeout @@ -973,7 +973,7 @@ namespace System.Management.Automation.Runspaces /// /// /// - /// 1. Proxy credential cannot be specified when proxy accesstype is None. + /// 1. Proxy credential cannot be specified when proxy accesstype is None. /// Either specify a valid proxy accesstype other than None or do not specify proxy credential. /// public override void SetSessionOptions(PSSessionOption options) @@ -1207,7 +1207,7 @@ namespace System.Management.Automation.Runspaces // resolve to default ports if required if (port.Value == DefaultPort) { - // this is needed so that the OriginalString on + // this is needed so that the OriginalString on // connection uri is fine PortSetting = -1; UseDefaultWSManPort = true; @@ -1271,7 +1271,7 @@ namespace System.Management.Automation.Runspaces /// User has the following options: /// 1. AuthMechanism + Credential /// 2. CertificateThumbPrint - /// + /// /// All the above are mutually exclusive. /// /// @@ -1301,7 +1301,7 @@ namespace System.Management.Automation.Runspaces UseDefaultWSManPort = false; } - // This check is needed to make sure we connect to WSMan app in the + // This check is needed to make sure we connect to WSMan app in the // default case (when user did not specify any appname) like // http://localhost , http://127.0.0.1 etc. string appname; @@ -1345,8 +1345,8 @@ namespace System.Management.Automation.Runspaces #region constants /// - /// Default disconnected server output mode is set to None. This mode allows the - /// server to set the buffering mode to Block for new sessions and retain its + /// Default disconnected server output mode is set to None. This mode allows the + /// server to set the buffering mode to Block for new sessions and retain its /// current mode during disconnect/connect operations. /// internal const OutputBufferingMode DefaultOutputBufferingMode = OutputBufferingMode.None; @@ -1372,7 +1372,7 @@ namespace System.Management.Automation.Runspaces private const string DefaultScheme = HttpScheme; private const string DefaultSslScheme = HttpsScheme; /// - /// Default appname. This is empty as WSMan configuration has support + /// Default appname. This is empty as WSMan configuration has support /// for this. Look at /// get-item WSMan:\localhost\Client\URLPrefix /// @@ -1381,7 +1381,7 @@ namespace System.Management.Automation.Runspaces /// /// Default scheme. /// As part of port DCR, WSMan changed the default ports - /// from 80,443 to 5985,5986 respectively no-SSL,SSL + /// from 80,443 to 5985,5986 respectively no-SSL,SSL /// connections. Since the standards say http,https use /// 80,443 as defaults..we came up with new mechanism /// to specify scheme as empty. For SSL, WSMan introduced @@ -1695,7 +1695,7 @@ namespace System.Management.Automation.Runspaces } /// - /// Optional application domain name. If not specified then the + /// Optional application domain name. If not specified then the /// default application domain is used. /// public string AppDomainName @@ -2223,7 +2223,7 @@ namespace System.Management.Automation.Runspaces for (int i=0; i /// Create a process through native Win32 APIs and return StdIn, StdOut, StdError reader/writers - /// This needs to be done via Win32 APIs because managed code creates anonymous synchronous pipes + /// This needs to be done via Win32 APIs because managed code creates anonymous synchronous pipes /// for redirected StdIn/Out and SSH (and PSRP) require asynchronous (overlapped) pipes, which must /// be through named pipes. Managed code for named pipes is unreliable and so this is done via /// P-Invoking native APIs. @@ -2363,7 +2363,7 @@ namespace System.Management.Automation.Runspaces // // These std pipe handles are bound to managed Reader/Writer objects and returned to the transport // manager object, which uses them for PSRP communication. The lifetime of these handles are then - // tied to the reader/writer objects which the transport is responsible for disposing (see + // tied to the reader/writer objects which the transport is responsible for disposing (see // SSHClientSessionTransportManger and the CloseConnection() method. // SafePipeHandle stdInPipeServer = null; @@ -2387,7 +2387,7 @@ namespace System.Management.Automation.Runspaces (sshProcess.HasExited == true)) { throw new InvalidOperationException( - StringUtil.Format(RemotingErrorIdStrings.CannotStartSSHClient, (ex != null) ? ex.Message : string.Empty), + StringUtil.Format(RemotingErrorIdStrings.CannotStartSSHClient, (ex != null) ? ex.Message : string.Empty), ex); } @@ -3197,7 +3197,7 @@ namespace System.Management.Automation.Runspaces { // // The ComputeSystemExists call depends on the existence of microsoft.hostcompute.interop.dll, - // which requires Containers feature to be enabled. In case Containers feature is + // which requires Containers feature to be enabled. In case Containers feature is // not enabled, we need to output a corresponding error message to inform user. // ProcessId = 0; @@ -3308,7 +3308,7 @@ namespace System.Management.Automation.Runspaces // and do the work. // // For OneCore PowerShell, its ApartmentState is always MTA. - // + // #if CORECLR threadProc(); #else diff --git a/src/System.Management.Automation/engine/remoting/common/RunspaceInitInfo.cs b/src/System.Management.Automation/engine/remoting/common/RunspaceInitInfo.cs index 05b9013508..8773def9aa 100644 --- a/src/System.Management.Automation/engine/remoting/common/RunspaceInitInfo.cs +++ b/src/System.Management.Automation/engine/remoting/common/RunspaceInitInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Dbg = System.Management.Automation.Diagnostics; diff --git a/src/System.Management.Automation/engine/remoting/common/RunspacePoolStateInfo.cs b/src/System.Management.Automation/engine/remoting/common/RunspacePoolStateInfo.cs index 7498483dae..e5ea2c5c3e 100644 --- a/src/System.Management.Automation/engine/remoting/common/RunspacePoolStateInfo.cs +++ b/src/System.Management.Automation/engine/remoting/common/RunspacePoolStateInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Runspaces; diff --git a/src/System.Management.Automation/engine/remoting/common/WireDataFormat/EncodeAndDecode.cs b/src/System.Management.Automation/engine/remoting/common/WireDataFormat/EncodeAndDecode.cs index 5411dc2dba..3fddda979b 100644 --- a/src/System.Management.Automation/engine/remoting/common/WireDataFormat/EncodeAndDecode.cs +++ b/src/System.Management.Automation/engine/remoting/common/WireDataFormat/EncodeAndDecode.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Management.Automation.Tracing; diff --git a/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemoteHost.cs b/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemoteHost.cs index 4645d4394f..3ccc625612 100644 --- a/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemoteHost.cs +++ b/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemoteHost.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemoteHostEncoder.cs b/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemoteHostEncoder.cs index 93b4faa3f6..fd9ccc8503 100644 --- a/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemoteHostEncoder.cs +++ b/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemoteHostEncoder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemoteSessionCapability.cs b/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemoteSessionCapability.cs index 1834be7b58..cec2926cfe 100644 --- a/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemoteSessionCapability.cs +++ b/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemoteSessionCapability.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemotingDataObject.cs b/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemotingDataObject.cs index 32a64f59e3..48e13f2b1d 100644 --- a/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemotingDataObject.cs +++ b/src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemotingDataObject.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/engine/remoting/common/fragmentor.cs b/src/System.Management.Automation/engine/remoting/common/fragmentor.cs index af4f97f42a..8208b3a8af 100644 --- a/src/System.Management.Automation/engine/remoting/common/fragmentor.cs +++ b/src/System.Management.Automation/engine/remoting/common/fragmentor.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/remoting/common/misc.cs b/src/System.Management.Automation/engine/remoting/common/misc.cs index 31db0f313a..863b00c716 100644 --- a/src/System.Management.Automation/engine/remoting/common/misc.cs +++ b/src/System.Management.Automation/engine/remoting/common/misc.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Management.Automation.Remoting; diff --git a/src/System.Management.Automation/engine/remoting/common/psstreamobject.cs b/src/System.Management.Automation/engine/remoting/common/psstreamobject.cs index 1d78e32dc9..b686d7d979 100644 --- a/src/System.Management.Automation/engine/remoting/common/psstreamobject.cs +++ b/src/System.Management.Automation/engine/remoting/common/psstreamobject.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Runspaces; diff --git a/src/System.Management.Automation/engine/remoting/common/remotesession.cs b/src/System.Management.Automation/engine/remoting/common/remotesession.cs index d0c4add15d..43a26a440e 100644 --- a/src/System.Management.Automation/engine/remoting/common/remotesession.cs +++ b/src/System.Management.Automation/engine/remoting/common/remotesession.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Management.Automation.Remoting; diff --git a/src/System.Management.Automation/engine/remoting/common/remotingexceptions.cs b/src/System.Management.Automation/engine/remoting/common/remotingexceptions.cs index 5e0f2c0977..4a307b767b 100644 --- a/src/System.Management.Automation/engine/remoting/common/remotingexceptions.cs +++ b/src/System.Management.Automation/engine/remoting/common/remotingexceptions.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/engine/remoting/common/throttlemanager.cs b/src/System.Management.Automation/engine/remoting/common/throttlemanager.cs index 808916d9d1..f987027c1d 100644 --- a/src/System.Management.Automation/engine/remoting/common/throttlemanager.cs +++ b/src/System.Management.Automation/engine/remoting/common/throttlemanager.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/remoting/fanin/BaseTransportManager.cs b/src/System.Management.Automation/engine/remoting/fanin/BaseTransportManager.cs index 1dc5deaa99..25b9bb0b45 100644 --- a/src/System.Management.Automation/engine/remoting/fanin/BaseTransportManager.cs +++ b/src/System.Management.Automation/engine/remoting/fanin/BaseTransportManager.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ /* * Common file that contains interface definitions for generic server and client diff --git a/src/System.Management.Automation/engine/remoting/fanin/InitialSessionStateProvider.cs b/src/System.Management.Automation/engine/remoting/fanin/InitialSessionStateProvider.cs index fc82d5c4f4..1d450d7c9d 100644 --- a/src/System.Management.Automation/engine/remoting/fanin/InitialSessionStateProvider.cs +++ b/src/System.Management.Automation/engine/remoting/fanin/InitialSessionStateProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/remoting/fanin/OutOfProcTransportManager.cs b/src/System.Management.Automation/engine/remoting/fanin/OutOfProcTransportManager.cs index b15c38edf3..125a618bf1 100644 --- a/src/System.Management.Automation/engine/remoting/fanin/OutOfProcTransportManager.cs +++ b/src/System.Management.Automation/engine/remoting/fanin/OutOfProcTransportManager.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ /* @@ -1555,7 +1555,7 @@ namespace System.Management.Automation.Remoting.Client "Transport manager error thread ended with error: {0}", errorMsg); PSRemotingTransportException psrte = new PSRemotingTransportException( - StringUtil.Format(RemotingErrorIdStrings.SSHClientEndWithErrorMessage, errorMsg), + StringUtil.Format(RemotingErrorIdStrings.SSHClientEndWithErrorMessage, errorMsg), e); HandleSSHError(psrte); } @@ -1642,7 +1642,7 @@ namespace System.Management.Automation.Remoting.Client if (data == null) { // End of stream indicates that the SSH transport is broken. - // SSH will return the appropriate error in StdErr stream so + // SSH will return the appropriate error in StdErr stream so // let the error reader thread report the error. break; } diff --git a/src/System.Management.Automation/engine/remoting/fanin/PSPrincipal.cs b/src/System.Management.Automation/engine/remoting/fanin/PSPrincipal.cs index 1b374cf061..dc8acb41f5 100644 --- a/src/System.Management.Automation/engine/remoting/fanin/PSPrincipal.cs +++ b/src/System.Management.Automation/engine/remoting/fanin/PSPrincipal.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ /* diff --git a/src/System.Management.Automation/engine/remoting/fanin/PSSessionConfigurationData.cs b/src/System.Management.Automation/engine/remoting/fanin/PSSessionConfigurationData.cs index fd480daf58..44dfdac254 100644 --- a/src/System.Management.Automation/engine/remoting/fanin/PSSessionConfigurationData.cs +++ b/src/System.Management.Automation/engine/remoting/fanin/PSSessionConfigurationData.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/engine/remoting/fanin/PriorityCollection.cs b/src/System.Management.Automation/engine/remoting/fanin/PriorityCollection.cs index ada1b93f47..4e2ed03a9a 100644 --- a/src/System.Management.Automation/engine/remoting/fanin/PriorityCollection.cs +++ b/src/System.Management.Automation/engine/remoting/fanin/PriorityCollection.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/engine/remoting/fanin/WSManNativeAPI.cs b/src/System.Management.Automation/engine/remoting/fanin/WSManNativeAPI.cs index 8238277877..2fcd0a2f88 100644 --- a/src/System.Management.Automation/engine/remoting/fanin/WSManNativeAPI.cs +++ b/src/System.Management.Automation/engine/remoting/fanin/WSManNativeAPI.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Text; diff --git a/src/System.Management.Automation/engine/remoting/fanin/WSManPlugin.cs b/src/System.Management.Automation/engine/remoting/fanin/WSManPlugin.cs index ab5aa753be..1abef92b3b 100644 --- a/src/System.Management.Automation/engine/remoting/fanin/WSManPlugin.cs +++ b/src/System.Management.Automation/engine/remoting/fanin/WSManPlugin.cs @@ -1,7 +1,7 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2007. +// Copyright (c) Microsoft Corporation. All rights reserved. // // Contents: Entry points for managed PowerShell plugin worker used to // host powershell in a WSMan service. diff --git a/src/System.Management.Automation/engine/remoting/fanin/WSManPluginFacade.cs b/src/System.Management.Automation/engine/remoting/fanin/WSManPluginFacade.cs index 1aa7bbb753..226438e217 100644 --- a/src/System.Management.Automation/engine/remoting/fanin/WSManPluginFacade.cs +++ b/src/System.Management.Automation/engine/remoting/fanin/WSManPluginFacade.cs @@ -1,7 +1,7 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2007. +// Copyright (c) Microsoft Corporation. All rights reserved. // // Contents: Entry points for managed PowerShell plugin worker used to // host powershell in a WSMan service. diff --git a/src/System.Management.Automation/engine/remoting/fanin/WSManPluginShellSession.cs b/src/System.Management.Automation/engine/remoting/fanin/WSManPluginShellSession.cs index 9f88316c8a..d8d98c2d8e 100644 --- a/src/System.Management.Automation/engine/remoting/fanin/WSManPluginShellSession.cs +++ b/src/System.Management.Automation/engine/remoting/fanin/WSManPluginShellSession.cs @@ -1,7 +1,7 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2007. +// Copyright (c) Microsoft Corporation. All rights reserved. // // Contents: Entry points for managed PowerShell plugin worker used to // host powershell in a WSMan service. diff --git a/src/System.Management.Automation/engine/remoting/fanin/WSManPluginTransportManager.cs b/src/System.Management.Automation/engine/remoting/fanin/WSManPluginTransportManager.cs index 6dc38bf9e8..923c65894f 100644 --- a/src/System.Management.Automation/engine/remoting/fanin/WSManPluginTransportManager.cs +++ b/src/System.Management.Automation/engine/remoting/fanin/WSManPluginTransportManager.cs @@ -1,7 +1,7 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2007. +// Copyright (c) Microsoft Corporation. All rights reserved. // // Contents: Entry points for managed PowerShell plugin worker used to // host powershell in a WSMan service. diff --git a/src/System.Management.Automation/engine/remoting/fanin/WSManTransportManager.cs b/src/System.Management.Automation/engine/remoting/fanin/WSManTransportManager.cs index 7d1d08bc26..b5725fe3cf 100644 --- a/src/System.Management.Automation/engine/remoting/fanin/WSManTransportManager.cs +++ b/src/System.Management.Automation/engine/remoting/fanin/WSManTransportManager.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ /* diff --git a/src/System.Management.Automation/engine/remoting/host/RemoteHostMethodInfo.cs b/src/System.Management.Automation/engine/remoting/host/RemoteHostMethodInfo.cs index 4dc1d0ed5c..85c3beeb9b 100644 --- a/src/System.Management.Automation/engine/remoting/host/RemoteHostMethodInfo.cs +++ b/src/System.Management.Automation/engine/remoting/host/RemoteHostMethodInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/remoting/server/OutOfProcServerMediator.cs b/src/System.Management.Automation/engine/remoting/server/OutOfProcServerMediator.cs index b42186c00e..450718e3ed 100644 --- a/src/System.Management.Automation/engine/remoting/server/OutOfProcServerMediator.cs +++ b/src/System.Management.Automation/engine/remoting/server/OutOfProcServerMediator.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Management.Automation.Tracing; diff --git a/src/System.Management.Automation/engine/remoting/server/ServerMethodExecutor.cs b/src/System.Management.Automation/engine/remoting/server/ServerMethodExecutor.cs index 4500080b30..19e0c78ecd 100644 --- a/src/System.Management.Automation/engine/remoting/server/ServerMethodExecutor.cs +++ b/src/System.Management.Automation/engine/remoting/server/ServerMethodExecutor.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Remoting.Server; diff --git a/src/System.Management.Automation/engine/remoting/server/ServerPowerShellDriver.cs b/src/System.Management.Automation/engine/remoting/server/ServerPowerShellDriver.cs index a21cea9711..4786d4f29b 100644 --- a/src/System.Management.Automation/engine/remoting/server/ServerPowerShellDriver.cs +++ b/src/System.Management.Automation/engine/remoting/server/ServerPowerShellDriver.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Security.Principal; diff --git a/src/System.Management.Automation/engine/remoting/server/ServerRemoteHost.cs b/src/System.Management.Automation/engine/remoting/server/ServerRemoteHost.cs index 37ace9c639..5cfe0c0e53 100644 --- a/src/System.Management.Automation/engine/remoting/server/ServerRemoteHost.cs +++ b/src/System.Management.Automation/engine/remoting/server/ServerRemoteHost.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Host; diff --git a/src/System.Management.Automation/engine/remoting/server/ServerRemoteHostRawUserInterface.cs b/src/System.Management.Automation/engine/remoting/server/ServerRemoteHostRawUserInterface.cs index a6cfc7b111..9f5abf2238 100644 --- a/src/System.Management.Automation/engine/remoting/server/ServerRemoteHostRawUserInterface.cs +++ b/src/System.Management.Automation/engine/remoting/server/ServerRemoteHostRawUserInterface.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Host; diff --git a/src/System.Management.Automation/engine/remoting/server/ServerRemoteHostUserInterface.cs b/src/System.Management.Automation/engine/remoting/server/ServerRemoteHostUserInterface.cs index abfb692cd6..663b76b342 100644 --- a/src/System.Management.Automation/engine/remoting/server/ServerRemoteHostUserInterface.cs +++ b/src/System.Management.Automation/engine/remoting/server/ServerRemoteHostUserInterface.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/remoting/server/ServerRemotingProtocol2.cs b/src/System.Management.Automation/engine/remoting/server/ServerRemotingProtocol2.cs index d69f9ed558..4d2661c53e 100644 --- a/src/System.Management.Automation/engine/remoting/server/ServerRemotingProtocol2.cs +++ b/src/System.Management.Automation/engine/remoting/server/ServerRemotingProtocol2.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/remoting/server/ServerRunspacePoolDriver.cs b/src/System.Management.Automation/engine/remoting/server/ServerRunspacePoolDriver.cs index a262751b79..d5eb20893d 100644 --- a/src/System.Management.Automation/engine/remoting/server/ServerRunspacePoolDriver.cs +++ b/src/System.Management.Automation/engine/remoting/server/ServerRunspacePoolDriver.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/remoting/server/ServerSteppablePipelineDriver.cs b/src/System.Management.Automation/engine/remoting/server/ServerSteppablePipelineDriver.cs index d59bb598dc..1dcf430923 100644 --- a/src/System.Management.Automation/engine/remoting/server/ServerSteppablePipelineDriver.cs +++ b/src/System.Management.Automation/engine/remoting/server/ServerSteppablePipelineDriver.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Threading; diff --git a/src/System.Management.Automation/engine/remoting/server/ServerSteppablePipelineSubscriber.cs b/src/System.Management.Automation/engine/remoting/server/ServerSteppablePipelineSubscriber.cs index 2df0f6d498..7159a203eb 100644 --- a/src/System.Management.Automation/engine/remoting/server/ServerSteppablePipelineSubscriber.cs +++ b/src/System.Management.Automation/engine/remoting/server/ServerSteppablePipelineSubscriber.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using Dbg = System.Management.Automation.Diagnostics; diff --git a/src/System.Management.Automation/engine/remoting/server/WSManChannelEvents.cs b/src/System.Management.Automation/engine/remoting/server/WSManChannelEvents.cs index 85e1620693..d09127c86b 100644 --- a/src/System.Management.Automation/engine/remoting/server/WSManChannelEvents.cs +++ b/src/System.Management.Automation/engine/remoting/server/WSManChannelEvents.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ namespace System.Management.Automation.Remoting.WSMan diff --git a/src/System.Management.Automation/engine/remoting/server/serverremotesession.cs b/src/System.Management.Automation/engine/remoting/server/serverremotesession.cs index d342f4c115..ada9ba95ab 100644 --- a/src/System.Management.Automation/engine/remoting/server/serverremotesession.cs +++ b/src/System.Management.Automation/engine/remoting/server/serverremotesession.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Threading; diff --git a/src/System.Management.Automation/engine/remoting/server/serverremotesessionstatemachine.cs b/src/System.Management.Automation/engine/remoting/server/serverremotesessionstatemachine.cs index 50768e434a..e87557155f 100644 --- a/src/System.Management.Automation/engine/remoting/server/serverremotesessionstatemachine.cs +++ b/src/System.Management.Automation/engine/remoting/server/serverremotesessionstatemachine.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Threading; diff --git a/src/System.Management.Automation/engine/remoting/server/serverremotingprotocol.cs b/src/System.Management.Automation/engine/remoting/server/serverremotingprotocol.cs index 002be8ff46..88010ddb3e 100644 --- a/src/System.Management.Automation/engine/remoting/server/serverremotingprotocol.cs +++ b/src/System.Management.Automation/engine/remoting/server/serverremotingprotocol.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using Dbg = System.Management.Automation.Diagnostics; diff --git a/src/System.Management.Automation/engine/remoting/server/serverremotingprotocolimplementation.cs b/src/System.Management.Automation/engine/remoting/server/serverremotingprotocolimplementation.cs index da8b38ba95..a2d9604d14 100644 --- a/src/System.Management.Automation/engine/remoting/server/serverremotingprotocolimplementation.cs +++ b/src/System.Management.Automation/engine/remoting/server/serverremotingprotocolimplementation.cs @@ -1,5 +1,5 @@ /********************************************************************++ - * Copyright (c) Microsoft Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * --********************************************************************/ using System.Management.Automation.Remoting.Server; diff --git a/src/System.Management.Automation/engine/runtime/Binding/Binders.cs b/src/System.Management.Automation/engine/runtime/Binding/Binders.cs index 3436efee06..72934c3348 100644 --- a/src/System.Management.Automation/engine/runtime/Binding/Binders.cs +++ b/src/System.Management.Automation/engine/runtime/Binding/Binders.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/runtime/CompiledScriptBlock.cs b/src/System.Management.Automation/engine/runtime/CompiledScriptBlock.cs index a46d6dacc4..f457796a4e 100644 --- a/src/System.Management.Automation/engine/runtime/CompiledScriptBlock.cs +++ b/src/System.Management.Automation/engine/runtime/CompiledScriptBlock.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/runtime/Operations/ArrayOps.cs b/src/System.Management.Automation/engine/runtime/Operations/ArrayOps.cs index c2051c9120..5c44e281e2 100644 --- a/src/System.Management.Automation/engine/runtime/Operations/ArrayOps.cs +++ b/src/System.Management.Automation/engine/runtime/Operations/ArrayOps.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ // ReSharper disable UnusedMember.Global diff --git a/src/System.Management.Automation/engine/runtime/Operations/ClassOps.cs b/src/System.Management.Automation/engine/runtime/Operations/ClassOps.cs index b6a2855da6..28cab722d0 100644 --- a/src/System.Management.Automation/engine/runtime/Operations/ClassOps.cs +++ b/src/System.Management.Automation/engine/runtime/Operations/ClassOps.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/runtime/Operations/MiscOps.cs b/src/System.Management.Automation/engine/runtime/Operations/MiscOps.cs index 9559c61d8d..0e669eebfd 100644 --- a/src/System.Management.Automation/engine/runtime/Operations/MiscOps.cs +++ b/src/System.Management.Automation/engine/runtime/Operations/MiscOps.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; @@ -410,7 +410,7 @@ namespace System.Management.Automation commandProcessor = AddCommand(pipelineProcessor, pipeElements[i], pipeElementAsts[i], commandRedirection, context); } - + var cmdletInfo = commandProcessor?.CommandInfo as CmdletInfo; if (cmdletInfo?.ImplementingType == typeof(OutNullCommand)) { @@ -420,7 +420,7 @@ namespace System.Management.Automation // Out-Null is the only command, bail without running anything return; } - + // Out-Null is the last command, rewrite command before Out-Null to a null pipe, but // only if it didn't redirect anything, e.g. `Get-Stuff > o.txt | Out-Null` var nextToLastCommand = pipelineProcessor.Commands[commandsCount - 2]; @@ -493,7 +493,7 @@ namespace System.Management.Automation System.Text.StringBuilder updatedScriptblock = new System.Text.StringBuilder(cmdPrefix.Length + scriptblockBodyString.Length + 18); updatedScriptblock.Append(cmdPrefix); int position = 0; - // Prefix variables in the scriptblock with $using: + // Prefix variables in the scriptblock with $using: foreach (var v in variables) { var vName = ((VariableExpressionAst) v).VariablePath.UserPath; @@ -502,7 +502,7 @@ namespace System.Management.Automation continue; // Skip PowerShell magic variables if (Regex.Match(vName, - "^(global:){0,1}(PID|PSVersionTable|PSEdition|PSHOME|HOST|TRUE|FALSE|NULL)$", + "^(global:){0,1}(PID|PSVersionTable|PSEdition|PSHOME|HOST|TRUE|FALSE|NULL)$", RegexOptions.IgnoreCase|RegexOptions.CultureInvariant).Success == false ) { diff --git a/src/System.Management.Automation/engine/runtime/Operations/NumericOps.cs b/src/System.Management.Automation/engine/runtime/Operations/NumericOps.cs index 89349361ed..534b714302 100644 --- a/src/System.Management.Automation/engine/runtime/Operations/NumericOps.cs +++ b/src/System.Management.Automation/engine/runtime/Operations/NumericOps.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ // ReSharper disable UnusedMember.Global diff --git a/src/System.Management.Automation/engine/runtime/Operations/StringOps.cs b/src/System.Management.Automation/engine/runtime/Operations/StringOps.cs index 4e705f125b..c513cc569d 100644 --- a/src/System.Management.Automation/engine/runtime/Operations/StringOps.cs +++ b/src/System.Management.Automation/engine/runtime/Operations/StringOps.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Globalization; diff --git a/src/System.Management.Automation/engine/runtime/Operations/VariableOps.cs b/src/System.Management.Automation/engine/runtime/Operations/VariableOps.cs index 33cb89991c..402257788c 100644 --- a/src/System.Management.Automation/engine/runtime/Operations/VariableOps.cs +++ b/src/System.Management.Automation/engine/runtime/Operations/VariableOps.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Linq; diff --git a/src/System.Management.Automation/engine/runtime/ScriptBlockToPowerShell.cs b/src/System.Management.Automation/engine/runtime/ScriptBlockToPowerShell.cs index e63fb06a84..d86a8e9cad 100644 --- a/src/System.Management.Automation/engine/runtime/ScriptBlockToPowerShell.cs +++ b/src/System.Management.Automation/engine/runtime/ScriptBlockToPowerShell.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/scriptparameterbinder.cs b/src/System.Management.Automation/engine/scriptparameterbinder.cs index c4d5ea7d26..3d40f11d34 100644 --- a/src/System.Management.Automation/engine/scriptparameterbinder.cs +++ b/src/System.Management.Automation/engine/scriptparameterbinder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/engine/scriptparameterbindercontroller.cs b/src/System.Management.Automation/engine/scriptparameterbindercontroller.cs index 7767e25727..cde402ebbd 100644 --- a/src/System.Management.Automation/engine/scriptparameterbindercontroller.cs +++ b/src/System.Management.Automation/engine/scriptparameterbindercontroller.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/engine/serialization.cs b/src/System.Management.Automation/engine/serialization.cs index 5cf890e990..feadb81279 100644 --- a/src/System.Management.Automation/engine/serialization.cs +++ b/src/System.Management.Automation/engine/serialization.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/help/AliasHelpInfo.cs b/src/System.Management.Automation/help/AliasHelpInfo.cs index 253cab15c3..da026404d9 100644 --- a/src/System.Management.Automation/help/AliasHelpInfo.cs +++ b/src/System.Management.Automation/help/AliasHelpInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics.CodeAnalysis; // for fxcop diff --git a/src/System.Management.Automation/help/AliasHelpProvider.cs b/src/System.Management.Automation/help/AliasHelpProvider.cs index 3f10cd9140..e6c268d2df 100644 --- a/src/System.Management.Automation/help/AliasHelpProvider.cs +++ b/src/System.Management.Automation/help/AliasHelpProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/help/BaseCommandHelpInfo.cs b/src/System.Management.Automation/help/BaseCommandHelpInfo.cs index c67d82d3f6..9c0c8b3c40 100644 --- a/src/System.Management.Automation/help/BaseCommandHelpInfo.cs +++ b/src/System.Management.Automation/help/BaseCommandHelpInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; @@ -44,7 +44,7 @@ namespace System.Management.Automation } /// - /// Name of command. + /// Name of command. /// /// Name of command internal override string Name @@ -130,7 +130,7 @@ namespace System.Management.Automation /// RelatedLinks. /// /// - /// Null if no Uri is specified by the helpinfo or a + /// Null if no Uri is specified by the helpinfo or a /// valid Uri. /// /// @@ -249,8 +249,8 @@ namespace System.Management.Automation if (!System.Uri.IsWellFormedUriString(uriString, UriKind.RelativeOrAbsolute)) { // WinBlue: 545315 Online help links are broken with localized help - // Example: https://go.microsoft.com/fwlink/?LinkID=113324 (möglicherwei se auf Englisch) - // Split the string based on (space). We decided to go with this approach as + // Example: https://go.microsoft.com/fwlink/?LinkID=113324 (moglicherwei se auf Englisch) + // Split the string based on (space). We decided to go with this approach as // UX localization authors use spaces. Correctly extracting only the wellformed URI // is out-of-scope for this fix. string[] tempUriSplitArray = uriString.Split(Utils.Separators.Space); @@ -316,8 +316,8 @@ namespace System.Management.Automation if (!System.Uri.IsWellFormedUriString(uriString, UriKind.RelativeOrAbsolute)) { // WinBlue: 545315 Online help links are broken with localized help - // Example: https://go.microsoft.com/fwlink/?LinkID=113324 (möglicherwei se auf Englisch) - // Split the string based on (space). We decided to go with this approach as + // Example: https://go.microsoft.com/fwlink/?LinkID=113324 (moglicherwei se auf Englisch) + // Split the string based on (space). We decided to go with this approach as // UX localization authors use spaces. Correctly extracting only the wellformed URI // is out-of-scope for this fix. string[] tempUriSplitArray = uriString.Split(Utils.Separators.Space); @@ -342,10 +342,10 @@ namespace System.Management.Automation /// /// Returns true if help content in help info matches the - /// pattern contained in . + /// pattern contained in . /// The underlying code will usually run pattern.IsMatch() on /// content it wants to search. - /// Cmdlet help info looks for pattern in Synopsis and + /// Cmdlet help info looks for pattern in Synopsis and /// DetailedDescription /// /// @@ -374,7 +374,7 @@ namespace System.Management.Automation /// Returns help information for a parameter(s) identified by pattern /// /// pattern to search for parameters - /// A collection of parameters that match pattern + /// A collection of parameters that match pattern internal override PSObject[] GetParameter(string pattern) { // this object knows Maml format... diff --git a/src/System.Management.Automation/help/CabinetAPI.cs b/src/System.Management.Automation/help/CabinetAPI.cs index 4711520c65..a28dcf990e 100644 --- a/src/System.Management.Automation/help/CabinetAPI.cs +++ b/src/System.Management.Automation/help/CabinetAPI.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics.CodeAnalysis; diff --git a/src/System.Management.Automation/help/CabinetNativeApi.cs b/src/System.Management.Automation/help/CabinetNativeApi.cs index 1078d7a895..4c3521e20b 100644 --- a/src/System.Management.Automation/help/CabinetNativeApi.cs +++ b/src/System.Management.Automation/help/CabinetNativeApi.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/help/CommandHelpProvider.cs b/src/System.Management.Automation/help/CommandHelpProvider.cs index 63fb98885e..4c0967338f 100644 --- a/src/System.Management.Automation/help/CommandHelpProvider.cs +++ b/src/System.Management.Automation/help/CommandHelpProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.IO; @@ -22,7 +22,7 @@ namespace System.Management.Automation /// /// Class CommandHelpProvider implement the help provider for commands. /// - /// + /// /// /// Command Help information are stored in 'help.xml' files. Location of these files /// can be found from through the engine execution context. @@ -38,7 +38,7 @@ namespace System.Management.Automation } /// - /// + /// /// static CommandHelpProvider() { @@ -405,13 +405,13 @@ namespace System.Management.Automation /// /// ExactMatchHelp implementation for this help provider. /// - /// + /// /// - /// ExactMatchHelp is overridden instead of DoExactMatchHelp to make sure - /// all help item retrieval will go through command discovery. Because each + /// ExactMatchHelp is overridden instead of DoExactMatchHelp to make sure + /// all help item retrieval will go through command discovery. Because each /// help file can contain multiple help items for different commands. Directly /// retrieve help cache can result in a invalid command to contain valid - /// help item. Forcing each ExactMatchHelp to go through command discovery + /// help item. Forcing each ExactMatchHelp to go through command discovery /// will make sure helpInfo for invalid command will not be returned. /// /// help request object @@ -477,10 +477,10 @@ namespace System.Management.Automation } /// - /// This is a hashtable to track which help files are loaded already. - /// - /// This will avoid one help file getting loaded again and again. - /// (Which should not happen unless some commandlet is pointing + /// This is a hashtable to track which help files are loaded already. + /// + /// This will avoid one help file getting loaded again and again. + /// (Which should not happen unless some commandlet is pointing /// to a help file that actually doesn't contain the help for it). /// /// @@ -585,7 +585,7 @@ namespace System.Management.Automation // e.g., .ni.dll as supposed to .dll. // When cmdlet metadata is generated for the 'HelpFile' field, we use the name assembly and we append '-Help.xml' to it. - // Because of this, if the cmdlet is part of an N’gen assembly, then 'HelpFile' field will be pointing to a help file which does not exist. + // Because of this, if the cmdlet is part of an Ngen assembly, then 'HelpFile' field will be pointing to a help file which does not exist. // If this is the case, we remove '.ni' from the help file name and try again. // For example: // Ngen assembly name: Microsoft.PowerShell.Commands.Management.ni.dll @@ -604,7 +604,7 @@ namespace System.Management.Automation if (String.IsNullOrEmpty(location)) { // If the help file could not be found, then it is possible that the actual assembly name is something like - // .ni.dll, e.g., MyAssembly.ni.dll, so let’s try to find the original help file in the cmdlet metadata. + // .ni.dll, e.g., MyAssembly.ni.dll, so let's try to find the original help file in the cmdlet metadata. location = GetHelpFile(helpFile, cmdletInfo); } } @@ -661,13 +661,13 @@ namespace System.Management.Automation } /// - /// Load help file for HelpInfo objects. The HelpInfo objects will be + /// Load help file for HelpInfo objects. The HelpInfo objects will be /// put into help cache. /// /// - /// 1. Needs to pay special attention about error handling in this function. + /// 1. Needs to pay special attention about error handling in this function. /// Common errors include: file not found and invalid xml. None of these error - /// should cause help search to stop. + /// should cause help search to stop. /// 2. a helpfile cache is used to avoid same file got loaded again and again. /// private void LoadHelpFile(string helpFile, string helpFileIdentifier) @@ -738,7 +738,7 @@ namespace System.Management.Automation } /// - /// Process user defined help data by finding the corresponding helpInfo and inserting + /// Process user defined help data by finding the corresponding helpInfo and inserting /// necessary helpdata info to command help. /// /// PSSnapIn Name for the current help file. @@ -873,7 +873,7 @@ namespace System.Management.Automation /// Import-Module and Import-PSSession supports changing the name of a command /// by suppling a custom prefix. In those cases, the help content is stored by using the /// original command name (without prefix) as the key. - /// + /// /// This method retrieves the help content by suppressing the prefix and then making a copy /// of the help content + change the name and then returns the copied help content. /// @@ -956,15 +956,15 @@ namespace System.Management.Automation } /// - /// Check whether a HelpItems node indicates that the help content is - /// authored using maml schema. - /// - /// This covers two cases: + /// Check whether a HelpItems node indicates that the help content is + /// authored using maml schema. + /// + /// This covers two cases: /// a. If the help file has an extension .maml. /// b. If HelpItems node (which should be the top node of any command help file) /// has an attribute "schema" with value "maml", its content is in maml /// schema - /// + /// /// /// /// @@ -990,7 +990,7 @@ namespace System.Management.Automation } /// - /// Search help for a specific target. + /// Search help for a specific target. /// /// help request object /// @@ -1005,7 +1005,7 @@ namespace System.Management.Automation // this will be used only when searchOnlyContent == true WildcardPattern wildCardPattern = null; // Decorated Search means that original match target is a target without - // wildcard patterns. It come here to because exact match was not found + // wildcard patterns. It come here to because exact match was not found // and search target will be decorated with wildcard character '*' to // search again. bool decoratedSearch = !WildcardPattern.ContainsWildcardCharacters(helpRequest.Target); @@ -1208,7 +1208,7 @@ namespace System.Management.Automation /// content to search in. /// string patterns to look for. /// - /// true if contains any of the patterns + /// true if contains any of the patterns /// present in /// false otherwise. /// @@ -1237,7 +1237,7 @@ namespace System.Management.Automation /// This can return more than 1 helpinfo object. /// /// HelpInfo that is forwarded over - /// Help request object + /// Help request object /// The result helpInfo objects after processing internal override IEnumerable ProcessForwardedHelp(HelpInfo helpInfo, HelpRequest helpRequest) { @@ -1284,8 +1284,8 @@ namespace System.Management.Automation } /// - /// This will reset the help cache. Normally this corresponds to a - /// help culture change. + /// This will reset the help cache. Normally this corresponds to a + /// help culture change. /// internal override void Reset() { @@ -1345,9 +1345,9 @@ namespace System.Management.Automation } /// - /// This is the class to track the user-defined Help Data which is separate from the - /// commandHelp itself. - /// + /// This is the class to track the user-defined Help Data which is separate from the + /// commandHelp itself. + /// /// Legally, user-defined Help Data should be within the same file as the corresponding /// commandHelp and it should appear after the commandHelp. /// diff --git a/src/System.Management.Automation/help/DefaultCommandHelpObjectBuilder.cs b/src/System.Management.Automation/help/DefaultCommandHelpObjectBuilder.cs index 69316612c3..610bdb5795 100644 --- a/src/System.Management.Automation/help/DefaultCommandHelpObjectBuilder.cs +++ b/src/System.Management.Automation/help/DefaultCommandHelpObjectBuilder.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Internal; diff --git a/src/System.Management.Automation/help/DefaultHelpProvider.cs b/src/System.Management.Automation/help/DefaultHelpProvider.cs index 8089061b52..4586a78a40 100644 --- a/src/System.Management.Automation/help/DefaultHelpProvider.cs +++ b/src/System.Management.Automation/help/DefaultHelpProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/help/DscResourceHelpProvider.cs b/src/System.Management.Automation/help/DscResourceHelpProvider.cs index 428801dcfd..ab363ca5e1 100644 --- a/src/System.Management.Automation/help/DscResourceHelpProvider.cs +++ b/src/System.Management.Automation/help/DscResourceHelpProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/help/HelpCategoryInvalidException.cs b/src/System.Management.Automation/help/HelpCategoryInvalidException.cs index ec24e0804f..df48e63425 100644 --- a/src/System.Management.Automation/help/HelpCategoryInvalidException.cs +++ b/src/System.Management.Automation/help/HelpCategoryInvalidException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/System.Management.Automation/help/HelpCommands.cs b/src/System.Management.Automation/help/HelpCommands.cs index 5766c02706..95951fd17c 100644 --- a/src/System.Management.Automation/help/HelpCommands.cs +++ b/src/System.Management.Automation/help/HelpCommands.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/help/HelpCommentsParser.cs b/src/System.Management.Automation/help/HelpCommentsParser.cs index a0c6bd7eb7..99226dba1a 100644 --- a/src/System.Management.Automation/help/HelpCommentsParser.cs +++ b/src/System.Management.Automation/help/HelpCommentsParser.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/help/HelpErrorTracer.cs b/src/System.Management.Automation/help/HelpErrorTracer.cs index c1ac33d846..913913466c 100644 --- a/src/System.Management.Automation/help/HelpErrorTracer.cs +++ b/src/System.Management.Automation/help/HelpErrorTracer.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/help/HelpFileHelpInfo.cs b/src/System.Management.Automation/help/HelpFileHelpInfo.cs index 6c59810d6f..257dabb14d 100644 --- a/src/System.Management.Automation/help/HelpFileHelpInfo.cs +++ b/src/System.Management.Automation/help/HelpFileHelpInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/help/HelpFileHelpProvider.cs b/src/System.Management.Automation/help/HelpFileHelpProvider.cs index fb58ef6916..cfccf54773 100644 --- a/src/System.Management.Automation/help/HelpFileHelpProvider.cs +++ b/src/System.Management.Automation/help/HelpFileHelpProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/help/HelpInfo.cs b/src/System.Management.Automation/help/HelpInfo.cs index 00096d1a19..f73baefd1a 100644 --- a/src/System.Management.Automation/help/HelpInfo.cs +++ b/src/System.Management.Automation/help/HelpInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/help/HelpNotFoundException.cs b/src/System.Management.Automation/help/HelpNotFoundException.cs index aec33ac03a..e1b4b9a55b 100644 --- a/src/System.Management.Automation/help/HelpNotFoundException.cs +++ b/src/System.Management.Automation/help/HelpNotFoundException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/System.Management.Automation/help/HelpProvider.cs b/src/System.Management.Automation/help/HelpProvider.cs index d9a40346dc..4675113e04 100644 --- a/src/System.Management.Automation/help/HelpProvider.cs +++ b/src/System.Management.Automation/help/HelpProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/help/HelpProviderWithCache.cs b/src/System.Management.Automation/help/HelpProviderWithCache.cs index 82b0a6be75..895a4515ca 100644 --- a/src/System.Management.Automation/help/HelpProviderWithCache.cs +++ b/src/System.Management.Automation/help/HelpProviderWithCache.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/help/HelpProviderWithFullCache.cs b/src/System.Management.Automation/help/HelpProviderWithFullCache.cs index ee6a0f4971..81221cf37c 100644 --- a/src/System.Management.Automation/help/HelpProviderWithFullCache.cs +++ b/src/System.Management.Automation/help/HelpProviderWithFullCache.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/help/HelpRequest.cs b/src/System.Management.Automation/help/HelpRequest.cs index 50049c8d9b..fab35c51f5 100644 --- a/src/System.Management.Automation/help/HelpRequest.cs +++ b/src/System.Management.Automation/help/HelpRequest.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/help/HelpSystem.cs b/src/System.Management.Automation/help/HelpSystem.cs index 13aaf69551..d12f7e3204 100644 --- a/src/System.Management.Automation/help/HelpSystem.cs +++ b/src/System.Management.Automation/help/HelpSystem.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/help/MUIFileSearcher.cs b/src/System.Management.Automation/help/MUIFileSearcher.cs index 798ca01b44..7e12f26cdb 100644 --- a/src/System.Management.Automation/help/MUIFileSearcher.cs +++ b/src/System.Management.Automation/help/MUIFileSearcher.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/help/MamlClassHelpInfo.cs b/src/System.Management.Automation/help/MamlClassHelpInfo.cs index 6037574e57..4bc7c03db3 100644 --- a/src/System.Management.Automation/help/MamlClassHelpInfo.cs +++ b/src/System.Management.Automation/help/MamlClassHelpInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Xml; diff --git a/src/System.Management.Automation/help/MamlCommandHelpInfo.cs b/src/System.Management.Automation/help/MamlCommandHelpInfo.cs index 052fb80e1f..d122a91a12 100644 --- a/src/System.Management.Automation/help/MamlCommandHelpInfo.cs +++ b/src/System.Management.Automation/help/MamlCommandHelpInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Globalization; diff --git a/src/System.Management.Automation/help/MamlNode.cs b/src/System.Management.Automation/help/MamlNode.cs index 693256be69..2bf558910e 100644 --- a/src/System.Management.Automation/help/MamlNode.cs +++ b/src/System.Management.Automation/help/MamlNode.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/help/MamlUtil.cs b/src/System.Management.Automation/help/MamlUtil.cs index f4e97a74e6..29fe3c165b 100644 --- a/src/System.Management.Automation/help/MamlUtil.cs +++ b/src/System.Management.Automation/help/MamlUtil.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Help; diff --git a/src/System.Management.Automation/help/PSClassHelpProvider.cs b/src/System.Management.Automation/help/PSClassHelpProvider.cs index b2c123634e..ec418adfd8 100644 --- a/src/System.Management.Automation/help/PSClassHelpProvider.cs +++ b/src/System.Management.Automation/help/PSClassHelpProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/help/ProviderCommandHelpInfo.cs b/src/System.Management.Automation/help/ProviderCommandHelpInfo.cs index 35bb3f3c8a..b092467768 100644 --- a/src/System.Management.Automation/help/ProviderCommandHelpInfo.cs +++ b/src/System.Management.Automation/help/ProviderCommandHelpInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Dbg = System.Management.Automation.Diagnostics; diff --git a/src/System.Management.Automation/help/ProviderContext.cs b/src/System.Management.Automation/help/ProviderContext.cs index c5ab2e911b..993376789c 100644 --- a/src/System.Management.Automation/help/ProviderContext.cs +++ b/src/System.Management.Automation/help/ProviderContext.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Provider; diff --git a/src/System.Management.Automation/help/ProviderHelpInfo.cs b/src/System.Management.Automation/help/ProviderHelpInfo.cs index a162857fdc..6ec2faa4d3 100644 --- a/src/System.Management.Automation/help/ProviderHelpInfo.cs +++ b/src/System.Management.Automation/help/ProviderHelpInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/help/ProviderHelpProvider.cs b/src/System.Management.Automation/help/ProviderHelpProvider.cs index f51424380e..7323aeba6c 100644 --- a/src/System.Management.Automation/help/ProviderHelpProvider.cs +++ b/src/System.Management.Automation/help/ProviderHelpProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/help/RemoteHelpInfo.cs b/src/System.Management.Automation/help/RemoteHelpInfo.cs index 6fa8ef0ffd..4e581a98cb 100644 --- a/src/System.Management.Automation/help/RemoteHelpInfo.cs +++ b/src/System.Management.Automation/help/RemoteHelpInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/help/SaveHelpCommand.cs b/src/System.Management.Automation/help/SaveHelpCommand.cs index e1ea74b5ad..4329fa25b8 100644 --- a/src/System.Management.Automation/help/SaveHelpCommand.cs +++ b/src/System.Management.Automation/help/SaveHelpCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/help/ScriptCommandHelpProvider.cs b/src/System.Management.Automation/help/ScriptCommandHelpProvider.cs index a08328db18..8501b963d7 100644 --- a/src/System.Management.Automation/help/ScriptCommandHelpProvider.cs +++ b/src/System.Management.Automation/help/ScriptCommandHelpProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/help/SyntaxHelpInfo.cs b/src/System.Management.Automation/help/SyntaxHelpInfo.cs index f8087b8b0d..4e2081dbe2 100644 --- a/src/System.Management.Automation/help/SyntaxHelpInfo.cs +++ b/src/System.Management.Automation/help/SyntaxHelpInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/help/UpdatableHelpCommandBase.cs b/src/System.Management.Automation/help/UpdatableHelpCommandBase.cs index ff3bf2a674..66f6575b6d 100644 --- a/src/System.Management.Automation/help/UpdatableHelpCommandBase.cs +++ b/src/System.Management.Automation/help/UpdatableHelpCommandBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/help/UpdatableHelpInfo.cs b/src/System.Management.Automation/help/UpdatableHelpInfo.cs index f6da9ded1e..467de5a53f 100644 --- a/src/System.Management.Automation/help/UpdatableHelpInfo.cs +++ b/src/System.Management.Automation/help/UpdatableHelpInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Internal; diff --git a/src/System.Management.Automation/help/UpdatableHelpModuleInfo.cs b/src/System.Management.Automation/help/UpdatableHelpModuleInfo.cs index 8abd2df282..c525ed0cf5 100644 --- a/src/System.Management.Automation/help/UpdatableHelpModuleInfo.cs +++ b/src/System.Management.Automation/help/UpdatableHelpModuleInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Globalization; diff --git a/src/System.Management.Automation/help/UpdatableHelpSystem.cs b/src/System.Management.Automation/help/UpdatableHelpSystem.cs index 2b90450b27..6c1fc5f75a 100644 --- a/src/System.Management.Automation/help/UpdatableHelpSystem.cs +++ b/src/System.Management.Automation/help/UpdatableHelpSystem.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Globalization; diff --git a/src/System.Management.Automation/help/UpdatableHelpUri.cs b/src/System.Management.Automation/help/UpdatableHelpUri.cs index 23241997fb..c8c4286505 100644 --- a/src/System.Management.Automation/help/UpdatableHelpUri.cs +++ b/src/System.Management.Automation/help/UpdatableHelpUri.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Globalization; diff --git a/src/System.Management.Automation/help/UpdateHelpCommand.cs b/src/System.Management.Automation/help/UpdateHelpCommand.cs index d8e748612b..a7eca22ee3 100644 --- a/src/System.Management.Automation/help/UpdateHelpCommand.cs +++ b/src/System.Management.Automation/help/UpdateHelpCommand.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/logging/LogContext.cs b/src/System.Management.Automation/logging/LogContext.cs index 238c767467..97af8b6d7a 100644 --- a/src/System.Management.Automation/logging/LogContext.cs +++ b/src/System.Management.Automation/logging/LogContext.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/logging/LogProvider.cs b/src/System.Management.Automation/logging/LogProvider.cs index 8161f1e6f0..362a417c67 100644 --- a/src/System.Management.Automation/logging/LogProvider.cs +++ b/src/System.Management.Automation/logging/LogProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/logging/MshLog.cs b/src/System.Management.Automation/logging/MshLog.cs index 07e919640a..5e9c554cb5 100644 --- a/src/System.Management.Automation/logging/MshLog.cs +++ b/src/System.Management.Automation/logging/MshLog.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Concurrent; diff --git a/src/System.Management.Automation/logging/eventlog/EventLogLogProvider.cs b/src/System.Management.Automation/logging/eventlog/EventLogLogProvider.cs index e6c735b07b..084f6f2b12 100644 --- a/src/System.Management.Automation/logging/eventlog/EventLogLogProvider.cs +++ b/src/System.Management.Automation/logging/eventlog/EventLogLogProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/namespaces/AliasProvider.cs b/src/System.Management.Automation/namespaces/AliasProvider.cs index c7bbaabcae..b8c6557dfc 100644 --- a/src/System.Management.Automation/namespaces/AliasProvider.cs +++ b/src/System.Management.Automation/namespaces/AliasProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/System.Management.Automation/namespaces/ContainerProviderBase.cs b/src/System.Management.Automation/namespaces/ContainerProviderBase.cs index 6feaa2fa2d..b67a2f9f46 100644 --- a/src/System.Management.Automation/namespaces/ContainerProviderBase.cs +++ b/src/System.Management.Automation/namespaces/ContainerProviderBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics.CodeAnalysis; diff --git a/src/System.Management.Automation/namespaces/CoreCommandContext.cs b/src/System.Management.Automation/namespaces/CoreCommandContext.cs index 60e95567f7..3ecbd9c516 100644 --- a/src/System.Management.Automation/namespaces/CoreCommandContext.cs +++ b/src/System.Management.Automation/namespaces/CoreCommandContext.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/namespaces/DriveProviderBase.cs b/src/System.Management.Automation/namespaces/DriveProviderBase.cs index b6852a6814..323bcaeddf 100644 --- a/src/System.Management.Automation/namespaces/DriveProviderBase.cs +++ b/src/System.Management.Automation/namespaces/DriveProviderBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/namespaces/EnvironmentProvider.cs b/src/System.Management.Automation/namespaces/EnvironmentProvider.cs index f9af5240e7..5f4dcf71db 100644 --- a/src/System.Management.Automation/namespaces/EnvironmentProvider.cs +++ b/src/System.Management.Automation/namespaces/EnvironmentProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/System.Management.Automation/namespaces/FileSystemContentStream.cs b/src/System.Management.Automation/namespaces/FileSystemContentStream.cs index 121a40f54e..7402e52bf9 100644 --- a/src/System.Management.Automation/namespaces/FileSystemContentStream.cs +++ b/src/System.Management.Automation/namespaces/FileSystemContentStream.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/namespaces/FileSystemProvider.cs b/src/System.Management.Automation/namespaces/FileSystemProvider.cs index d08125db5c..904bbf83cf 100644 --- a/src/System.Management.Automation/namespaces/FileSystemProvider.cs +++ b/src/System.Management.Automation/namespaces/FileSystemProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/namespaces/FileSystemSecurity.cs b/src/System.Management.Automation/namespaces/FileSystemSecurity.cs index 947a8c50d6..22f07c89cf 100644 --- a/src/System.Management.Automation/namespaces/FileSystemSecurity.cs +++ b/src/System.Management.Automation/namespaces/FileSystemSecurity.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/namespaces/FunctionProvider.cs b/src/System.Management.Automation/namespaces/FunctionProvider.cs index 97723b51fc..0ec824c536 100644 --- a/src/System.Management.Automation/namespaces/FunctionProvider.cs +++ b/src/System.Management.Automation/namespaces/FunctionProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/System.Management.Automation/namespaces/IContentProvider.cs b/src/System.Management.Automation/namespaces/IContentProvider.cs index ed889e3b80..dee126fffa 100644 --- a/src/System.Management.Automation/namespaces/IContentProvider.cs +++ b/src/System.Management.Automation/namespaces/IContentProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation.Provider diff --git a/src/System.Management.Automation/namespaces/IContentReader.cs b/src/System.Management.Automation/namespaces/IContentReader.cs index ad9d360a33..359bb89f55 100644 --- a/src/System.Management.Automation/namespaces/IContentReader.cs +++ b/src/System.Management.Automation/namespaces/IContentReader.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/namespaces/IContentWriter.cs b/src/System.Management.Automation/namespaces/IContentWriter.cs index f319fccb2c..03e89f6829 100644 --- a/src/System.Management.Automation/namespaces/IContentWriter.cs +++ b/src/System.Management.Automation/namespaces/IContentWriter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/namespaces/IDynamicPropertyProvider.cs b/src/System.Management.Automation/namespaces/IDynamicPropertyProvider.cs index bdfa2ed8a0..274b147b3d 100644 --- a/src/System.Management.Automation/namespaces/IDynamicPropertyProvider.cs +++ b/src/System.Management.Automation/namespaces/IDynamicPropertyProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation.Provider diff --git a/src/System.Management.Automation/namespaces/IPermissionProvider.cs b/src/System.Management.Automation/namespaces/IPermissionProvider.cs index 2841ce144b..29b6f33aad 100644 --- a/src/System.Management.Automation/namespaces/IPermissionProvider.cs +++ b/src/System.Management.Automation/namespaces/IPermissionProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Security.AccessControl; diff --git a/src/System.Management.Automation/namespaces/IPropertiesProvider.cs b/src/System.Management.Automation/namespaces/IPropertiesProvider.cs index d3ac44ffde..47f92c7fb7 100644 --- a/src/System.Management.Automation/namespaces/IPropertiesProvider.cs +++ b/src/System.Management.Automation/namespaces/IPropertiesProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/namespaces/ItemProviderBase.cs b/src/System.Management.Automation/namespaces/ItemProviderBase.cs index 1e846bf1c2..9dff69f286 100644 --- a/src/System.Management.Automation/namespaces/ItemProviderBase.cs +++ b/src/System.Management.Automation/namespaces/ItemProviderBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Internal; diff --git a/src/System.Management.Automation/namespaces/LocationGlobber.cs b/src/System.Management.Automation/namespaces/LocationGlobber.cs index 718052aa12..ec2db5033a 100644 --- a/src/System.Management.Automation/namespaces/LocationGlobber.cs +++ b/src/System.Management.Automation/namespaces/LocationGlobber.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/namespaces/NavigationProviderBase.cs b/src/System.Management.Automation/namespaces/NavigationProviderBase.cs index dbfad2c48f..46eca2d3d0 100644 --- a/src/System.Management.Automation/namespaces/NavigationProviderBase.cs +++ b/src/System.Management.Automation/namespaces/NavigationProviderBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/namespaces/PathInfo.cs b/src/System.Management.Automation/namespaces/PathInfo.cs index 976c169d3a..2643dbd94b 100644 --- a/src/System.Management.Automation/namespaces/PathInfo.cs +++ b/src/System.Management.Automation/namespaces/PathInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Dbg = System.Management.Automation; diff --git a/src/System.Management.Automation/namespaces/ProviderBase.cs b/src/System.Management.Automation/namespaces/ProviderBase.cs index 4d406a8271..69ba4aaa60 100644 --- a/src/System.Management.Automation/namespaces/ProviderBase.cs +++ b/src/System.Management.Automation/namespaces/ProviderBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/System.Management.Automation/namespaces/ProviderBaseSecurity.cs b/src/System.Management.Automation/namespaces/ProviderBaseSecurity.cs index b27ebfd12b..8f7ec8e2f9 100644 --- a/src/System.Management.Automation/namespaces/ProviderBaseSecurity.cs +++ b/src/System.Management.Automation/namespaces/ProviderBaseSecurity.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Security.AccessControl; diff --git a/src/System.Management.Automation/namespaces/ProviderDeclarationAttribute.cs b/src/System.Management.Automation/namespaces/ProviderDeclarationAttribute.cs index 3ae25d73ac..cfdbc77057 100644 --- a/src/System.Management.Automation/namespaces/ProviderDeclarationAttribute.cs +++ b/src/System.Management.Automation/namespaces/ProviderDeclarationAttribute.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation.Provider diff --git a/src/System.Management.Automation/namespaces/RegistryProvider.cs b/src/System.Management.Automation/namespaces/RegistryProvider.cs index 90baabc682..681cc60041 100644 --- a/src/System.Management.Automation/namespaces/RegistryProvider.cs +++ b/src/System.Management.Automation/namespaces/RegistryProvider.cs @@ -1,6 +1,6 @@ #if !UNIX /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/namespaces/RegistrySecurity.cs b/src/System.Management.Automation/namespaces/RegistrySecurity.cs index cf7674be4b..96bbcb0056 100644 --- a/src/System.Management.Automation/namespaces/RegistrySecurity.cs +++ b/src/System.Management.Automation/namespaces/RegistrySecurity.cs @@ -1,6 +1,6 @@ #if !UNIX /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/namespaces/RegistryWrapper.cs b/src/System.Management.Automation/namespaces/RegistryWrapper.cs index 5ca64c7ab6..b6dfe795e4 100644 --- a/src/System.Management.Automation/namespaces/RegistryWrapper.cs +++ b/src/System.Management.Automation/namespaces/RegistryWrapper.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ /* * The registry wrapper provides a common interface to both the transacted diff --git a/src/System.Management.Automation/namespaces/SafeTransactionHandle.cs b/src/System.Management.Automation/namespaces/SafeTransactionHandle.cs index 9bbe7c51f2..9699241da5 100644 --- a/src/System.Management.Automation/namespaces/SafeTransactionHandle.cs +++ b/src/System.Management.Automation/namespaces/SafeTransactionHandle.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // #pragma warning disable 1634, 1691 @@ -42,10 +42,10 @@ namespace Microsoft.PowerShell.Commands.Internal } // MSDTC is not available on WinPE machine. - // CommitableTransaction will use DTC APIs under the covers to get KTM transaction manager interface. - // KTM is kernel Transaction Manager to handle file, registry etc and MSDTC provides an integration support - // with KTM to handle transaction across kernel resources and MSDTC resources like SQL, MSMQ etc. - // We need KTMRM service as well. WinPE doesn’t have these services installed + // CommitableTransaction will use DTC APIs under the covers to get KTM transaction manager interface. + // KTM is kernel Transaction Manager to handle file, registry etc and MSDTC provides an integration support + // with KTM to handle transaction across kernel resources and MSDTC resources like SQL, MSMQ etc. + // We need KTMRM service as well. WinPE doesn't have these services installed if (Utils.IsWinPEHost() || PsUtils.IsRunningOnProcessorArchitectureARM()) { throw new NotSupportedException(RegistryProviderStrings.NotSupported_KernelTransactions); diff --git a/src/System.Management.Automation/namespaces/SessionStateProviderBase.cs b/src/System.Management.Automation/namespaces/SessionStateProviderBase.cs index f01e737976..617825157e 100644 --- a/src/System.Management.Automation/namespaces/SessionStateProviderBase.cs +++ b/src/System.Management.Automation/namespaces/SessionStateProviderBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/System.Management.Automation/namespaces/StackInfo.cs b/src/System.Management.Automation/namespaces/StackInfo.cs index 5d77c8e5d5..e362f35b1b 100644 --- a/src/System.Management.Automation/namespaces/StackInfo.cs +++ b/src/System.Management.Automation/namespaces/StackInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/namespaces/VariableProvider.cs b/src/System.Management.Automation/namespaces/VariableProvider.cs index 457928e3a1..accf720aa6 100644 --- a/src/System.Management.Automation/namespaces/VariableProvider.cs +++ b/src/System.Management.Automation/namespaces/VariableProvider.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/System.Management.Automation/security/Authenticode.cs b/src/System.Management.Automation/security/Authenticode.cs index d79aad4b0f..ac4d1bc3ca 100644 --- a/src/System.Management.Automation/security/Authenticode.cs +++ b/src/System.Management.Automation/security/Authenticode.cs @@ -1,7 +1,7 @@ #pragma warning disable 1634, 1691 /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/System.Management.Automation/security/CatalogHelper.cs b/src/System.Management.Automation/security/CatalogHelper.cs index d08ffc278c..fea05cfe09 100644 --- a/src/System.Management.Automation/security/CatalogHelper.cs +++ b/src/System.Management.Automation/security/CatalogHelper.cs @@ -1,7 +1,7 @@ #if !UNIX /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Dbg = System.Management.Automation; diff --git a/src/System.Management.Automation/security/CredentialParameter.cs b/src/System.Management.Automation/security/CredentialParameter.cs index 4abde8527d..127adaa9cb 100644 --- a/src/System.Management.Automation/security/CredentialParameter.cs +++ b/src/System.Management.Automation/security/CredentialParameter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/System.Management.Automation/security/MshSignature.cs b/src/System.Management.Automation/security/MshSignature.cs index dbbdc98fe2..61b8e56991 100644 --- a/src/System.Management.Automation/security/MshSignature.cs +++ b/src/System.Management.Automation/security/MshSignature.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/System.Management.Automation/security/SecureStringHelper.cs b/src/System.Management.Automation/security/SecureStringHelper.cs index f96881b1de..ea30e395cf 100644 --- a/src/System.Management.Automation/security/SecureStringHelper.cs +++ b/src/System.Management.Automation/security/SecureStringHelper.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/security/SecurityManager.cs b/src/System.Management.Automation/security/SecurityManager.cs index fabde5335f..e4c79e2e72 100644 --- a/src/System.Management.Automation/security/SecurityManager.cs +++ b/src/System.Management.Automation/security/SecurityManager.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Dbg = System.Management.Automation; diff --git a/src/System.Management.Automation/security/SecuritySupport.cs b/src/System.Management.Automation/security/SecuritySupport.cs index ba737881b9..bf0e87c867 100644 --- a/src/System.Management.Automation/security/SecuritySupport.cs +++ b/src/System.Management.Automation/security/SecuritySupport.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 @@ -266,7 +266,7 @@ namespace System.Management.Automation.Internal /// Used to determine execution policy when group policies are in effect /// /// - /// This is somewhat expensive to determine and does not change within the lifetime of the current process + /// This is somewhat expensive to determine and does not change within the lifetime of the current process /// private static bool HasGpScriptParent { @@ -358,12 +358,12 @@ namespace System.Management.Automation.Internal // Be sure we aren't being called by Group Policy // itself. A group policy should never block a logon / - // logoff script. + // logoff script. if (String.IsNullOrEmpty(groupPolicyPreference) || HasGpScriptParent) { return ExecutionPolicy.Undefined; - } - return ParseExecutionPolicy(groupPolicyPreference); + } + return ParseExecutionPolicy(groupPolicyPreference); } } diff --git a/src/System.Management.Automation/security/nativeMethods.cs b/src/System.Management.Automation/security/nativeMethods.cs index 49561ae58d..7e486e6ef6 100644 --- a/src/System.Management.Automation/security/nativeMethods.cs +++ b/src/System.Management.Automation/security/nativeMethods.cs @@ -1,7 +1,7 @@ #pragma warning disable 1634, 1691 /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/System.Management.Automation/singleshell/config/MshConsoleLoadException.cs b/src/System.Management.Automation/singleshell/config/MshConsoleLoadException.cs index ee252cd112..eee78a4205 100644 --- a/src/System.Management.Automation/singleshell/config/MshConsoleLoadException.cs +++ b/src/System.Management.Automation/singleshell/config/MshConsoleLoadException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/singleshell/config/MshSnapinInfo.cs b/src/System.Management.Automation/singleshell/config/MshSnapinInfo.cs index ded9214632..5678451677 100644 --- a/src/System.Management.Automation/singleshell/config/MshSnapinInfo.cs +++ b/src/System.Management.Automation/singleshell/config/MshSnapinInfo.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/singleshell/config/MshSnapinLoadException.cs b/src/System.Management.Automation/singleshell/config/MshSnapinLoadException.cs index a156a96ae7..c3ac0e252d 100644 --- a/src/System.Management.Automation/singleshell/config/MshSnapinLoadException.cs +++ b/src/System.Management.Automation/singleshell/config/MshSnapinLoadException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/utils/ArchitectureSensitiveAttribute.cs b/src/System.Management.Automation/utils/ArchitectureSensitiveAttribute.cs index a84c60d515..5843ec7308 100644 --- a/src/System.Management.Automation/utils/ArchitectureSensitiveAttribute.cs +++ b/src/System.Management.Automation/utils/ArchitectureSensitiveAttribute.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation.Internal diff --git a/src/System.Management.Automation/utils/BackgroundDispatcher.cs b/src/System.Management.Automation/utils/BackgroundDispatcher.cs index 5297eaecb7..724ce27bb3 100644 --- a/src/System.Management.Automation/utils/BackgroundDispatcher.cs +++ b/src/System.Management.Automation/utils/BackgroundDispatcher.cs @@ -1,6 +1,6 @@ //----------------------------------------------------------------------- // -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- diff --git a/src/System.Management.Automation/utils/ClrFacade.cs b/src/System.Management.Automation/utils/ClrFacade.cs index f8eafa3622..9a3947c2c6 100644 --- a/src/System.Management.Automation/utils/ClrFacade.cs +++ b/src/System.Management.Automation/utils/ClrFacade.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Collections.Generic; diff --git a/src/System.Management.Automation/utils/CommandDiscoveryExceptions.cs b/src/System.Management.Automation/utils/CommandDiscoveryExceptions.cs index a1e3fce7e3..41fdfed9ef 100644 --- a/src/System.Management.Automation/utils/CommandDiscoveryExceptions.cs +++ b/src/System.Management.Automation/utils/CommandDiscoveryExceptions.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/utils/CommandProcessorExceptions.cs b/src/System.Management.Automation/utils/CommandProcessorExceptions.cs index 40385b3c1f..ece59d5a15 100644 --- a/src/System.Management.Automation/utils/CommandProcessorExceptions.cs +++ b/src/System.Management.Automation/utils/CommandProcessorExceptions.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/utils/CoreProviderCmdlets.cs b/src/System.Management.Automation/utils/CoreProviderCmdlets.cs index a4a059bcc4..591de52d81 100644 --- a/src/System.Management.Automation/utils/CoreProviderCmdlets.cs +++ b/src/System.Management.Automation/utils/CoreProviderCmdlets.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation diff --git a/src/System.Management.Automation/utils/CryptoUtils.cs b/src/System.Management.Automation/utils/CryptoUtils.cs index 8e7fe44ded..2a6acccd55 100644 --- a/src/System.Management.Automation/utils/CryptoUtils.cs +++ b/src/System.Management.Automation/utils/CryptoUtils.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Text; diff --git a/src/System.Management.Automation/utils/EncodingUtils.cs b/src/System.Management.Automation/utils/EncodingUtils.cs index e98ef8968a..126314d7d3 100644 --- a/src/System.Management.Automation/utils/EncodingUtils.cs +++ b/src/System.Management.Automation/utils/EncodingUtils.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/utils/ExecutionExceptions.cs b/src/System.Management.Automation/utils/ExecutionExceptions.cs index c1e276cb51..c80c9e038e 100644 --- a/src/System.Management.Automation/utils/ExecutionExceptions.cs +++ b/src/System.Management.Automation/utils/ExecutionExceptions.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 diff --git a/src/System.Management.Automation/utils/ExtensionMethods.cs b/src/System.Management.Automation/utils/ExtensionMethods.cs index 2ed4010572..783f7b6909 100644 --- a/src/System.Management.Automation/utils/ExtensionMethods.cs +++ b/src/System.Management.Automation/utils/ExtensionMethods.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Collections.Generic; diff --git a/src/System.Management.Automation/utils/FormatAndTypeDataHelper.cs b/src/System.Management.Automation/utils/FormatAndTypeDataHelper.cs index 2817677295..9af3de5e71 100644 --- a/src/System.Management.Automation/utils/FormatAndTypeDataHelper.cs +++ b/src/System.Management.Automation/utils/FormatAndTypeDataHelper.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.IO; diff --git a/src/System.Management.Automation/utils/GraphicalHostReflectionWrapper.cs b/src/System.Management.Automation/utils/GraphicalHostReflectionWrapper.cs index 6e12613071..42facc4501 100644 --- a/src/System.Management.Automation/utils/GraphicalHostReflectionWrapper.cs +++ b/src/System.Management.Automation/utils/GraphicalHostReflectionWrapper.cs @@ -1,6 +1,6 @@ //----------------------------------------------------------------------- // -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // // // Implements GraphicalHostReflectionWrapper diff --git a/src/System.Management.Automation/utils/HostInterfacesExceptions.cs b/src/System.Management.Automation/utils/HostInterfacesExceptions.cs index ad7e421790..f5fdbb88d8 100644 --- a/src/System.Management.Automation/utils/HostInterfacesExceptions.cs +++ b/src/System.Management.Automation/utils/HostInterfacesExceptions.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/utils/IObjectReader.cs b/src/System.Management.Automation/utils/IObjectReader.cs index 0aa40826f9..5962ce5a65 100644 --- a/src/System.Management.Automation/utils/IObjectReader.cs +++ b/src/System.Management.Automation/utils/IObjectReader.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Threading; diff --git a/src/System.Management.Automation/utils/IObjectWriter.cs b/src/System.Management.Automation/utils/IObjectWriter.cs index ef7ceb237a..b33282bacb 100644 --- a/src/System.Management.Automation/utils/IObjectWriter.cs +++ b/src/System.Management.Automation/utils/IObjectWriter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation.Runspaces diff --git a/src/System.Management.Automation/utils/MetadataExceptions.cs b/src/System.Management.Automation/utils/MetadataExceptions.cs index 69e4dad6fc..5253113fe6 100644 --- a/src/System.Management.Automation/utils/MetadataExceptions.cs +++ b/src/System.Management.Automation/utils/MetadataExceptions.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics.CodeAnalysis; diff --git a/src/System.Management.Automation/utils/MshArgumentException.cs b/src/System.Management.Automation/utils/MshArgumentException.cs index 0f1cbb4a04..9be5db46b1 100644 --- a/src/System.Management.Automation/utils/MshArgumentException.cs +++ b/src/System.Management.Automation/utils/MshArgumentException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/utils/MshArgumentNullException.cs b/src/System.Management.Automation/utils/MshArgumentNullException.cs index 48fda99021..ac439801f6 100644 --- a/src/System.Management.Automation/utils/MshArgumentNullException.cs +++ b/src/System.Management.Automation/utils/MshArgumentNullException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/utils/MshArgumentOutOfRangeException.cs b/src/System.Management.Automation/utils/MshArgumentOutOfRangeException.cs index c440aec518..3bf01bf663 100644 --- a/src/System.Management.Automation/utils/MshArgumentOutOfRangeException.cs +++ b/src/System.Management.Automation/utils/MshArgumentOutOfRangeException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/utils/MshInvalidOperationException.cs b/src/System.Management.Automation/utils/MshInvalidOperationException.cs index 2a034416e0..a05810a5fc 100644 --- a/src/System.Management.Automation/utils/MshInvalidOperationException.cs +++ b/src/System.Management.Automation/utils/MshInvalidOperationException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/utils/MshNotImplementedException.cs b/src/System.Management.Automation/utils/MshNotImplementedException.cs index c250a3d7b6..f5ab26deaa 100644 --- a/src/System.Management.Automation/utils/MshNotImplementedException.cs +++ b/src/System.Management.Automation/utils/MshNotImplementedException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/utils/MshNotSupportedException.cs b/src/System.Management.Automation/utils/MshNotSupportedException.cs index a1f2c57f05..93cc975460 100644 --- a/src/System.Management.Automation/utils/MshNotSupportedException.cs +++ b/src/System.Management.Automation/utils/MshNotSupportedException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/utils/MshObjectDisposedException.cs b/src/System.Management.Automation/utils/MshObjectDisposedException.cs index 4b3f437dbd..0a83ba5db2 100644 --- a/src/System.Management.Automation/utils/MshObjectDisposedException.cs +++ b/src/System.Management.Automation/utils/MshObjectDisposedException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.Serialization; diff --git a/src/System.Management.Automation/utils/MshTraceSource.cs b/src/System.Management.Automation/utils/MshTraceSource.cs index 1b5b7c305a..8d2f5c888f 100644 --- a/src/System.Management.Automation/utils/MshTraceSource.cs +++ b/src/System.Management.Automation/utils/MshTraceSource.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #define TRACE diff --git a/src/System.Management.Automation/utils/ObjectReader.cs b/src/System.Management.Automation/utils/ObjectReader.cs index 6fd9029202..d5594fc42d 100644 --- a/src/System.Management.Automation/utils/ObjectReader.cs +++ b/src/System.Management.Automation/utils/ObjectReader.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation.Internal diff --git a/src/System.Management.Automation/utils/ObjectStream.cs b/src/System.Management.Automation/utils/ObjectStream.cs index 7b86a2a02c..cc70e79af5 100644 --- a/src/System.Management.Automation/utils/ObjectStream.cs +++ b/src/System.Management.Automation/utils/ObjectStream.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ diff --git a/src/System.Management.Automation/utils/ObjectWriter.cs b/src/System.Management.Automation/utils/ObjectWriter.cs index 7e72338b1a..35fc754f5d 100644 --- a/src/System.Management.Automation/utils/ObjectWriter.cs +++ b/src/System.Management.Automation/utils/ObjectWriter.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation.Internal diff --git a/src/System.Management.Automation/utils/PInvokeDllNames.cs b/src/System.Management.Automation/utils/PInvokeDllNames.cs index 1841115f56..9458ae964e 100644 --- a/src/System.Management.Automation/utils/PInvokeDllNames.cs +++ b/src/System.Management.Automation/utils/PInvokeDllNames.cs @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // namespace System.Management.Automation diff --git a/src/System.Management.Automation/utils/PSTelemetryMethods.cs b/src/System.Management.Automation/utils/PSTelemetryMethods.cs index c6118e7145..9558e6e02c 100644 --- a/src/System.Management.Automation/utils/PSTelemetryMethods.cs +++ b/src/System.Management.Automation/utils/PSTelemetryMethods.cs @@ -1,6 +1,6 @@ #if LEGACYTELEMETRY /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/src/System.Management.Automation/utils/PSTelemetryWrapper.cs b/src/System.Management.Automation/utils/PSTelemetryWrapper.cs index 09b5dc2dd6..6be313afee 100644 --- a/src/System.Management.Automation/utils/PSTelemetryWrapper.cs +++ b/src/System.Management.Automation/utils/PSTelemetryWrapper.cs @@ -1,6 +1,6 @@ #if LEGACYTELEMETRY /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Reflection; diff --git a/src/System.Management.Automation/utils/ParameterBinderExceptions.cs b/src/System.Management.Automation/utils/ParameterBinderExceptions.cs index bbbfa0447c..b23db53835 100644 --- a/src/System.Management.Automation/utils/ParameterBinderExceptions.cs +++ b/src/System.Management.Automation/utils/ParameterBinderExceptions.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Internal; diff --git a/src/System.Management.Automation/utils/ParserException.cs b/src/System.Management.Automation/utils/ParserException.cs index bc16ea00cd..52a208466f 100644 --- a/src/System.Management.Automation/utils/ParserException.cs +++ b/src/System.Management.Automation/utils/ParserException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics.CodeAnalysis; diff --git a/src/System.Management.Automation/utils/PathUtils.cs b/src/System.Management.Automation/utils/PathUtils.cs index 62ffc54fae..6b8b0de42d 100644 --- a/src/System.Management.Automation/utils/PathUtils.cs +++ b/src/System.Management.Automation/utils/PathUtils.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Generic; diff --git a/src/System.Management.Automation/utils/PlatformInvokes.cs b/src/System.Management.Automation/utils/PlatformInvokes.cs index e6c734d4e3..028d768c0b 100644 --- a/src/System.Management.Automation/utils/PlatformInvokes.cs +++ b/src/System.Management.Automation/utils/PlatformInvokes.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Runtime.InteropServices; diff --git a/src/System.Management.Automation/utils/PowerShellETWTracer.cs b/src/System.Management.Automation/utils/PowerShellETWTracer.cs index 59375d10e8..06e9bf3931 100644 --- a/src/System.Management.Automation/utils/PowerShellETWTracer.cs +++ b/src/System.Management.Automation/utils/PowerShellETWTracer.cs @@ -1,6 +1,6 @@ #if !UNIX // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Globalization; using System.Management.Automation.Runspaces; diff --git a/src/System.Management.Automation/utils/PowerShellExecutionHelper.cs b/src/System.Management.Automation/utils/PowerShellExecutionHelper.cs index 93ca34b8b7..0278962d6b 100644 --- a/src/System.Management.Automation/utils/PowerShellExecutionHelper.cs +++ b/src/System.Management.Automation/utils/PowerShellExecutionHelper.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/utils/PsUtils.cs b/src/System.Management.Automation/utils/PsUtils.cs index 6ca4e41117..70d5a7cde2 100644 --- a/src/System.Management.Automation/utils/PsUtils.cs +++ b/src/System.Management.Automation/utils/PsUtils.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; diff --git a/src/System.Management.Automation/utils/ResourceManagerCache.cs b/src/System.Management.Automation/utils/ResourceManagerCache.cs index cc9db9bae2..373947dca2 100644 --- a/src/System.Management.Automation/utils/ResourceManagerCache.cs +++ b/src/System.Management.Automation/utils/ResourceManagerCache.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Reflection; diff --git a/src/System.Management.Automation/utils/RuntimeException.cs b/src/System.Management.Automation/utils/RuntimeException.cs index aa40d8f8b6..5301160327 100644 --- a/src/System.Management.Automation/utils/RuntimeException.cs +++ b/src/System.Management.Automation/utils/RuntimeException.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Language; diff --git a/src/System.Management.Automation/utils/SessionStateExceptions.cs b/src/System.Management.Automation/utils/SessionStateExceptions.cs index 0c0065807b..f19ff72be2 100644 --- a/src/System.Management.Automation/utils/SessionStateExceptions.cs +++ b/src/System.Management.Automation/utils/SessionStateExceptions.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; diff --git a/src/System.Management.Automation/utils/StringUtil.cs b/src/System.Management.Automation/utils/StringUtil.cs index 825372d148..685866297d 100644 --- a/src/System.Management.Automation/utils/StringUtil.cs +++ b/src/System.Management.Automation/utils/StringUtil.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Host; diff --git a/src/System.Management.Automation/utils/StructuredTraceSource.cs b/src/System.Management.Automation/utils/StructuredTraceSource.cs index 0c94fa9659..1eb71840bd 100644 --- a/src/System.Management.Automation/utils/StructuredTraceSource.cs +++ b/src/System.Management.Automation/utils/StructuredTraceSource.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #define TRACE diff --git a/src/System.Management.Automation/utils/Verbs.cs b/src/System.Management.Automation/utils/Verbs.cs index c05071feda..8b1997f3a5 100644 --- a/src/System.Management.Automation/utils/Verbs.cs +++ b/src/System.Management.Automation/utils/Verbs.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics.CodeAnalysis; diff --git a/src/System.Management.Automation/utils/assert.cs b/src/System.Management.Automation/utils/assert.cs index 0a80a46562..5985b4e39c 100644 --- a/src/System.Management.Automation/utils/assert.cs +++ b/src/System.Management.Automation/utils/assert.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ // The define below is only valid for this file. It allows the methods diff --git a/src/System.Management.Automation/utils/perfCounters/CounterSetInstanceBase.cs b/src/System.Management.Automation/utils/perfCounters/CounterSetInstanceBase.cs index c028ac2a37..868ee0aef6 100644 --- a/src/System.Management.Automation/utils/perfCounters/CounterSetInstanceBase.cs +++ b/src/System.Management.Automation/utils/perfCounters/CounterSetInstanceBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Concurrent; diff --git a/src/System.Management.Automation/utils/perfCounters/CounterSetRegistrarBase.cs b/src/System.Management.Automation/utils/perfCounters/CounterSetRegistrarBase.cs index 840aa87bd6..f6bf886ced 100644 --- a/src/System.Management.Automation/utils/perfCounters/CounterSetRegistrarBase.cs +++ b/src/System.Management.Automation/utils/perfCounters/CounterSetRegistrarBase.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Diagnostics.PerformanceData; diff --git a/src/System.Management.Automation/utils/perfCounters/PSPerfCountersMgr.cs b/src/System.Management.Automation/utils/perfCounters/PSPerfCountersMgr.cs index 7632fbef10..17a7e50404 100644 --- a/src/System.Management.Automation/utils/perfCounters/PSPerfCountersMgr.cs +++ b/src/System.Management.Automation/utils/perfCounters/PSPerfCountersMgr.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.Concurrent; diff --git a/src/System.Management.Automation/utils/tracing/EtwActivity.cs b/src/System.Management.Automation/utils/tracing/EtwActivity.cs index d51d7b5784..45794cc00b 100644 --- a/src/System.Management.Automation/utils/tracing/EtwActivity.cs +++ b/src/System.Management.Automation/utils/tracing/EtwActivity.cs @@ -1,6 +1,6 @@ #if !UNIX // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Collections.Generic; using System.Diagnostics.Eventing; diff --git a/src/System.Management.Automation/utils/tracing/EtwActivityReverter.cs b/src/System.Management.Automation/utils/tracing/EtwActivityReverter.cs index cb33d322f2..8ae9dd9248 100644 --- a/src/System.Management.Automation/utils/tracing/EtwActivityReverter.cs +++ b/src/System.Management.Automation/utils/tracing/EtwActivityReverter.cs @@ -1,7 +1,7 @@ #if !UNIX //----------------------------------------------------------------------- // -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- diff --git a/src/System.Management.Automation/utils/tracing/EtwActivityReverterMethodInvoker.cs b/src/System.Management.Automation/utils/tracing/EtwActivityReverterMethodInvoker.cs index 349568bf7a..682accc7d8 100644 --- a/src/System.Management.Automation/utils/tracing/EtwActivityReverterMethodInvoker.cs +++ b/src/System.Management.Automation/utils/tracing/EtwActivityReverterMethodInvoker.cs @@ -1,7 +1,7 @@ #if !UNIX //----------------------------------------------------------------------- // -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- diff --git a/src/System.Management.Automation/utils/tracing/EtwEventCorrelator.cs b/src/System.Management.Automation/utils/tracing/EtwEventCorrelator.cs index b82b9734c5..7ffdf90953 100644 --- a/src/System.Management.Automation/utils/tracing/EtwEventCorrelator.cs +++ b/src/System.Management.Automation/utils/tracing/EtwEventCorrelator.cs @@ -1,7 +1,7 @@ #if !UNIX //----------------------------------------------------------------------- // -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- diff --git a/src/System.Management.Automation/utils/tracing/IMethodInvoker.cs b/src/System.Management.Automation/utils/tracing/IMethodInvoker.cs index 25c621ca69..1da52df320 100644 --- a/src/System.Management.Automation/utils/tracing/IMethodInvoker.cs +++ b/src/System.Management.Automation/utils/tracing/IMethodInvoker.cs @@ -1,7 +1,7 @@ #if !UNIX //----------------------------------------------------------------------- // -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- diff --git a/src/System.Management.Automation/utils/tracing/PSEtwLog.cs b/src/System.Management.Automation/utils/tracing/PSEtwLog.cs index c7e7f39df8..c2f449862f 100644 --- a/src/System.Management.Automation/utils/tracing/PSEtwLog.cs +++ b/src/System.Management.Automation/utils/tracing/PSEtwLog.cs @@ -1,6 +1,6 @@ #if !UNIX // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Globalization; using System.Management.Automation.Internal; diff --git a/src/System.Management.Automation/utils/tracing/PSEtwLogProvider.cs b/src/System.Management.Automation/utils/tracing/PSEtwLogProvider.cs index 67ac09ffb3..01b3b636bc 100644 --- a/src/System.Management.Automation/utils/tracing/PSEtwLogProvider.cs +++ b/src/System.Management.Automation/utils/tracing/PSEtwLogProvider.cs @@ -1,6 +1,6 @@ #if !UNIX // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Diagnostics.Eventing; using System.Management.Automation.Internal; diff --git a/src/System.Management.Automation/utils/tracing/Tracing.cs b/src/System.Management.Automation/utils/tracing/Tracing.cs index 06744989e1..b93061723c 100644 --- a/src/System.Management.Automation/utils/tracing/Tracing.cs +++ b/src/System.Management.Automation/utils/tracing/Tracing.cs @@ -1,6 +1,6 @@ #if !UNIX // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // using System.Text; diff --git a/src/powershell-native/nativemsh/pwrshcommon/ClrHostWrapper.h b/src/powershell-native/nativemsh/pwrshcommon/ClrHostWrapper.h index cb1b870cc9..6001cc3f8b 100644 --- a/src/powershell-native/nativemsh/pwrshcommon/ClrHostWrapper.h +++ b/src/powershell-native/nativemsh/pwrshcommon/ClrHostWrapper.h @@ -1,7 +1,7 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2014. +// Copyright (c) Microsoft Corporation. All rights reserved. // // File: ClrHostWrapper.h // @@ -14,7 +14,7 @@ #include #include "NativeMshConstants.h" -namespace NativeMsh +namespace NativeMsh { // // Abstract class to abstract CLR runtime host operations so that they can be @@ -57,7 +57,7 @@ namespace NativeMsh }; // - // Concrete implementation of the wrapper for CoreClr.dll's + // Concrete implementation of the wrapper for CoreClr.dll's // Platform-Agnostic hosting interface. // class CoreClrHostingApiWrapper : public ClrHostWrapper @@ -104,13 +104,13 @@ namespace NativeMsh coreclr_create_delegate_ptr createDelegatePtr; public: - CoreClrHostingApiWrapper() - : coreClrHandle(NULL), - pinnedModuleHandle(NULL), + CoreClrHostingApiWrapper() + : coreClrHandle(NULL), + pinnedModuleHandle(NULL), hostHandle(NULL), domainId(0), - initPtr(NULL), - shutdownPtr(NULL), + initPtr(NULL), + shutdownPtr(NULL), createDelegatePtr(NULL) {} @@ -119,12 +119,12 @@ namespace NativeMsh this->CleanUpHostWrapper(); } - virtual bool IsInitialized() - { - return (NULL != coreClrHandle); + virtual bool IsInitialized() + { + return (NULL != coreClrHandle); } - - // + + // // Attempts to load CoreCLR.dll from the specified directory. // On success pins the dll, sets coreCLRDirectoryPath and returns the HMODULE. // On failure returns NULL. @@ -171,7 +171,7 @@ namespace NativeMsh { return g_STOP_CLR_HOST_FAILED; } - + if (this->coreClrHandle) { // TODO: Is this comment still relevant with the new hosting API? @@ -196,12 +196,12 @@ namespace NativeMsh if (initPtr) { return initPtr( - exePath, - appDomainFriendlyName, - propertyCount, - propertyKeys, - propertyValues, - &(this->hostHandle), + exePath, + appDomainFriendlyName, + propertyCount, + propertyKeys, + propertyValues, + &(this->hostHandle), &(this->domainId)); } return E_FAIL; diff --git a/src/powershell-native/nativemsh/pwrshcommon/ConfigFileReader.h b/src/powershell-native/nativemsh/pwrshcommon/ConfigFileReader.h index 265992dbcc..e73a4c8d70 100644 --- a/src/powershell-native/nativemsh/pwrshcommon/ConfigFileReader.h +++ b/src/powershell-native/nativemsh/pwrshcommon/ConfigFileReader.h @@ -1,7 +1,7 @@ // --------------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2014. +// Copyright (c) Microsoft Corporation. All rights reserved. // // Contents: A class that extracts the path to $PSHOME and the path to its // CoreCLR from a configuration file. @@ -11,7 +11,7 @@ #include -namespace NativeMsh +namespace NativeMsh { class ConfigFileReader { diff --git a/src/powershell-native/nativemsh/pwrshcommon/IPwrshCommonOutput.h b/src/powershell-native/nativemsh/pwrshcommon/IPwrshCommonOutput.h index c746d452ff..421ce8275f 100644 --- a/src/powershell-native/nativemsh/pwrshcommon/IPwrshCommonOutput.h +++ b/src/powershell-native/nativemsh/pwrshcommon/IPwrshCommonOutput.h @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma once diff --git a/src/powershell-native/nativemsh/pwrshcommon/NativeMsh.h b/src/powershell-native/nativemsh/pwrshcommon/NativeMsh.h index 67809afb5e..26896d0dfa 100644 --- a/src/powershell-native/nativemsh/pwrshcommon/NativeMsh.h +++ b/src/powershell-native/nativemsh/pwrshcommon/NativeMsh.h @@ -1,7 +1,7 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2005. +// Copyright (c) Microsoft Corporation. All rights reserved. // // File: NativeMsh.h // @@ -24,7 +24,7 @@ #include #endif -namespace NativeMsh +namespace NativeMsh { class PwrshCommon { @@ -35,7 +35,7 @@ namespace NativeMsh public: // Provides default implementations of all dependencies - PwrshCommon(); + PwrshCommon(); // Allows users to override the default dependency objects with a specific implementations. // diff --git a/src/powershell-native/nativemsh/pwrshcommon/NativeMshConstants.h b/src/powershell-native/nativemsh/pwrshcommon/NativeMshConstants.h index 1b32523259..55702b062c 100644 --- a/src/powershell-native/nativemsh/pwrshcommon/NativeMshConstants.h +++ b/src/powershell-native/nativemsh/pwrshcommon/NativeMshConstants.h @@ -1,12 +1,12 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma once #include -namespace NativeMsh +namespace NativeMsh { // // Begin nativemsh.mc codes @@ -49,7 +49,7 @@ namespace NativeMsh const int g_NONSTANDARD_CLR_VERSION = 36; const int g_SHELLBANNER1 = 37; const int g_SHELLBANNER2 = 38; - // Win8: 622653 Creating a copy of g_MISSING_REG_KEY to address scenarios where pwszMonadVersion is NULL. + // Win8: 622653 Creating a copy of g_MISSING_REG_KEY to address scenarios where pwszMonadVersion is NULL. const int g_MISSING_REG_KEY1 = 39; // // End nativemsh.mc codes diff --git a/src/powershell-native/nativemsh/pwrshcommon/SystemCallFacade.h b/src/powershell-native/nativemsh/pwrshcommon/SystemCallFacade.h index c44d6a3145..52021a19af 100644 --- a/src/powershell-native/nativemsh/pwrshcommon/SystemCallFacade.h +++ b/src/powershell-native/nativemsh/pwrshcommon/SystemCallFacade.h @@ -1,7 +1,7 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2014. +// Copyright (c) Microsoft Corporation. All rights reserved. // // File: SystemCallFacade.h // @@ -14,7 +14,7 @@ #include #include -namespace NativeMsh +namespace NativeMsh { // // Abstract class to abstract system call operations so that they can be diff --git a/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.cpp b/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.cpp index 0c61d5bf64..5f65d70777 100644 --- a/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.cpp +++ b/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.cpp @@ -1,7 +1,7 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2014. +// Copyright (c) Microsoft Corporation. All rights reserved. // // File: WinSystemCallFacade.h // @@ -11,7 +11,7 @@ #include "WinSystemCallFacade.h" -namespace NativeMsh +namespace NativeMsh { HMODULE WINAPI WinSystemCallFacade::LoadLibraryExW( _In_ LPCWSTR lpFileName, diff --git a/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.h b/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.h index 76ecf01f31..ec8b2bf9c0 100644 --- a/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.h +++ b/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.h @@ -1,7 +1,7 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2014. +// Copyright (c) Microsoft Corporation. All rights reserved. // // File: WinSystemCallFacade.h // @@ -13,7 +13,7 @@ #include "SystemCallFacade.h" -namespace NativeMsh +namespace NativeMsh { // // Actual implementation of the system calls for use during production. diff --git a/src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp b/src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp index fb68297b53..dce1a721fa 100644 --- a/src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp +++ b/src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ // @@ -13,7 +13,7 @@ Copyright (c) Microsoft Corporation. All rights reserved. #include #include "WinSystemCallFacade.h" -namespace NativeMsh +namespace NativeMsh { // // Defining these as "static" ensures internal linkage of the values. @@ -60,7 +60,7 @@ namespace NativeMsh // this should never cause overflow because VerifyInteger guarantees pwchMinorVersion // has less than g_MAX_NUMBER_OF_DIGITS_IN_VERSION which is 10. unsigned long ulTempResult = wcstoul(pwchStart, &pwchIntEnd, 10); - // Make sure the whole string is an integer and fits an int + // Make sure the whole string is an integer and fits an int if (pwchEnd != pwchIntEnd || ulTempResult > (unsigned long)INT_MAX) { returnResult = false; @@ -486,7 +486,7 @@ namespace NativeMsh } unsigned int PwrshCommon::IsEngineRegKeyWithVersionExisting( - LPCWSTR wszMonadVersion, + LPCWSTR wszMonadVersion, LPCWSTR wszMonadMajorVersion) { unsigned int exitCode = EXIT_CODE_SUCCESS; @@ -554,7 +554,7 @@ namespace NativeMsh break; } - // For PowerShell 3 and 4, the registry is 3. + // For PowerShell 3 and 4, the registry is 3. if ((monadMajorVersion == 4) || (monadMajorVersion == 5)) { monadMajorVersion = 3; @@ -871,20 +871,20 @@ namespace NativeMsh // The location where CoreCLR PowerShell Ext binaries are expected to be installed for inbox PowerShell. static PCSTR coreCLRPowerShellExtInstallDirectory = "%windir%\\system32\\CoreClrPowerShellExt\\v1.0\\"; - // The default PowerShell install directory for inbox PowerShell. + // The default PowerShell install directory for inbox PowerShell. // This location may be overridden by placing a config file in the same directory as the PowerShell host. static PCSTR powerShellInstallPath = "%windir%\\System32\\WindowsPowerShell\\v1.0\\"; unsigned int PwrshCommon::IdentifyHostDirectory( HostEnvironment& hostEnvironment) { - // Discover the path to the plugin or the executable (pwrshplugin.dll or powershell.exe). + // Discover the path to the plugin or the executable (pwrshplugin.dll or powershell.exe). // For PowerShell Core, the plugin no longer resides in %windir%\\system32 (it is in a sub-directory). // If pwrshplugin.dll is not loaded, it means that this is running via powershell.exe. wchar_t hostPath[MAX_PATH]; DWORD thisModuleLength; - if (GetModuleHandleW(L"pwrshplugin.dll")) + if (GetModuleHandleW(L"pwrshplugin.dll")) { thisModuleLength = GetModuleFileNameW(GetModuleHandleW(L"pwrshplugin.dll"), hostPath, MAX_PATH); } @@ -897,7 +897,7 @@ namespace NativeMsh // TODO: Use GetLastError() to find the specific error # return EXIT_CODE_INIT_FAILURE; } - + // Search for the last backslash in the host path. int lastBackslashIndex; for (lastBackslashIndex = thisModuleLength - 1; lastBackslashIndex >= 0; lastBackslashIndex--) @@ -923,13 +923,13 @@ namespace NativeMsh hostEnvironment.SetHostDirectoryPathW(reader->GetPathToPowerShell().c_str()); hostEnvironment.SetCoreCLRDirectoryPathW(reader->GetPathToCoreClr().c_str()); } - else + else { // There was an issue accessing or parsing the config file OR // we are working for the EXE. // - // TODO: This should not be the fallback for inbox PowerShell.exe. - // It should use coreCLRInstallDirectory and coreCLRPowerShellExtInstallDirectory. + // TODO: This should not be the fallback for inbox PowerShell.exe. + // It should use coreCLRInstallDirectory and coreCLRPowerShellExtInstallDirectory. // // Use the directory detected via GetModuleFileName + GetModuleHandle hostEnvironment.SetHostDirectoryPathW(hostPath); @@ -1033,15 +1033,15 @@ namespace NativeMsh // // - PwrshCommon::PwrshCommon() + PwrshCommon::PwrshCommon() : output(new PwrshCommonOutputDefault()), reader(new ConfigFileReader()), sysCalls(new WinSystemCallFacade()) { } PwrshCommon::PwrshCommon( - IPwrshCommonOutput* outObj, + IPwrshCommonOutput* outObj, ConfigFileReader* rdr, - SystemCallFacade* systemCalls) + SystemCallFacade* systemCalls) : output(outObj), reader(rdr), sysCalls(systemCalls) { if (NULL == output) @@ -1392,7 +1392,7 @@ namespace NativeMsh this->output->DisplayMessage(false, g_STARTING_CLR_FAILED, GetLastError()); return exitCode; } - + const int nMaxProps = 8; LPCSTR props[nMaxProps]; LPCSTR vals[nMaxProps]; @@ -1413,13 +1413,13 @@ namespace NativeMsh } if (listEmpty) { - // No CoreCLR assemblies were found in either location. There is no + // No CoreCLR assemblies were found in either location. There is no // point in continuing. this->output->DisplayMessage(false, g_STARTING_CLR_FAILED, GetLastError()); return EXIT_CODE_INIT_FAILURE; } - props[nProps] = "TRUSTED_PLATFORM_ASSEMBLIES"; + props[nProps] = "TRUSTED_PLATFORM_ASSEMBLIES"; std::string tempStr = assemblyList.str(); vals[nProps] = tempStr.c_str(); nProps++; @@ -1433,7 +1433,7 @@ namespace NativeMsh nProps++; int hr = hostWrapper->InitializeClr( - hostEnvironment.GetHostDirectoryPath(), + hostEnvironment.GetHostDirectoryPath(), friendlyName, nProps, props, diff --git a/src/powershell-native/nativemsh/pwrshexe/CssMainEntry.cpp b/src/powershell-native/nativemsh/pwrshexe/CssMainEntry.cpp index 35497d8922..113180536a 100644 --- a/src/powershell-native/nativemsh/pwrshexe/CssMainEntry.cpp +++ b/src/powershell-native/nativemsh/pwrshexe/CssMainEntry.cpp @@ -1,7 +1,7 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2005. +// Copyright (c) Microsoft Corporation. All rights reserved. // // File: CoreCLRHost.cpp // @@ -9,8 +9,8 @@ // // ---------------------------------------------------------------------- -#include -#include +#include +#include #include #if !CORECLR #include "mscoree.h" diff --git a/src/powershell-native/nativemsh/pwrshexe/MainEntry.cpp b/src/powershell-native/nativemsh/pwrshexe/MainEntry.cpp index 5b51e99e15..102074108f 100644 --- a/src/powershell-native/nativemsh/pwrshexe/MainEntry.cpp +++ b/src/powershell-native/nativemsh/pwrshexe/MainEntry.cpp @@ -1,7 +1,7 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2005. +// Copyright (c) Microsoft Corporation. All rights reserved. // // File: MainEntry.cpp // @@ -11,7 +11,7 @@ #ifdef _PREFAST_ #pragma prefast (push) -#pragma prefast (disable: 6054) +#pragma prefast (disable: 6054) #endif /* _PREFAST_ */ #include "Nativemsh.h" @@ -71,7 +71,7 @@ bool ConvertArgvToSafeArray( } rgsabound[0].lLbound = 0; - + // rgsabound[0].cElements holds the number of elements that need to be passed to managed exe rgsabound[0].cElements = argc - 1 - skipIndex; psa = SafeArrayCreate(VT_BSTR, 1, rgsabound); @@ -83,7 +83,7 @@ bool ConvertArgvToSafeArray( } long psaIndex[1]; - psaIndex[0] = 0; + psaIndex[0] = 0; if (0 != rgsabound[0].cElements) { @@ -116,7 +116,7 @@ bool ConvertArgvToSafeArray( bool FileExists(__in LPWSTR pszFileName) { - return (GetFileAttributesW(pszFileName) != INVALID_FILE_ATTRIBUTES); + return (GetFileAttributesW(pszFileName) != INVALID_FILE_ATTRIBUTES); } unsigned int LaunchManagedMonad( @@ -144,7 +144,7 @@ unsigned int LaunchManagedMonad( break; } // Use the hosting interfaces from .Net Framework 1.1 - CComPtr pCLR = NULL; + CComPtr pCLR = NULL; exitCode = pwrshCommon.LaunchCLR(wszMonadVersion, wszRuntimeVersion, &pCLR); @@ -187,7 +187,7 @@ unsigned int LaunchManagedMonad( // use CreateInstance because we use the assembly strong name (as opposed to CreateInstanceFrom) _bstr_t bstrConsoleHostAssemblyName = _bstr_t(wszConsoleHostAssemblyName); - _bstr_t bstrUnmanagedMshEntryClass = _bstr_t(L"Microsoft.PowerShell.UnmanagedPSEntry"); + _bstr_t bstrUnmanagedMshEntryClass = _bstr_t(L"Microsoft.PowerShell.UnmanagedPSEntry"); hr = spDefaultDomain->CreateInstance( bstrConsoleHostAssemblyName, @@ -211,13 +211,13 @@ unsigned int LaunchManagedMonad( CComPtr pDisp; pDisp = VntUnwrapped.pdispVal; - + OLECHAR FAR * wszMember = L"Start"; - + DISPID dispid; //Retrieve the DISPID hr = pDisp->GetIDsOfNames ( - IID_NULL, + IID_NULL, &wszMember, 1, LOCALE_SYSTEM_DEFAULT, @@ -233,7 +233,7 @@ unsigned int LaunchManagedMonad( VARIANT pVarArgs[2]; // Both EnterWithConsoleFile and EnterWithConsoleFile take a string and a string array - // The order of the arguments need to be reversed in this array + // The order of the arguments need to be reversed in this array pVarArgs[0].vt = VT_ARRAY; pVarArgs[0].parray = pArgvSA; @@ -761,7 +761,7 @@ unsigned int ParseCommandLineArguments( const wchar_t * wszArgumentServerMode20Short = L"s"; const int cchArgumentServerMode20Short = 2; // including null terminating bool bServerMode20Specified = false; - + int version_lpMonadMajorVersion = -1; int version_lpMonadMinorVersion = -1; wchar_t * version_pwszMonadVersion = NULL; @@ -783,7 +783,7 @@ unsigned int ParseCommandLineArguments( exitCode = EXIT_CODE_BAD_COMMAND_LINE_PARAMETER; break; } - + *lpMonadVersionIndex = *lpMonadMinorVersion = -1; if (1 >= argc) { @@ -794,7 +794,7 @@ unsigned int ParseCommandLineArguments( int idxParameterPosition = 1; LPCWSTR wszCommandLineInput = argv[idxParameterPosition]; - + // Parse for -version if (IsParameterMatched(wszArgumentVersion, cchArgumentVersion, wszCommandLineInput)) { @@ -806,14 +806,14 @@ unsigned int ParseCommandLineArguments( exitCode = EXIT_CODE_BAD_COMMAND_LINE_PARAMETER; break; } - *lpMonadVersionIndex = idxParameterPosition - 1; + *lpMonadVersionIndex = idxParameterPosition - 1; *pwszMonadVersion = argv[idxParameterPosition]; - + // Save the version values in case we need to override the version in psconsolefile version_lpMonadMajorVersion = *lpMonadMajorVersion; version_lpMonadMinorVersion = *lpMonadMinorVersion; version_pwszMonadVersion = argv[idxParameterPosition]; - + if (idxParameterPosition < argc - 1) { idxParameterPosition = idxParameterPosition + 1; @@ -846,11 +846,11 @@ unsigned int ParseCommandLineArguments( *lpMonadMinorVersion = -1; bServerMode20Specified = true; *pwszMonadVersion = L"2.0"; - + // let the rest of the parameter processing happen in managed code for -ServerMode // hence not updating wszCommandLineInput } - + // Parse for CLR Version if (IsParameterMatched(wszArgumentRuntimeVersion, cchArgumentRuntimeVersion, wszCommandLineInput)) { @@ -909,7 +909,7 @@ unsigned int ParseCommandLineArguments( exitCode = EXIT_CODE_BAD_COMMAND_LINE_PARAMETER; break; } - } + } // Parse for NoProfile if (IsParameterMatched(wszArgumentMonadProfile, cchArgumentMonadProfile, wszCommandLineInput) || @@ -924,20 +924,20 @@ unsigned int ParseCommandLineArguments( { *lpMonadMajorVersion = 3; *lpMonadMinorVersion = -1; - + wchar_t * wszConsoleFile = NULL; wchar_t * wszConsoleHostAssemblyName = NULL; wchar_t * wszRuntimeVersion = NULL; wchar_t * tempMonadVersion = NULL; - - // This gets the Monad Version from the registry + + // This gets the Monad Version from the registry exitCode = pwrshCommon.GetRegistryInfo( &tempMonadVersion, lpMonadMajorVersion, *lpMonadMinorVersion, &wszRuntimeVersion, &wszConsoleHostAssemblyName); - + if (EXIT_CODE_SUCCESS != exitCode) { break; @@ -963,7 +963,7 @@ unsigned int ParseCommandLineArguments( #pragma prefast(pop) -/********************************************************* +/********************************************************* Loads a string from the modules resource **********************************************************/ HRESULT SafeLoadString(UINT uId, __deref_out LPWSTR* ppszString) @@ -1020,8 +1020,8 @@ shortcut Note that the above short cut will not be stored on disk **************************************************************************/ -HRESULT CreateShortCut(PCWSTR pszDisplay, PCWSTR pszAppPath, PCWSTR pszDescription, - PCWSTR pszArguments, PCWSTR pszIconAppPath, int iIconIndex, bool requiresElevation, +HRESULT CreateShortCut(PCWSTR pszDisplay, PCWSTR pszAppPath, PCWSTR pszDescription, + PCWSTR pszArguments, PCWSTR pszIconAppPath, int iIconIndex, bool requiresElevation, bool console,IShellLink **ppShortCut) { CComPtr pShellLink; // pointer to a shell link @@ -1085,7 +1085,7 @@ HRESULT CreateShortCut(PCWSTR pszDisplay, PCWSTR pszAppPath, PCWSTR pszDescripti if (requiresElevation) { // It has methods GetFlags() and SetFlags() to obtain - // and modify the flags on a shell link. The + // and modify the flags on a shell link. The // SLDF_RUNAS_USER should be set to allow running as an // administrator @@ -1128,7 +1128,7 @@ INT CheckForISE() } free(pszExpandedPath); } - + return isePresent; } @@ -1205,16 +1205,16 @@ unsigned int ValidateDownlevelSetupHadClrWhenInstalled( // Else, Launch PowerShell LONG lResult = RegQueryValueExW(hEngineKey, g_NetFX_V4_IS_INSTALLED_KEY, NULL, NULL, NULL, &valueLengthInByte); if (lResult == ERROR_SUCCESS) - { - // If the data has the REG_SZ, REG_MULTI_SZ or REG_EXPAND_SZ type, this size includes any terminating null character or characters + { + // If the data has the REG_SZ, REG_MULTI_SZ or REG_EXPAND_SZ type, this size includes any terminating null character or characters // unless the data was stored without them - http://msdn.microsoft.com/en-us/library/ms724911(VS.85).aspx - NetFxV4IsInstalledKeyValue = new wchar_t[valueLengthInByte / sizeof(wchar_t)]; + NetFxV4IsInstalledKeyValue = new wchar_t[valueLengthInByte / sizeof(wchar_t)]; if (NULL == NetFxV4IsInstalledKeyValue) { exitCode = EXIT_CODE_INIT_FAILURE; } else - { + { memset(NetFxV4IsInstalledKeyValue, 0, valueLengthInByte); lResult = RegQueryValueExW( @@ -1222,9 +1222,9 @@ unsigned int ValidateDownlevelSetupHadClrWhenInstalled( g_NetFX_V4_IS_INSTALLED_KEY, NULL, NULL, - (LPBYTE) NetFxV4IsInstalledKeyValue, + (LPBYTE) NetFxV4IsInstalledKeyValue, &valueLengthInByte); - + if (lResult == ERROR_SUCCESS) { if (0 == wcsncmp(NetFxV4IsInstalledKeyValue, L"No", 2)) @@ -1272,7 +1272,7 @@ HRESULT AddPowerShellTasksToList(ICustomDestinationList *pCustDestList, STARTUPI LPCWSTR lpParentShortCut = startupInfo.lpTitle; LPWSTR pathRegValue = NULL; BOOL foundlnkFile = false; - + if (NULL == lpParentShortCut || ( (startupInfo.dwFlags & STARTF_TITLEISLINKNAME) != STARTF_TITLEISLINKNAME ) ) { LPWSTR pathRegValueName =NULL; @@ -1291,12 +1291,12 @@ HRESULT AddPowerShellTasksToList(ICustomDestinationList *pCustDestList, STARTUPI retVal = RegGetValue(HKEY_LOCAL_MACHINE, g_ConsoleHostShortcutTarget_KEY_PATH, pathRegValueName, RRF_RT_REG_SZ | RRF_RT_REG_EXPAND_SZ | RRF_NOEXPAND, NULL, NULL, &valueLengthInByte); if (ERROR_SUCCESS == retVal) { - pathRegValue = new wchar_t[valueLengthInByte / sizeof(wchar_t) +1]; + pathRegValue = new wchar_t[valueLengthInByte / sizeof(wchar_t) +1]; memset(pathRegValue, 0, valueLengthInByte + sizeof(wchar_t)); - retVal = RegGetValue(HKEY_LOCAL_MACHINE, g_ConsoleHostShortcutTarget_KEY_PATH, pathRegValueName, RRF_RT_REG_SZ | RRF_RT_REG_EXPAND_SZ | RRF_NOEXPAND, NULL, pathRegValue, &valueLengthInByte); + retVal = RegGetValue(HKEY_LOCAL_MACHINE, g_ConsoleHostShortcutTarget_KEY_PATH, pathRegValueName, RRF_RT_REG_SZ | RRF_RT_REG_EXPAND_SZ | RRF_NOEXPAND, NULL, pathRegValue, &valueLengthInByte); if (retVal == ERROR_SUCCESS) - { + { lpParentShortCut = pathRegValue; foundlnkFile = true; } @@ -1377,9 +1377,9 @@ HRESULT AddPowerShellTasksToList(ICustomDestinationList *pCustDestList, STARTUPI HRESULT hr = pShellLink.CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER); CheckAndReturn(hr); - hr = pShellLink->QueryInterface(IID_IPersistFile, (LPVOID*)&pPersistFile); + hr = pShellLink->QueryInterface(IID_IPersistFile, (LPVOID*)&pPersistFile); CheckAndReturn(hr); - + hr = pPersistFile->Load(g_IconApp, STGM_READWRITE); int iconIndex = 0; if (SUCCEEDED(hr)) @@ -1387,7 +1387,7 @@ HRESULT AddPowerShellTasksToList(ICustomDestinationList *pCustDestList, STARTUPI hr = pShellLink->GetIconLocation(g_IconApp, MAX_PATH, &iconIndex); CheckAndReturn(hr); } - else + else { LPCWSTR powerShellExec = L"%windir%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"; @@ -1395,7 +1395,7 @@ HRESULT AddPowerShellTasksToList(ICustomDestinationList *pCustDestList, STARTUPI StringCchLength(powerShellExec, STRSAFE_MAX_LENGTH, &length); - StringCchCopy(g_IconApp, length+1, powerShellExec); + StringCchCopy(g_IconApp, length+1, powerShellExec); } CComPtr pShortCutCollection; @@ -1407,14 +1407,14 @@ HRESULT AddPowerShellTasksToList(ICustomDestinationList *pCustDestList, STARTUPI LPWSTR pszDisplay = NULL; // display string LPWSTR pszDescription = NULL; // description string - + // 1. Add "Run Windows PowerShell as admin" hr = SafeLoadString(118, &pszDisplay); CheckAndReturn(hr); SafeLoadString(119, &pszDescription); CheckAndReturn(hr); - + // create shortcut hr = CreateShortCut(pszDisplay, lpParentShortCut, pszDescription, NULL, g_IconApp, iconIndex, true, true, &pShortCut); @@ -1431,7 +1431,7 @@ HRESULT AddPowerShellTasksToList(ICustomDestinationList *pCustDestList, STARTUPI // check if ISE is present if (CheckForISE()) { - // Add shortcut for "Run ISE as Administrator" + // Add shortcut for "Run ISE as Administrator" hr = SafeLoadString(122, &pszDisplay); CheckAndReturn(hr); SafeLoadString(123, &pszDescription); @@ -1477,7 +1477,7 @@ HRESULT AddPowerShellTasksToList(ICustomDestinationList *pCustDestList, STARTUPI } /********************************************************************* -* FileExists is a helper function used to check if the file path +* FileExists is a helper function used to check if the file path * provided as argument to this function exists or not. *********************************************************************/ BOOL FileExists(LPCWSTR fileName) @@ -1485,16 +1485,16 @@ BOOL FileExists(LPCWSTR fileName) HANDLE hFile; LPSECURITY_ATTRIBUTES pSec = (LPSECURITY_ATTRIBUTES)NULL; ::SetLastError(ERROR_SUCCESS); - hFile = ::CreateFile(fileName, + hFile = ::CreateFile(fileName, GENERIC_READ, FILE_SHARE_READ, // | FILE_SHARE_WRITE, pSec, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_RANDOM_ACCESS, 0); - if(hFile != INVALID_HANDLE_VALUE) + if(hFile != INVALID_HANDLE_VALUE) { - ::CloseHandle(hFile); + ::CloseHandle(hFile); return TRUE; } else { @@ -1510,7 +1510,7 @@ void CreateCustomDestinationList(STARTUPINFO &startupInfo) CoInitialize(NULL); CComPtr pCustDestList; // pointer to the jump list - UINT uMaxSlots = 0; // maximum slots available for us + UINT uMaxSlots = 0; // maximum slots available for us // to create items in jump list HRESULT hr = pCustDestList.CoCreateInstance(CLSID_DestinationList, NULL, CLSCTX_INPROC_SERVER); @@ -1520,7 +1520,7 @@ void CreateCustomDestinationList(STARTUPINFO &startupInfo) CComPtr pRemovedItems; // Items just removed when this transaction begins // start a list building transaction - // this method needs to be called before + // this method needs to be called before // any of the other methods in ICustomDestinationList hr = pCustDestList->BeginList(&uMaxSlots, IID_PPV_ARGS(&pRemovedItems)); @@ -1572,7 +1572,7 @@ int __cdecl wchar_t * wszDefaultRuntimeVersion = NULL; wchar_t * wszRuntimeVersion = NULL; wchar_t * wszConsoleHostAssemblyName = NULL; - + bool isDeletewszMonadVersionNeeded = false; unsigned int exitCode = EXIT_CODE_SUCCESS; @@ -1584,7 +1584,7 @@ int __cdecl // interface language separate from thread locale. // Setting this will enable OS resource loader to load correct // resource that can display properly in a console window. - // Note: If the language identifier is 0, the function always + // Note: If the language identifier is 0, the function always // succeeds. SetThreadUILanguage(0); @@ -1615,7 +1615,7 @@ int __cdecl int consoleFileIndex = -1; int profileIndex = -1; const float win8DefaultMonadMajorVersion = 3.0; - + exitCode = ParseCommandLineArguments( argc, argv, @@ -1634,7 +1634,7 @@ int __cdecl } // WinPE supports only PowerShell >=3.0. - // If the PowerShell host is a WinPE machine & if the requested + // If the PowerShell host is a WinPE machine & if the requested // PowerShell version is not 3.0, then display an not supported monad version error message. if(IsWinPEHost() && (monadMajorVersion == 1 || monadMajorVersion == 2)) { @@ -1643,13 +1643,13 @@ int __cdecl break; } - // This is for remembering which major version is requested from command line. + // This is for remembering which major version is requested from command line. // GetRegistryInfo call after this will change monadMajorVersion to be PowerShell - // major version installed (based on registry). + // major version installed (based on registry). // int requestedMonadMajorVersion = monadMajorVersion; // For GetRegistryInfo call, monadMajorVersion is used to calculate the version key in registry. - // For PowerShell V2, version key in registry is 1. + // For PowerShell V2, version key in registry is 1. if (monadMajorVersion == 2) { monadMajorVersion = 1; @@ -1675,24 +1675,24 @@ int __cdecl } bool skipProfile = profileIndex != -1; - + // skipIndex holds the position of the last parameter that needs to be handled by the native layer. // In other words, skipIndex + 1 will give the position of the first parameter that needs to be passed to managed layer. // Find the last native parameter, and chomp everything up until it. - // We don't do this for NoProfile. We parse it once here and then parse it again in the managed layer. + // We don't do this for NoProfile. We parse it once here and then parse it again in the managed layer. int skipIndex = -1; - + if(monadVersionIndex > skipIndex) { skipIndex = monadVersionIndex; } if(consoleFileIndex > skipIndex) { skipIndex = consoleFileIndex; } if(runtimeVersionIndex > skipIndex) { skipIndex = runtimeVersionIndex; } - + skipIndex = skipIndex + 1; - // WTR - Check for the key that indicates absence of NetFx4 and output appropriate message to the user - + // WTR - Check for the key that indicates absence of NetFx4 and output appropriate message to the user + // Open PowerShellEngine Registry Key // For GetRegistryInfo call, monadMajorVersion is used to calculate the version key in registry. - // For PowerShell V2, version key in registry is 1. + // For PowerShell V2, version key in registry is 1. int useMonadMajorVersion = -1; if (monadMajorVersion == 2) { @@ -1700,9 +1700,9 @@ int __cdecl } else { - useMonadMajorVersion = 3; + useMonadMajorVersion = 3; } - + // If runtimeVersion is not supplied, validate that the defaultRuntimeVersion is installed. // We can't do runtimeVersion validation on the user input, as this frequently changes per // release of the .NET Framework. @@ -1775,7 +1775,7 @@ int __cdecl if (g_hResInstance) { FreeMUILibrary(g_hResInstance); - } + } return exitCode; } diff --git a/src/powershell-native/nativemsh/pwrshexe/MshResources.rc b/src/powershell-native/nativemsh/pwrshexe/MshResources.rc index 7180af2633..ec1afc43da 100644 --- a/src/powershell-native/nativemsh/pwrshexe/MshResources.rc +++ b/src/powershell-native/nativemsh/pwrshexe/MshResources.rc @@ -1,4 +1,4 @@ -// Copyright (C) 2005 Microsoft Corporation +// Copyright (c) Microsoft Corporation. All rights reserved. // // resource script for msh.exe // @@ -28,16 +28,16 @@ BEGIN 110 "Windows PowerShell (x86)" 111 "Performs object-based (command-line) functions" 112 "Run as 32" - 113 "Windows PowerShell Integrated Scripting Environment. Performs object-based (command-line) functions" + 113 "Windows PowerShell Integrated Scripting Environment. Performs object-based (command-line) functions" 118 "Run as Administrator" 119 "Runs with administrator privileges" 120 "Windows PowerShell Cmdlet Definition XML Document" 121 "Windows PowerShell Session Configuration File" 122 "Run ISE as Administrator" 123 "Runs ISE with administrator privileges" - + // Misc resources - + // Friendly name for our OID mapping 124 "Document Encryption" END diff --git a/src/powershell-native/nativemsh/pwrshexe/NativeMsh.mc b/src/powershell-native/nativemsh/pwrshexe/NativeMsh.mc index 3ff1a74938..63f9ba41ff 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, 2000 - 2002 +;// Copyright (c) Microsoft Corporation. All rights reserved. MessageId=1 SymbolicName=MISSING_COMMAND_LINE_ARGUMENT @@ -225,7 +225,7 @@ Windows PowerShell MessageId=38 SymbolicName=SHELLBANNER2 Language=English -Copyright (C) 2015 Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. . MessageId=39 diff --git a/src/powershell-native/nativemsh/pwrshexe/OutputWriter.h b/src/powershell-native/nativemsh/pwrshexe/OutputWriter.h index 6a5ccb76cc..84033f7f03 100644 --- a/src/powershell-native/nativemsh/pwrshexe/OutputWriter.h +++ b/src/powershell-native/nativemsh/pwrshexe/OutputWriter.h @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma once @@ -83,7 +83,7 @@ void WriteStandard( } /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ class PwrshExeOutput : public NativeMsh::IPwrshCommonOutput diff --git a/src/powershell-native/nativemsh/pwrshexe/version.rc b/src/powershell-native/nativemsh/pwrshexe/version.rc index 071f08b7cf..796fc8c039 100644 --- a/src/powershell-native/nativemsh/pwrshexe/version.rc +++ b/src/powershell-native/nativemsh/pwrshexe/version.rc @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // #include #include diff --git a/src/powershell-native/nativemsh/pwrshplugin/entrypoints.cpp b/src/powershell-native/nativemsh/pwrshplugin/entrypoints.cpp index 6c40a8162c..ee7685a0c9 100644 --- a/src/powershell-native/nativemsh/pwrshplugin/entrypoints.cpp +++ b/src/powershell-native/nativemsh/pwrshplugin/entrypoints.cpp @@ -1,7 +1,7 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2007. +// Copyright (c) Microsoft Corporation. All rights reserved. // // Contents: Entry points for PowerShell plugin used to host powershell // in a WSMan service. @@ -38,7 +38,7 @@ DWORD GetFormattedErrorMessage(__deref_out PWSTR * pwszErrorMessage, DWORD dwMes { DWORD dwLength = 0; - do + do { *pwszErrorMessage = NULL; @@ -50,7 +50,7 @@ DWORD GetFormattedErrorMessage(__deref_out PWSTR * pwszErrorMessage, DWORD dwMes g_hResourceInstance = LoadMUILibraryW(g_MAIN_BINARY_NAME, MUI_LANGUAGE_NAME, 0); #endif } - + LPWSTR wszSystemErrorMessage = NULL; //string function dwLength = FormatMessageW( @@ -78,7 +78,7 @@ DWORD GetFormattedErrorMessage(__deref_out PWSTR * pwszErrorMessage, DWORD dwMes LocalFree(wszSystemErrorMessage); } - }while(false); + }while(false); return dwLength; } @@ -101,8 +101,8 @@ DWORD GetFormattedErrorMessage(__deref_out PZPWSTR pwszErrorMessage, DWORD dwMes #pragma prefast (disable: 6101) #pragma prefast (disable: 6054) -unsigned int ConstructPowerShellVersion(int iPSMajorVersion, - int iPSMinorVersion, +unsigned int ConstructPowerShellVersion(int iPSMajorVersion, + int iPSMinorVersion, __deref_out_opt PWSTR *pwszMonadVersion) { unsigned int exitCode = EXIT_CODE_SUCCESS; @@ -187,7 +187,7 @@ static PwrshCommon sPwrshCommon; // returns: 0 on success, non-zero on failure. _Success_(return == 0) //EXIT_CODE_SUCCESS extern "C" -unsigned int GetCLRVersionForPSVersion(int iPSMajorVersion, +unsigned int GetCLRVersionForPSVersion(int iPSMajorVersion, int iPSMinorVersion, size_t runtimeVersionLength, __inout_ecount_part(runtimeVersionLength, *pRuntimeVersionLength) wchar_t* pwszRuntimeVersion, @@ -211,24 +211,24 @@ unsigned int GetCLRVersionForPSVersion(int iPSMajorVersion, int requestedMonadMinorVersion = iPSMinorVersion; // For GetRegistryInfo call, monadMajorVersion is used to calculate the version key in registry. - // For PowerShell V2, version key in registry is 1. + // For PowerShell V2, version key in registry is 1. if (2 == requestedMonadMajorVersion) { requestedMonadMajorVersion = 1; } - // For PowerShell 3, 4 and 5, the registry is 3. + // For PowerShell 3, 4 and 5, the registry is 3. if ((requestedMonadMajorVersion == 4) || (requestedMonadMajorVersion == 5)) { requestedMonadMajorVersion = 3; } - + exitCode = ConstructPowerShellVersion(iPSMajorVersion, iPSMinorVersion, &wszMonadVersion); if (EXIT_CODE_SUCCESS != exitCode) { - break; + break; } - + exitCode = sPwrshCommon.GetRegistryInfo( &wszMonadVersion, &requestedMonadMajorVersion, @@ -248,7 +248,7 @@ unsigned int GetCLRVersionForPSVersion(int iPSMajorVersion, exitCode = EXIT_CODE_READ_REGISTRY_FAILURE; break; } - + if (NULL != pwszRuntimeVersion) { // +1 for the '\0' @@ -308,7 +308,7 @@ DWORD ReportOperationComplete(WSMAN_PLUGIN_REQUEST *requestDetails, DWORD errorC DWORD result = EXIT_CODE_SUCCESS; PWSTR pwszErrorMessage = NULL; GetFormattedErrorMessage(&pwszErrorMessage, errorCode); - + result = WSManPluginOperationComplete(requestDetails, 0, errorCode, pwszErrorMessage); if (NULL != pwszErrorMessage) @@ -320,8 +320,8 @@ DWORD ReportOperationComplete(WSMAN_PLUGIN_REQUEST *requestDetails, DWORD errorC } // ----------------------------------------------------------------------------- -// Each plug-in needs to support the Startup callback. A plug-in may be -// initialized more than once within the same process, but only once per +// Each plug-in needs to support the Startup callback. A plug-in may be +// initialized more than once within the same process, but only once per // applicationIdentification. // ----------------------------------------------------------------------------- extern "C" @@ -332,7 +332,7 @@ DWORD WINAPI WSManPluginStartup( __out PVOID *pluginContext ) { -// +// #ifdef REMOTINGDEBUG // This loop is added to assist debugging server. // Attach a debugger to the server and set this variable to true @@ -346,7 +346,7 @@ DWORD WINAPI WSManPluginStartup( PwrshPlugIn* result = NULL; try - { + { *pluginContext = NULL; PwrshPlugInMediator* pluginMediator = PwrshPlugInMediator::GetPwrshPlugInMediator(extraInfo); @@ -368,7 +368,7 @@ DWORD WINAPI WSManPluginStartup( // { // pfnWinSqmSetDWORD( // NULL, - // DATAID_WINRMREMOTEENABLED, + // DATAID_WINRMREMOTEENABLED, // WINRM_SQM_DATA_REMOTEENABLED // ); // } @@ -396,16 +396,16 @@ DWORD WINAPI WSManPluginStartup( // ------------------------------------------------------------------------------------ //The WSManPluginShutdown method is called after all operations have been cancelled and -//right before the DLL is unloaded. The DLL entry point name must be WSManPluginShutdown. -//This method has an important purpose of making sure all plug-in threads are shut down -//before this method returns. If the plug-in only handles synchronous operations and all -//threads report a cancellation result before they return then this method does not have to -//do anything too complex other than plug-in cleanup. However for an asynchronous plug-in, -//any threads that are used to process the plug-in threads, including the ones that just reported +//right before the DLL is unloaded. The DLL entry point name must be WSManPluginShutdown. +//This method has an important purpose of making sure all plug-in threads are shut down +//before this method returns. If the plug-in only handles synchronous operations and all +//threads report a cancellation result before they return then this method does not have to +//do anything too complex other than plug-in cleanup. However for an asynchronous plug-in, +//any threads that are used to process the plug-in threads, including the ones that just reported //the cancellation for all operations need to completely shutdown. Not doing this will cause //potential crashes in the DLL because code may be executed after the DLL is unloaded. // ------------------------------------------------------------------------------------ -// reason: If this is a system shutdown this will be WSMAN_PLUGIN_SHUTDOWN_SYSTEM. +// reason: If this is a system shutdown this will be WSMAN_PLUGIN_SHUTDOWN_SYSTEM. // For WSMan service shutdown this will be WSMAN_PLUGIN_SHUTDOWN_SERVICE. For an IIS host //shutdown this will be WSMAN_PLUGIN_SHUTDOWN_IISHOST. extern "C" @@ -414,7 +414,7 @@ DWORD WINAPI WSManPluginShutdown( __in DWORD flags, __in DWORD reason ) -{ +{ if (NULL == pluginContext) { return g_NULL_PLUGIN_CONTEXT; @@ -429,11 +429,11 @@ DWORD WINAPI WSManPluginShutdown( { // ignore plugin exceptions during shutdown. if (NULL != e) - { + { delete e; } } - + // free resources occupied by this plugin.. // WSMan frees shell/command resources before calling // plugin shutdown. @@ -444,15 +444,15 @@ DWORD WINAPI WSManPluginShutdown( } #ifndef WIN32_FROM_HRESULT -#define WIN32_FROM_HRESULT(hr) (HRESULT_FACILITY(hr) == FACILITY_WIN32 ? HRESULT_CODE(hr) : hr) +#define WIN32_FROM_HRESULT(hr) (HRESULT_FACILITY(hr) == FACILITY_WIN32 ? HRESULT_CODE(hr) : hr) #endif // ----------------------------------------------------------------------------- // A plug-in that supports the Shell operations needs to implement this callback // to allow commands to be created and to allow data to be streamed into either -// a shell or command. The plug-in must call WSManPluginReportContext to +// a shell or command. The plug-in must call WSManPluginReportContext to // report the shell context. Once the shell is completed or when it is closed -// via the operationClosed boolean value or operationClosedHandle in the +// via the operationClosed boolean value or operationClosedHandle in the // requestDetails the plug-in needs to call WSManPluginOperationComplete. // The shell is active until this time. // ----------------------------------------------------------------------------- @@ -490,7 +490,7 @@ VOID WINAPI WSManPluginShell( } else if (hr == RPC_E_CHANGED_MODE) { - comInitialized = false; //ignore + comInitialized = false; //ignore } else { @@ -526,9 +526,9 @@ VOID WINAPI WSManPluginShell( } // ----------------------------------------------------------------------------- -// WS-Man calls the WSMAN_PLUGIN_RELEASE_SHELL_CONTEXT entry point during shell -// shutdown when it is safe to delete the plug-in shell context. Any context -// reported through WSManPluginReportContext may not be deleted until the +// WS-Man calls the WSMAN_PLUGIN_RELEASE_SHELL_CONTEXT entry point during shell +// shutdown when it is safe to delete the plug-in shell context. Any context +// reported through WSManPluginReportContext may not be deleted until the // corresponding release function has been called. Failure to follow the contract // will result in errors being generated. // ----------------------------------------------------------------------------- @@ -549,7 +549,7 @@ VOID WINAPI WSManPluginReleaseShellContext(__in PVOID shellContext) { // ignore plugin exceptions. if (NULL != e) - { + { delete e; } } @@ -559,9 +559,9 @@ VOID WINAPI WSManPluginReleaseShellContext(__in PVOID shellContext) // ----------------------------------------------------------------------------- // A plug-in that supports the Shell operations and needs to create commands // that are associated with the shell needs to implement this callback. -// The plug-in must call WSManPluginReportContext to +// The plug-in must call WSManPluginReportContext to // report the command context. Once the command is completed or when it is closed -// via the operationClosed boolean value or operationClosedHandle in the +// via the operationClosed boolean value or operationClosedHandle in the // requestDetails the plug-in needs to call WSManPluginOperationComplete. // The command is active until this time. // ----------------------------------------------------------------------------- @@ -593,9 +593,9 @@ VOID WINAPI WSManPluginCommand( } // --------------------------------------------------------------------------------- -// WS-Man calls the WSMAN_PLUGIN_RELEASE_COMMAND_CONTEXT entry point during command -// shutdown when it is safe to delete the plug-in shell context. Any context -// reported through WSManPluginReportContext may not be deleted until the +// WS-Man calls the WSMAN_PLUGIN_RELEASE_COMMAND_CONTEXT entry point during command +// shutdown when it is safe to delete the plug-in shell context. Any context +// reported through WSManPluginReportContext may not be deleted until the // corresponding release function has been called. Failure to follow the contract // will result in errors being generated. // --------------------------------------------------------------------------------- @@ -619,7 +619,7 @@ VOID WINAPI WSManPluginReleaseCommandContext( { // ignore plugin exceptions. if (NULL != e) - { + { delete e; } } @@ -628,7 +628,7 @@ VOID WINAPI WSManPluginReleaseCommandContext( // ----------------------------------------------------------------------------- // A plug-in receives an inbound data stream to either the shell or command // via this callback. Each piece of data causes the callback to be called once. -// For each piece of data the plug-in calls WSManPluginResultComplete to +// For each piece of data the plug-in calls WSManPluginResultComplete to // acknowledge receipt and to allow the next piece of data to be delivered. // ----------------------------------------------------------------------------- extern "C" @@ -664,11 +664,11 @@ VOID WINAPI WSManPluginSend( // via this callback. This API is called when an inbound request from a client // is received. This callback may be called against the shell and/or command // based on the client request. Each piece of data that needs to be sent back -// to the client is done so through the WSManPluginReceiveResult API. Once +// to the client is done so through the WSManPluginReceiveResult API. Once // all data has been send, when the stream is terminated via some internal means, -// or if the receive call is cancelled through the operationClosed boolean -// value or operationClosedHandle, the plug-in needs to call -// WSManPluginResultComplete. The operation is marked as active until this +// or if the receive call is cancelled through the operationClosed boolean +// value or operationClosedHandle, the plug-in needs to call +// WSManPluginResultComplete. The operation is marked as active until this // time. // ----------------------------------------------------------------------------- extern "C" @@ -701,7 +701,7 @@ VOID WINAPI WSManPluginReceive( // ----------------------------------------------------------------------------- // A plug-in receives an inbound signal to either the shell or command // via this callback. Each signal causes the callback to be called once. -// For each callthe plug-in calls WSManPluginResultComplete to +// For each callthe plug-in calls WSManPluginResultComplete to // acknowledge receipt and to allow the next signal to be received. // A signal can cause the shell or command to be terminated, so the result // of this callback may be many completion calls for the Signal, Receive, Command diff --git a/src/powershell-native/nativemsh/pwrshplugin/entrypoints.h b/src/powershell-native/nativemsh/pwrshplugin/entrypoints.h index bd2e92d7a3..90365cd482 100644 --- a/src/powershell-native/nativemsh/pwrshplugin/entrypoints.h +++ b/src/powershell-native/nativemsh/pwrshplugin/entrypoints.h @@ -1,7 +1,7 @@ // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2007. +// Copyright (c) Microsoft Corporation. All rights reserved. // -// Contents: Headers used by pwrshplugin. +// Contents: Headers used by pwrshplugin. // pwrshplugin is totally unmanaged. // ---------------------------------------------------------------------- diff --git a/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.cpp b/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.cpp index 891775193e..1f2bcf085d 100644 --- a/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.cpp +++ b/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.cpp @@ -1,9 +1,9 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2014. +// Copyright (c) Microsoft Corporation. All rights reserved. // -// Contents: Source code for abstraction of CLR and worker differences between PowerShell versions. +// Contents: Source code for abstraction of CLR and worker differences between PowerShell versions. // pwrshplugin is totally unmanaged. // ---------------------------------------------------------------------- @@ -58,7 +58,7 @@ unsigned int PowerShellCoreClrWorker::LoadWorkerCallbackPtrs( "System.Management.Automation.Remoting.WSManPluginManagedEntryWrapper", "InitPlugin", (void**)&entryPointDelegate); - + if (FAILED(hr)) { output->DisplayMessage(false, g_CREATING_MSH_ENTRANCE_FAILED, hr); @@ -71,36 +71,36 @@ unsigned int PowerShellCoreClrWorker::LoadWorkerCallbackPtrs( } PowerShellCoreClrWorker::PowerShellCoreClrWorker() - : systemCalls(new WinSystemCallFacade()), - hostWrapper(new CoreClrHostingApiWrapper()), - output(new PwrshPluginOutputDefault()), + : systemCalls(new WinSystemCallFacade()), + hostWrapper(new CoreClrHostingApiWrapper()), + output(new PwrshPluginOutputDefault()), commonLib(new PwrshCommon()) { } // -// sysCalls is expected to be new'd by the caller. +// sysCalls is expected to be new'd by the caller. // It will be freed in PowerShellCoreClrWorker's destructor. // PowerShellCoreClrWorker::PowerShellCoreClrWorker( - SystemCallFacade* sysCalls, + SystemCallFacade* sysCalls, ClrHostWrapper* hstWrp, PwrshCommon* cmnLib) - : systemCalls(sysCalls), - hostWrapper(hstWrp), - output(new PwrshPluginOutputDefault()), + : systemCalls(sysCalls), + hostWrapper(hstWrp), + output(new PwrshPluginOutputDefault()), commonLib(cmnLib) { if (NULL == systemCalls) { - // Instantiate it even if one is not provided to guarantee that it will + // Instantiate it even if one is not provided to guarantee that it will // always be non-NULL during execution. systemCalls = new WinSystemCallFacade(); } - + if (NULL == hostWrapper) { - // Instantiate it even if one is not provided to guarantee that it will + // Instantiate it even if one is not provided to guarantee that it will // always be non-NULL during execution. hostWrapper = new CoreClrHostingApiWrapper(); } @@ -146,8 +146,8 @@ PowerShellCoreClrWorker::~PowerShellCoreClrWorker() #else // !CORECLR -PowerShellClrWorker::PowerShellClrWorker() : - pHost(NULL), +PowerShellClrWorker::PowerShellClrWorker() : + pHost(NULL), hManagedPluginModule(NULL), systemCalls(new WinSystemCallFacade()), g_INIT_PLUGIN("InitPlugin"), @@ -164,7 +164,7 @@ PowerShellClrWorker::PowerShellClrWorker() : {} PowerShellClrWorker::PowerShellClrWorker( - SystemCallFacade* sysCalls) + SystemCallFacade* sysCalls) : pHost(NULL), hManagedPluginModule(NULL), systemCalls(sysCalls), @@ -295,7 +295,7 @@ unsigned int PowerShellClrManagedWorker::LoadWorkerCallbackPtrs( HRESULT hr = S_OK; *pPluginException = NULL; - do + do { // Get a pointer to the default AppDomain CComPtr<_AppDomain> spDefaultDomain = NULL; @@ -383,7 +383,7 @@ unsigned int PowerShellClrManagedWorker::LoadWorkerCallbackPtrs( &varResult, &exception, &uArgErr); - + InitPluginWkrPtrsFuncPtr entryPointDelegate = (InitPluginWkrPtrsFuncPtr)varResult.byref; if (FAILED(hr) || diff --git a/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.h b/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.h index 75c2e1f5c6..169e9803ae 100644 --- a/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.h +++ b/src/powershell-native/nativemsh/pwrshplugin/pwrshclrhost.h @@ -1,9 +1,9 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2007. +// Copyright (c) Microsoft Corporation. All rights reserved. // -// Contents: Headers used by pwrshplugin. +// Contents: Headers used by pwrshplugin. // pwrshplugin is totally unmanaged. // ---------------------------------------------------------------------- @@ -47,7 +47,7 @@ public: virtual ~IPowerShellClrHost() {} virtual unsigned int LaunchClr( - _In_ LPCWSTR wszMonadVersion, + _In_ LPCWSTR wszMonadVersion, _In_ LPCWSTR wszRuntimeVersion, _In_ LPCSTR friendlyName) = 0; @@ -83,7 +83,7 @@ private: public: PowerShellClrWorker(); PowerShellClrWorker(NativeMsh::SystemCallFacade* sysCalls); - + virtual ~PowerShellClrWorker(); // @@ -140,9 +140,9 @@ private: public: PowerShellCoreClrWorker(); - + PowerShellCoreClrWorker( - NativeMsh::SystemCallFacade* sysCalls, + NativeMsh::SystemCallFacade* sysCalls, NativeMsh::ClrHostWrapper* hstWrp, NativeMsh::PwrshCommon* cmnLib); diff --git a/src/powershell-native/nativemsh/pwrshplugin/pwrshheaders.h b/src/powershell-native/nativemsh/pwrshplugin/pwrshheaders.h index 60df4ab2f5..bfc12fb27c 100644 --- a/src/powershell-native/nativemsh/pwrshplugin/pwrshheaders.h +++ b/src/powershell-native/nativemsh/pwrshplugin/pwrshheaders.h @@ -1,7 +1,7 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2008. +// Copyright (c) Microsoft Corporation. All rights reserved. // // Contents: Headers used by internal windows teams to access certain // Powershell functionality @@ -16,7 +16,7 @@ // returns: 0 on success, non-zero on failure. _Success_(return == 0) // EXIT_CODE_SUCCESS extern "C" -unsigned int GetCLRVersionForPSVersion(int iPSMajorVersion, +unsigned int GetCLRVersionForPSVersion(int iPSMajorVersion, int iPSMinorVersion, size_t runtimeVersionLength, __inout_ecount_part(runtimeVersionLength , *pRuntimeVersionLength) wchar_t* pwszRuntimeVersion, diff --git a/src/powershell-native/nativemsh/pwrshplugin/pwrshplugin.h b/src/powershell-native/nativemsh/pwrshplugin/pwrshplugin.h index 61b6cda428..7d2f25d94f 100644 --- a/src/powershell-native/nativemsh/pwrshplugin/pwrshplugin.h +++ b/src/powershell-native/nativemsh/pwrshplugin/pwrshplugin.h @@ -1,9 +1,9 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2007. +// Copyright (c) Microsoft Corporation. All rights reserved. // -// Contents: Headers used by pwrshplugin. +// Contents: Headers used by pwrshplugin. // pwrshplugin is totally unmanaged. // ---------------------------------------------------------------------- @@ -38,9 +38,9 @@ private: public: // applicationIdentification: - // This relates to the application HTTP suffix that is hosting the plug-in. - // For the main WSMan service by default this would be "wsman", whereas for - // an IIS host it would relate to the application endpoint for that host and + // This relates to the application HTTP suffix that is hosting the plug-in. + // For the main WSMan service by default this would be "wsman", whereas for + // an IIS host it would relate to the application endpoint for that host and // would be something like "MyCompany/MyApplication". PwrshPlugIn(PCWSTR applicationIdentification, PCWSTR pInitParams) { @@ -89,8 +89,8 @@ private: bool bIsDisposed; // fields needed to validate 2 plugins initializing at the same time - CRITICAL_SECTION criticalSection; - bool isCSInitSucceeded; + CRITICAL_SECTION criticalSection; + bool isCSInitSucceeded; // Abstraction of the differences between CLR hosting environments with // respect to the interface with pspluginwkr. @@ -127,7 +127,7 @@ private: { isCSInitSucceeded = true; } - } + } // Clear plugin specific resources. void CleanUp() @@ -199,7 +199,7 @@ public: } ~PwrshPlugInMediator() - { + { if (isCSInitSucceeded) { DeleteCriticalSection(&criticalSection); @@ -211,11 +211,11 @@ public: // Clear plugin specific resources. DWORD Shutdown(__in DWORD flags, __in DWORD reason) throw (...) { - // this null condition should never occur.. but for server process safety ensure we - // fail safely.. + // this null condition should never occur.. but for server process safety ensure we + // fail safely.. if (NULL != hShutdownPluginMethodAddress) { - (hShutdownPluginMethodAddress)((PVOID)this); + (hShutdownPluginMethodAddress)((PVOID)this); } CleanUp(); @@ -242,16 +242,16 @@ public: __in_opt WSMAN_DATA *inboundShellInformation) { if ((NULL == plugInToUseWithCreateShell) || - (NULL == requestDetails) || - (NULL == startupInfo) || + (NULL == requestDetails) || + (NULL == startupInfo) || (NULL == requestDetails->operationInfo)) { ReportError(requestDetails, g_INVALID_INPUT, L"WSManPluginShell"); return; } - // this null condition should never occur.. but for server process safety ensure we - // fail safely.. + // this null condition should never occur.. but for server process safety ensure we + // fail safely.. if (NULL == hCreateShellMethodAddress) { ReportError(requestDetails, g_MANAGED_METHOD_RESOLUTION_FAILED); @@ -261,7 +261,7 @@ public: __try { PCWSTR initParameters = plugInToUseWithCreateShell->GetInitParameters(); - (hCreateShellMethodAddress)((PVOID)this, requestDetails, flags, initParameters, startupInfo, inboundShellInformation); + (hCreateShellMethodAddress)((PVOID)this, requestDetails, flags, initParameters, startupInfo, inboundShellInformation); } __except(ProcessException(requestDetails, GetExceptionCode())) { @@ -270,8 +270,8 @@ public: VOID ReleaseShell(__in PVOID shellContext) { - // this null condition should never occur.. but for server process safety ensure we - // fail safely.. + // this null condition should never occur.. but for server process safety ensure we + // fail safely.. if (NULL != hReleaseShellMethodAddress) { (hReleaseShellMethodAddress)((PVOID)this, shellContext); @@ -300,7 +300,7 @@ public: __try { (hCreateCommandMethodAddress)((PVOID)this, requestDetails, flags, shellContext, commandLine, arguments); - } + } __except(ProcessException(requestDetails, GetExceptionCode())) { } @@ -309,8 +309,8 @@ public: VOID ReleaseCommand(__in PVOID shellContext, __in PVOID commandContext) { - // this null condition should never occur.. but for server process safety ensure we - // fail safely.. + // this null condition should never occur.. but for server process safety ensure we + // fail safely.. if (NULL != hReleaseShellMethodAddress) { (hReleaseCommandMethodAddress)((PVOID)this, shellContext, commandContext); @@ -403,7 +403,7 @@ public: } } - VOID SignalShellOrCmd( + VOID SignalShellOrCmd( __in WSMAN_PLUGIN_REQUEST *requestDetails, __in DWORD flags, __in PVOID shellContext, @@ -456,7 +456,7 @@ private: va_list args; va_start(args, dwMessageId); - GetFormattedErrorMessage(&extendedErrorInformation, dwMessageId, &args); + GetFormattedErrorMessage(&extendedErrorInformation, dwMessageId, &args); va_end(args); @@ -474,8 +474,8 @@ private: DWORD ReportError(WSMAN_PLUGIN_REQUEST *requestDetails, PlugInException* e) { DWORD errorCode = e->dwMessageId; - - DWORD result = WSManPluginOperationComplete(requestDetails, 0, errorCode, e->extendedErrorInformation); + + DWORD result = WSManPluginOperationComplete(requestDetails, 0, errorCode, e->extendedErrorInformation); return result; } @@ -560,7 +560,7 @@ private: } // returns non-zero code on error + plugin exception is populated in some cases - // like plugin load error. so the caller is expected to check both these + // like plugin load error. so the caller is expected to check both these // to see if there is any error. unsigned int LoadManagedPlugIn( _In_ PWSTR wszMgdPlugInFileName, @@ -672,7 +672,7 @@ private: unsigned int exitCode = EXIT_CODE_SUCCESS; PlugInException* pErrorMsg = NULL; - do + do { exitCode = ConstructPowerShellVersion(iPSMajorVersion, iPSMinorVersion, &wszMonadVersion); if (exitCode != EXIT_CODE_SUCCESS) @@ -746,7 +746,7 @@ private: { delete[] wszMonadVersion; } - + if (NULL != wszMgdPlugInFileName) { delete[] wszMgdPlugInFileName; @@ -777,7 +777,7 @@ private: throw new PlugInException(exitCode, msg); } } - } + } public: // extraInfo is supplied by WSMan and WSMan validates the XML syntax @@ -789,7 +789,7 @@ public: if (NULL == extraInfo) { PWSTR msg = NULL; - GetFormattedErrorMessage(&msg, + GetFormattedErrorMessage(&msg, g_PSVERSION_NOT_FOUND_IN_CONFIG, g_PSVERSION_CONFIG, g_INITIALIZATIONPARAM_CONFIG); throw new PlugInException(g_PSVERSION_NOT_FOUND_IN_CONFIG, msg); } @@ -798,7 +798,7 @@ public: if (FAILED(StringCchLength(extraInfo, STRSAFE_MAX_CCH, &initParamsLength))) { PWSTR msg = NULL; - GetFormattedErrorMessage(&msg, + GetFormattedErrorMessage(&msg, g_BAD_INITPARAMETERS, g_INITIALIZATIONPARAM_CONFIG); throw new PlugInException(g_BAD_INITPARAMETERS, msg); } @@ -811,7 +811,7 @@ public: if (FAILED(StringCchCopyNW(*initParameters, initParamsLength + 1, extraInfo, initParamsLength))) { PWSTR msg = NULL; - GetFormattedErrorMessage(&msg, + GetFormattedErrorMessage(&msg, g_BAD_INITPARAMETERS, g_INITIALIZATIONPARAM_CONFIG); throw new PlugInException(g_BAD_INITPARAMETERS, msg); } @@ -819,15 +819,15 @@ public: } void ProcessExtraInfo(PCWSTR extraInfo, - __deref_opt_out PWSTR *initParameters) throw(...) + __deref_opt_out PWSTR *initParameters) throw(...) { - VerifyAndStoreExtraInfo(extraInfo, initParameters); + VerifyAndStoreExtraInfo(extraInfo, initParameters); // Get PSVersion and MaxPSVersion values from the config xml wchar_t* psversion = NULL; wchar_t* maxpsversion = NULL; // Win8: 97936: To support backward compatability, if PSVersion = 2.0 and AssemblyToken - // is specified we set maxPSVersion = 2.0..so that the endpoint is not automatically + // is specified we set maxPSVersion = 2.0..so that the endpoint is not automatically // transferred to PS 3.0 wchar_t* assemblyToken = NULL; @@ -838,13 +838,13 @@ public: if (FAILED(StringCchLength(extraInfo, STRSAFE_MAX_CCH, &initParamsLength))) { PWSTR msg = NULL; - GetFormattedErrorMessage(&msg, + GetFormattedErrorMessage(&msg, g_BAD_INITPARAMETERS, g_INITIALIZATIONPARAM_CONFIG); throw new PlugInException(g_BAD_INITPARAMETERS, msg); - } + } PCWSTR param = wcsstr(extraInfo, L" majorPSVersionNumber) { PWSTR msg = NULL; - GetFormattedErrorMessage(&msg, + GetFormattedErrorMessage(&msg, g_BAD_INITPARAMETERS, g_INITIALIZATIONPARAM_CONFIG); - throw new PlugInException(g_BAD_INITPARAMETERS, msg); + throw new PlugInException(g_BAD_INITPARAMETERS, msg); } // TODO: why hardcoding is needed here if (majorPSVersionNumber == 3 && majorMaxPSVersionNumber == 2) { PWSTR msg = NULL; - GetFormattedErrorMessage(&msg, + GetFormattedErrorMessage(&msg, g_BAD_INITPARAMETERS, g_INITIALIZATIONPARAM_CONFIG); throw new PlugInException(g_BAD_INITPARAMETERS, msg); } @@ -1063,9 +1063,9 @@ public: { size_t length; if (FAILED(StringCchLength(psversion, STRSAFE_MAX_CCH, &length))) - { + { PWSTR msg = NULL; - GetFormattedErrorMessage(&msg, + GetFormattedErrorMessage(&msg, g_BAD_INITPARAMETERS, g_INITIALIZATIONPARAM_CONFIG); throw new PlugInException(g_BAD_INITPARAMETERS, msg); } @@ -1075,7 +1075,7 @@ public: if (FAILED(StringCchCopyNW(version, length + 1, psversion, length))) { PWSTR msg = NULL; - GetFormattedErrorMessage(&msg, + GetFormattedErrorMessage(&msg, g_BAD_INITPARAMETERS, g_INITIALIZATIONPARAM_CONFIG); throw new PlugInException(g_BAD_INITPARAMETERS, msg); } diff --git a/src/powershell-native/nativemsh/pwrshplugin/pwrshpluginResources.rc b/src/powershell-native/nativemsh/pwrshplugin/pwrshpluginResources.rc index 864a873e3a..cbf92dff71 100644 --- a/src/powershell-native/nativemsh/pwrshplugin/pwrshpluginResources.rc +++ b/src/powershell-native/nativemsh/pwrshplugin/pwrshpluginResources.rc @@ -1,4 +1,4 @@ -// Copyright (C) 2005 Microsoft Corporation +// Copyright (c) Microsoft Corporation. All rights reserved. // // resource script for msh.exe // diff --git a/src/powershell-native/nativemsh/pwrshplugin/pwrshplugindefs.h b/src/powershell-native/nativemsh/pwrshplugin/pwrshplugindefs.h index 3e1ad66762..b4b4cc0811 100644 --- a/src/powershell-native/nativemsh/pwrshplugin/pwrshplugindefs.h +++ b/src/powershell-native/nativemsh/pwrshplugin/pwrshplugindefs.h @@ -1,9 +1,9 @@ // ---------------------------------------------------------------------- // // Microsoft Windows NT -// Copyright (C) Microsoft Corporation, 2007. +// Copyright (c) Microsoft Corporation. All rights reserved. // -// Contents: Headers used by pwrshplugin. +// Contents: Headers used by pwrshplugin. // pwrshplugin is totally unmanaged. // ---------------------------------------------------------------------- @@ -105,7 +105,7 @@ typedef void (WINAPI *WSManPluginReceiveFuncPtr)( __in PVOID shellContext, __in_opt PVOID commandContext, __in_opt WSMAN_STREAM_ID_SET* streamSet - ); + ); typedef void (WINAPI *WSManPluginSignalFuncPtr)( __in PVOID pluginContext, diff --git a/src/powershell-native/nativemsh/pwrshplugin/pwrshpluginerrorcodes.mc b/src/powershell-native/nativemsh/pwrshplugin/pwrshpluginerrorcodes.mc index c6f6d95fd1..45e389e42d 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, 2000 - 2007 +;// Copyright (c) Microsoft Corporation. All rights reserved. ;#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 20f390fdd4..016c85d0b8 100644 --- a/src/powershell-native/nativemsh/pwrshplugin/version.rc +++ b/src/powershell-native/nativemsh/pwrshplugin/version.rc @@ -1,5 +1,5 @@ // -// Copyright (C) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // #include #include diff --git a/src/powershell/Program.cs b/src/powershell/Program.cs index 20b84250da..e208c9cd75 100644 --- a/src/powershell/Program.cs +++ b/src/powershell/Program.cs @@ -1,5 +1,5 @@ /********************************************************************++ -Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; diff --git a/test/PSReadLine/AssemblyInfo.cs b/test/PSReadLine/AssemblyInfo.cs index b381851067..4b8e4a2013 100644 --- a/test/PSReadLine/AssemblyInfo.cs +++ b/test/PSReadLine/AssemblyInfo.cs @@ -9,7 +9,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("TestPSReadLine")] -[assembly: AssemblyCopyright("Copyright © 2013")] +[assembly: AssemblyCopyright("Copyright (c) 2013")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/test/powershell/Language/Classes/Scripting.Classes.BasicParsing.Tests.ps1 b/test/powershell/Language/Classes/Scripting.Classes.BasicParsing.Tests.ps1 index 3d72abe33f..88b7ea77a5 100644 --- a/test/powershell/Language/Classes/Scripting.Classes.BasicParsing.Tests.ps1 +++ b/test/powershell/Language/Classes/Scripting.Classes.BasicParsing.Tests.ps1 @@ -1,5 +1,5 @@ # -# Copyright (c) Microsoft Corporation, 2014 +# Copyright (c) Microsoft Corporation. All rights reserved. # try { diff --git a/test/powershell/Language/Classes/scripting.Classes.inheritance.tests.ps1 b/test/powershell/Language/Classes/scripting.Classes.inheritance.tests.ps1 index ac95bba2e2..cf7e7f1b4c 100644 --- a/test/powershell/Language/Classes/scripting.Classes.inheritance.tests.ps1 +++ b/test/powershell/Language/Classes/scripting.Classes.inheritance.tests.ps1 @@ -1,5 +1,5 @@ # -# Copyright (c) Microsoft Corporation, 2015 +# Copyright (c) Microsoft Corporation. All rights reserved. # try { diff --git a/test/powershell/Language/Classes/scripting.enums.tests.ps1 b/test/powershell/Language/Classes/scripting.enums.tests.ps1 index 23a5532e53..daf8fbb432 100644 --- a/test/powershell/Language/Classes/scripting.enums.tests.ps1 +++ b/test/powershell/Language/Classes/scripting.enums.tests.ps1 @@ -1,5 +1,5 @@ # -# Copyright (c) Microsoft Corporation, 2015 +# Copyright (c) Microsoft Corporation. All rights reserved. # Describe 'enums' -Tags "CI" { diff --git a/test/powershell/Language/Scripting/Debugging/DebuggerScriptTests.Tests.ps1 b/test/powershell/Language/Scripting/Debugging/DebuggerScriptTests.Tests.ps1 index e1adf01338..53b0dfeca2 100644 --- a/test/powershell/Language/Scripting/Debugging/DebuggerScriptTests.Tests.ps1 +++ b/test/powershell/Language/Scripting/Debugging/DebuggerScriptTests.Tests.ps1 @@ -1,5 +1,5 @@ ## -## Copyright (c) Microsoft Corporation, 2015 +## Copyright (c) Microsoft Corporation. All rights reserved. ## ## Script debugging tests ## diff --git a/test/powershell/Language/Scripting/Debugging/DebuggingInHost.Tests.ps1 b/test/powershell/Language/Scripting/Debugging/DebuggingInHost.Tests.ps1 index 8201cb8da7..ff9398b078 100644 --- a/test/powershell/Language/Scripting/Debugging/DebuggingInHost.Tests.ps1 +++ b/test/powershell/Language/Scripting/Debugging/DebuggingInHost.Tests.ps1 @@ -1,5 +1,5 @@ ## -## Copyright (c) Microsoft Corporation +## Copyright (c) Microsoft Corporation. All rights reserved. ## ## Debugging in Host tests ## diff --git a/test/powershell/Modules/Microsoft.PowerShell.Core/PSSessionConfiguration.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Core/PSSessionConfiguration.Tests.ps1 index 1ce879f029..9255952eb4 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Core/PSSessionConfiguration.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Core/PSSessionConfiguration.Tests.ps1 @@ -656,7 +656,7 @@ namespace PowershellTestConfigNamespace SessionType = 'Default' Author = 'User' CompanyName = 'Microsoft Corporation' - Copyright = 'Copyright (c) 2011 Microsoft Corporation. All rights reserved.' + Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.' Description = 'This is a sample session configuration file.' GUID = '73cba863-aa49-4cbf-9917-269ddcf2b1e3' SchemaVersion = '1.0.0.0' diff --git a/test/powershell/Modules/Microsoft.PowerShell.Core/Pester.Commands.Cmdlets.GetCommand.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Core/Pester.Commands.Cmdlets.GetCommand.Tests.ps1 index f54cfe04dd..856992eca7 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Core/Pester.Commands.Cmdlets.GetCommand.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Core/Pester.Commands.Cmdlets.GetCommand.Tests.ps1 @@ -1,5 +1,5 @@ ## -## Copyright (c) Microsoft Corporation, 2015 +## Copyright (c) Microsoft Corporation. All rights reserved. ## Describe "Tests Get-Command with relative paths and wildcards" -Tag "CI" { @@ -50,15 +50,15 @@ Describe "Tests Get-Command with relative paths and wildcards" -Tag "CI" { Pop-Location } - It "Get-Command -ShowCommandInfo property field test" { + It "Get-Command -ShowCommandInfo property field test" { $properties = ($commandInfo | Get-Member -MemberType NoteProperty) - $propertiesAsString = $properties.name | out-string - $propertiesAsString | Should MatchExactly 'CommandType' - $propertiesAsString | Should MatchExactly 'Definition' - $propertiesAsString | Should MatchExactly 'Module' - $propertiesAsString | Should MatchExactly 'ModuleName' - $propertiesAsString | Should MatchExactly 'Name' - $propertiesAsString | Should MatchExactly 'ParameterSets' + $propertiesAsString = $properties.name | out-string + $propertiesAsString | Should MatchExactly 'CommandType' + $propertiesAsString | Should MatchExactly 'Definition' + $propertiesAsString | Should MatchExactly 'Module' + $propertiesAsString | Should MatchExactly 'ModuleName' + $propertiesAsString | Should MatchExactly 'Name' + $propertiesAsString | Should MatchExactly 'ParameterSets' } $testcases = @( @@ -80,20 +80,20 @@ Describe "Tests Get-Command with relative paths and wildcards" -Tag "CI" { It "Get-Command -ShowCommandInfo ParameterSets property field test" { $properties = ($commandInfo.ParameterSets[0] | Get-Member -MemberType NoteProperty) - $propertiesAsString = $properties.name | out-string - $propertiesAsString | Should MatchExactly 'IsDefault' - $propertiesAsString | Should MatchExactly 'Name' + $propertiesAsString = $properties.name | out-string + $propertiesAsString | Should MatchExactly 'IsDefault' + $propertiesAsString | Should MatchExactly 'Name' $propertiesAsString | Should MatchExactly 'Parameters' } It "Get-Command -ShowCommandInfo Parameters property field test" { $properties = ($commandInfo.ParameterSets[0].Parameters | Get-Member -MemberType NoteProperty) - $propertiesAsString = $properties.name | out-string - $propertiesAsString | Should MatchExactly 'HasParameterSet' - $propertiesAsString | Should MatchExactly 'IsMandatory' + $propertiesAsString = $properties.name | out-string + $propertiesAsString | Should MatchExactly 'HasParameterSet' + $propertiesAsString | Should MatchExactly 'IsMandatory' $propertiesAsString | Should MatchExactly 'Name' - $propertiesAsString | Should MatchExactly 'ParameterType' - $propertiesAsString | Should MatchExactly 'Position' + $propertiesAsString | Should MatchExactly 'ParameterType' + $propertiesAsString | Should MatchExactly 'Position' $propertiesAsString | Should MatchExactly 'ValidParamSetValues' $propertiesAsString | Should MatchExactly 'ValueFromPipeline' } diff --git a/test/powershell/Modules/Microsoft.PowerShell.LocalAccounts/Pester.Command.Cmdlets.LocalAccounts.LocalGroup.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.LocalAccounts/Pester.Command.Cmdlets.LocalAccounts.LocalGroup.Tests.ps1 index a80942779b..0de45d4cb1 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.LocalAccounts/Pester.Command.Cmdlets.LocalAccounts.LocalGroup.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.LocalAccounts/Pester.Command.Cmdlets.LocalAccounts.LocalGroup.Tests.ps1 @@ -1,6 +1,6 @@ # This is a Pester test suite to validate the cmdlets in LocalAccounts module # -# Copyright (c) Microsoft Corporation, 2015 +# Copyright (c) Microsoft Corporation. All rights reserved. # Module removed due to #4272 # disabling tests diff --git a/test/powershell/Modules/Microsoft.PowerShell.LocalAccounts/Pester.Command.Cmdlets.LocalAccounts.LocalGroupMember.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.LocalAccounts/Pester.Command.Cmdlets.LocalAccounts.LocalGroupMember.Tests.ps1 index f19430a5f7..1601287a65 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.LocalAccounts/Pester.Command.Cmdlets.LocalAccounts.LocalGroupMember.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.LocalAccounts/Pester.Command.Cmdlets.LocalAccounts.LocalGroupMember.Tests.ps1 @@ -1,6 +1,6 @@ # This is a Pester test suite to validate the cmdlets in LocalAccounts module # -# Copyright (c) Microsoft Corporation, 2015 +# Copyright (c) Microsoft Corporation. All rights reserved. # Module removed due to #4272 # disabling tests @@ -119,7 +119,7 @@ try { RemoveTestUsers -basename TestUser } } - + It "Can add user to group using SID" { Add-LocalGroupMember -SID $group1sid -Member TestUser1 $result = Get-LocalGroupMember TestGroup1 @@ -234,7 +234,7 @@ try { } VerifyFailingTest $sb "GroupNotFound,Microsoft.PowerShell.Commands.AddLocalGroupMemberCommand" } - + It "Can respond to -ErrorAction Stop" { $sb = { Add-LocalGroupMember TestGroup1 -Member @("TestUser1", "TestNonexistentUser1", "TestNonexistentUser2") -ErrorAction Stop -ErrorVariable OutputError | Out-Null @@ -512,7 +512,7 @@ try { } VerifyFailingTest $sb "MemberNotFound,Microsoft.PowerShell.Commands.RemoveLocalGroupMemberCommand" } - + It "Errors on remove group members by array of name" { $sb = { Remove-LocalGroupMember TestGroupRemove2 -Member TestUserRemove2 diff --git a/test/powershell/Modules/Microsoft.PowerShell.LocalAccounts/Pester.Command.Cmdlets.LocalAccounts.LocalUser.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.LocalAccounts/Pester.Command.Cmdlets.LocalAccounts.LocalUser.Tests.ps1 index 347caab9e9..445921971e 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.LocalAccounts/Pester.Command.Cmdlets.LocalAccounts.LocalUser.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.LocalAccounts/Pester.Command.Cmdlets.LocalAccounts.LocalUser.Tests.ps1 @@ -1,6 +1,6 @@ # This is a Pester test suite to validate the cmdlets in LocalAccounts module # -# Copyright (c) Microsoft Corporation, 2015 +# Copyright (c) Microsoft Corporation. All rights reserved. # Module removed due to #4272 # disabling tests diff --git a/test/powershell/Modules/Microsoft.PowerShell.Management/Copy.Item.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Management/Copy.Item.Tests.ps1 index 099acbef8e..b09c6eae3a 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Management/Copy.Item.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Management/Copy.Item.Tests.ps1 @@ -1,6 +1,6 @@ # This is a Pester test suite to validate Copy-Item remotely using a remote session. # -# Copyright (c) Microsoft Corporation, 2015 +# Copyright (c) Microsoft Corporation. All rights reserved. # # diff --git a/test/powershell/Modules/Microsoft.PowerShell.Management/TimeZone.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Management/TimeZone.Tests.ps1 index 782fcd0292..236b98ca05 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Management/TimeZone.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Management/TimeZone.Tests.ps1 @@ -1,6 +1,6 @@ # This is a Pester test suite to validate the cmdlets in the TimeZone module # -# Copyright (c) Microsoft Corporation, 2016 +# Copyright (c) Microsoft Corporation. All rights reserved. <# -------------------------------------- @@ -107,7 +107,7 @@ Describe "Get-Timezone test cases" -Tags "CI" { $observed.StandardName | Should Be $timezoneName } - It "Call Get-TimeZone using Name param with wild card" { + It "Call Get-TimeZone using Name param with wild card" { $result = (Get-TimeZone -Name "Pacific*").Id $expectedIdList = ($TimeZonesAvailable | Where-Object { $_.StandardName -match "^Pacific" }).Id Assert-ListsSame $expectedIdList $result diff --git a/test/powershell/Modules/Microsoft.PowerShell.Security/FileCatalog.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Security/FileCatalog.Tests.ps1 index 48f28203a9..85e4c9c871 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Security/FileCatalog.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Security/FileCatalog.Tests.ps1 @@ -1,6 +1,6 @@ # This is a Pester test suite to validate the New-FileCatalog & Test-FileCatalog cmdlets on PowerShell Core. # -# Copyright (c) Microsoft Corporation, 2016 +# Copyright (c) Microsoft Corporation. All rights reserved. # try { diff --git a/test/powershell/Modules/Microsoft.PowerShell.Security/TestData/CatalogTestData/UserConfigProv/UserConfigProv.psd1 b/test/powershell/Modules/Microsoft.PowerShell.Security/TestData/CatalogTestData/UserConfigProv/UserConfigProv.psd1 index 2bbd83efc5..fe48cbc407 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Security/TestData/CatalogTestData/UserConfigProv/UserConfigProv.psd1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Security/TestData/CatalogTestData/UserConfigProv/UserConfigProv.psd1 @@ -2,7 +2,7 @@ ModuleVersion = '3.0.0.1' Author = 'fayzas' CompanyName = 'Microsoft Corporation' - Copyright = '(c) 2013 Microsoft Corporation. All rights reserved.' + Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.' Description = 'Hello World!' PowerShellVersion = '3.0' CLRVersion = '4.0' diff --git a/test/powershell/Modules/Microsoft.PowerShell.Utility/FormatHex.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Utility/FormatHex.Tests.ps1 index f325b00ea5..2b401fc7c6 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Utility/FormatHex.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Utility/FormatHex.Tests.ps1 @@ -1,6 +1,6 @@ # This is a Pester test suite to validate the Format-Hex cmdlet in the Microsoft.PowerShell.Utility module. # -# Copyright (c) Microsoft Corporation, 2015 +# Copyright (c) Microsoft Corporation. All rights reserved. # <# diff --git a/test/powershell/Modules/Microsoft.PowerShell.Utility/NewTemporaryFile.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Utility/NewTemporaryFile.Tests.ps1 index 03240d2dde..b9bd916036 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Utility/NewTemporaryFile.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Utility/NewTemporaryFile.Tests.ps1 @@ -1,6 +1,6 @@ # This is a Pester test suite to validate the New-TemporaryFile cmdlet in the Microsoft.PowerShell.Utility module. # -# Copyright (c) Microsoft Corporation, 2015 +# Copyright (c) Microsoft Corporation. All rights reserved. # <# diff --git a/test/powershell/Modules/Microsoft.PowerShell.Utility/Pester.Commands.Cmdlets.Json.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Utility/Pester.Commands.Cmdlets.Json.Tests.ps1 index fe1cc85a84..e257fe89ce 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Utility/Pester.Commands.Cmdlets.Json.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Utility/Pester.Commands.Cmdlets.Json.Tests.ps1 @@ -1,5 +1,5 @@ # -# Copyright (c) Microsoft Corporation, 2015 +# Copyright (c) Microsoft Corporation. All rights reserved. # # This is a Pester test suite which validate the Json cmdlets. # @@ -1383,11 +1383,11 @@ Describe "Validate Json serialization" -Tags "CI" { 'one' = 1 'two' = 2 'three' = 3 - } + } $response2 = $dictionary | ConvertTo-Json ($response2 -split "\r?\n")[1] | Should Be ' "one": 1,' } - + It "Should minify Json with Compress switch" { (@{ a = 1 } | ConvertTo-Json -Compress).Length | Should Be 7 } diff --git a/test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1 index e4b9ebe22d..43e072bd25 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1 @@ -1,5 +1,5 @@ # -# Copyright (c) Microsoft Corporation, 2016 +# Copyright (c) Microsoft Corporation. All rights reserved. # # This is a Pester test suite which validate the Web cmdlets. # @@ -455,7 +455,7 @@ Describe "Invoke-WebRequest tests" -Tags "Feature" { #User-Agent changes on different platforms, so tests should only be run if on the correct platform It "Invoke-WebRequest returns Correct User-Agent on MacOSX" -Skip:(!$IsMacOS) { - + $uri = Get-WebListenerUrl -Test 'Get' $command = "Invoke-WebRequest -Uri '$uri' -TimeoutSec 5" @@ -468,7 +468,7 @@ Describe "Invoke-WebRequest tests" -Tags "Feature" { } It "Invoke-WebRequest returns Correct User-Agent on Linux" -Skip:(!$IsLinux) { - + $uri = Get-WebListenerUrl -Test 'Get' $command = "Invoke-WebRequest -Uri '$uri' -TimeoutSec 5" @@ -633,7 +633,7 @@ Describe "Invoke-WebRequest tests" -Tags "Feature" { # Validate response content $result.Output.Headers.'Content-Encoding'[0] | Should BeExactly $dataEncoding - $jsonContent = $result.Output.Content | ConvertFrom-Json + $jsonContent = $result.Output.Content | ConvertFrom-Json $jsonContent.Headers.Host | Should BeExactly $uri.Authority } @@ -1317,7 +1317,7 @@ Describe "Invoke-WebRequest tests" -Tags "Feature" { param($Authentication) $params = @{ Uri = $httpsUri - Authentication = $Authentication + Authentication = $Authentication Token = $token SkipCertificateCheck = $true } @@ -1437,7 +1437,7 @@ Describe "Invoke-RestMethod tests" -Tags "Feature" { #User-Agent changes on different platforms, so tests should only be run if on the correct platform It "Invoke-RestMethod returns Correct User-Agent on MacOSX" -Skip:(!$IsMacOS) { - + $uri = Get-WebListenerUrl -Test 'Get' $command = "Invoke-RestMethod -Uri '$uri' -TimeoutSec 5" @@ -1448,7 +1448,7 @@ Describe "Invoke-RestMethod tests" -Tags "Feature" { } It "Invoke-RestMethod returns Correct User-Agent on Linux" -Skip:(!$IsLinux) { - + $uri = Get-WebListenerUrl -Test 'Get' $command = "Invoke-RestMethod -Uri '$uri' -TimeoutSec 5" @@ -1596,7 +1596,7 @@ Describe "Invoke-RestMethod tests" -Tags "Feature" { $result = Invoke-RestMethod -Uri $uri -ResponseHeadersVariable 'headers' # Validate response content - $headers.'Content-Encoding'[0] | Should BeExactly $dataEncoding + $headers.'Content-Encoding'[0] | Should BeExactly $dataEncoding $result.Headers.Host | Should BeExactly $uri.Authority } @@ -2237,7 +2237,7 @@ Describe "Invoke-RestMethod tests" -Tags "Feature" { param($Authentication) $params = @{ Uri = $httpsUri - Authentication = $Authentication + Authentication = $Authentication Token = $token SkipCertificateCheck = $true } diff --git a/test/powershell/engine/Cdxml/assets/CimTest/CdxmlTest.psd1 b/test/powershell/engine/Cdxml/assets/CimTest/CdxmlTest.psd1 index 728885ae68..3998c527e4 100644 --- a/test/powershell/engine/Cdxml/assets/CimTest/CdxmlTest.psd1 +++ b/test/powershell/engine/Cdxml/assets/CimTest/CdxmlTest.psd1 @@ -2,7 +2,7 @@ GUID = '41486F7D-842F-40F1-ACE4-8405F9C2ED9B' Author="Microsoft Corporation" CompanyName="Microsoft Corporation" - Copyright="(c) Microsoft Corporation. All rights reserved." + Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion = '2.0.0.0' PowerShellVersion = '3.0' FormatsToProcess = @() diff --git a/test/tools/Modules/HelpersCommon/HelpersCommon.psd1 b/test/tools/Modules/HelpersCommon/HelpersCommon.psd1 index b5c57ce46d..c376c03d37 100644 --- a/test/tools/Modules/HelpersCommon/HelpersCommon.psd1 +++ b/test/tools/Modules/HelpersCommon/HelpersCommon.psd1 @@ -12,7 +12,7 @@ GUID = 'cc1c8e94-51d1-4bc1-b508-62bc09f02f54' CompanyName = 'Microsoft Corporation' -Copyright = 'Copyright (C) Microsoft Corporation, All rights reserved.' +Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.' Description = 'Temporary module contains functions for using in tests' diff --git a/test/tools/Modules/HelpersHostCS/HelpersHostCS.psd1 b/test/tools/Modules/HelpersHostCS/HelpersHostCS.psd1 index 5900c5c5fa..3132218887 100644 --- a/test/tools/Modules/HelpersHostCS/HelpersHostCS.psd1 +++ b/test/tools/Modules/HelpersHostCS/HelpersHostCS.psd1 @@ -12,7 +12,7 @@ GUID = '40a19c05-d765-41a1-995e-98ca5f247ee1' CompanyName = 'Microsoft Corporation' -Copyright = 'Copyright (C) Microsoft Corporation, All rights reserved.' +Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.' Description = 'Simple console host for console IO tests.' diff --git a/test/tools/Modules/HelpersLanguage/HelpersLanguage.psd1 b/test/tools/Modules/HelpersLanguage/HelpersLanguage.psd1 index b71a9c8ef0..955acd7bd3 100644 --- a/test/tools/Modules/HelpersLanguage/HelpersLanguage.psd1 +++ b/test/tools/Modules/HelpersLanguage/HelpersLanguage.psd1 @@ -12,7 +12,7 @@ GUID = 'a575af5e-2bd1-427f-b966-48640788896b' CompanyName = 'Microsoft Corporation' -Copyright = 'Copyright (C) Microsoft Corporation, All rights reserved.' +Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.' Description = 'Temporary module for language tests' diff --git a/test/tools/Modules/HelpersRemoting/HelpersRemoting.psd1 b/test/tools/Modules/HelpersRemoting/HelpersRemoting.psd1 index ec53921ddd..5786599a94 100644 --- a/test/tools/Modules/HelpersRemoting/HelpersRemoting.psd1 +++ b/test/tools/Modules/HelpersRemoting/HelpersRemoting.psd1 @@ -12,7 +12,7 @@ GUID = '7acf3c68-64f4-4550-bf14-b9361bfbfea3' CompanyName = 'Microsoft Corporation' -Copyright = 'Copyright (C) Microsoft Corporation, All rights reserved.' +Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.' Description = 'Temporary module for remoting tests' diff --git a/test/tools/Modules/HttpListener/HttpListener.psd1 b/test/tools/Modules/HttpListener/HttpListener.psd1 index 0487ba10da..0199dab600 100644 --- a/test/tools/Modules/HttpListener/HttpListener.psd1 +++ b/test/tools/Modules/HttpListener/HttpListener.psd1 @@ -3,7 +3,7 @@ ModuleVersion = '1.0.0' GUID = 'e148b26c-0594-4963-99e5-419d4ff302e2' Author = 'Steve Lee' CompanyName = 'Microsoft' -Copyright = '(c) Microsoft. All rights reserved.' +Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.' Description = 'Creates a new HTTP Listener for testing purposes' RootModule = 'HttpListener.psm1' FunctionsToExport = @('Start-HttpListener','Stop-HttpListener') diff --git a/test/tools/OpenCover/OpenCover.psd1 b/test/tools/OpenCover/OpenCover.psd1 index fca6e97eda..0b92431fd9 100644 --- a/test/tools/OpenCover/OpenCover.psd1 +++ b/test/tools/OpenCover/OpenCover.psd1 @@ -4,7 +4,7 @@ ModuleVersion = '1.1.0.0' GUID = '4eedcffd-26e8-4172-8aad-9b882c13d370' Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' -Copyright = '(c) Microsoft Corporation. All rights reserved.' +Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.' Description = 'Module to install OpenCover and run Powershell tests to collect code coverage' DotNetFrameworkVersion = 4.5 TypesToProcess = @('OpenCover.Types.ps1xml') diff --git a/tools/packaging/packaging.psd1 b/tools/packaging/packaging.psd1 index e997b8f5bb..bb102ec1be 100644 --- a/tools/packaging/packaging.psd1 +++ b/tools/packaging/packaging.psd1 @@ -2,7 +2,7 @@ GUID="41857994-4283-4757-a932-0b0edb104913" Author="Microsoft Corporation" CompanyName="Microsoft Corporation" -Copyright="© Microsoft Corporation. All rights reserved." +Copyright="Copyright (c) Microsoft Corporation. All rights reserved." ModuleVersion="1.0.0" PowerShellVersion="5.0" CmdletsToExport="Start-PSPackage" diff --git a/tools/packaging/project/powershell.nuspec b/tools/packaging/project/powershell.nuspec index 96812dc47b..4207a096f7 100644 --- a/tools/packaging/project/powershell.nuspec +++ b/tools/packaging/project/powershell.nuspec @@ -11,7 +11,7 @@ https://github.com/powershell/powershell https://github.com/PowerShell/PowerShell/blob/master/assets/Powershell_64.png This package contains the PowerShell Core for $runtime$. - Copyright © Microsoft Corporation + Copyright (c) Microsoft Corporation. All rights reserved. PowerShell