PowerShell for every system!
5659 matches across 10 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .pipelines/templates/release-validate-packagenames.yml | 121 | |
| LOW | .pipelines/templates/release-validate-packagenames.yml | 141 | # Get-ChildItem ENV: | Out-String -width 9999 -Stream | write-Verbose -Verbose |
| LOW | .pipelines/templates/release-validate-packagenames.yml | 161 | # path: $(System.ArtifactsDirectory) |
| LOW | .pipelines/templates/release-validate-packagenames.yml | 181 | # { |
| LOW | tools/install-powershell.sh | 1 | #!/bin/bash |
| LOW | tools/installpsh-debian.sh | 1 | #!/bin/bash |
| LOW | tools/installpsh-osx.sh | 1 | #!/bin/bash |
| LOW | tools/installpsh-gentoo.sh | 1 | #!/bin/bash |
| LOW | tools/installpsh-suse.sh | 1 | #!/bin/bash |
| LOW | tools/installpsh-suse.sh | 161 | fi |
| LOW | tools/installpsh-amazonlinux.sh | 1 | #!/bin/bash |
| LOW | tools/installpsh-mariner.sh | 1 | #!/bin/bash |
| LOW | tools/installpsh-redhat.sh | 1 | #!/bin/bash |
| LOW | …ls/NamedPipeConnection/src/code/NamedPipeConnection.cs | 41 | /// <summary> |
| LOW | …ls/NamedPipeConnection/src/code/NamedPipeConnection.cs | 101 | /// <summary> |
| LOW | …es/Microsoft.PowerShell.Utility/assets/pesteralias.txt | 1 | # Alias File |
| LOW | .github/workflows/linux-ci.yml | 221 | ## Temporarily disable the CodeQL analysis on Linux as it doesn't work for .NET SDK 10-rc.2. |
| LOW | .github/workflows/scorecards.yml | 41 | with: |
| LOW | .github/policies/labelAdded.approvedLowRisk.yml | 21 | permission: Admin |
| LOW | src/Microsoft.WSMan.Runtime/WSManSessionOption.cs | 21 | |
| LOW | src/Microsoft.WSMan.Runtime/WSManSessionOption.cs | 41 | |
| LOW | src/Microsoft.WSMan.Runtime/WSManSessionOption.cs | 61 | public NetworkCredential ProxyCredential { get; set; } |
| LOW | src/Microsoft.WSMan.Runtime/WSManSessionOption.cs | 81 | ProxyWinHttpConfig = 1, |
| LOW | src/Microsoft.WSMan.Runtime/WSManSessionOption.cs | 101 | /// </summary> |
| LOW | …nagement.Infrastructure.CimCmdlets/CimWriteProgress.cs | 21 | /// Initializes a new instance of the <see cref="CimWriteProgress"/> class. |
| LOW | …nagement.Infrastructure.CimCmdlets/CimWriteProgress.cs | 101 | |
| LOW | …gement.Infrastructure.CimCmdlets/CimInvokeCimMethod.cs | 321 | /// Create <see cref="CimMethodParametersCollection"/> with given key properties. |
| LOW | …gement.Infrastructure.CimCmdlets/CimInvokeCimMethod.cs | 441 | #region const strings |
| LOW | ….Infrastructure.CimCmdlets/CimRegisterCimIndication.cs | 41 | /// </para> |
| LOW | ….Infrastructure.CimCmdlets/CimRegisterCimIndication.cs | 61 | } |
| LOW | ….Infrastructure.CimCmdlets/CimRegisterCimIndication.cs | 101 | /// </summary> |
| LOW | …ent.Infrastructure.CimCmdlets/NewCimInstanceCommand.cs | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | …ent.Infrastructure.CimCmdlets/NewCimInstanceCommand.cs | 381 | } |
| LOW | ….Infrastructure.CimCmdlets/CimGetAssociatedInstance.cs | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | …gement.Infrastructure.CimCmdlets/GetCimClassCommand.cs | 41 | |
| LOW | …gement.Infrastructure.CimCmdlets/GetCimClassCommand.cs | 61 | Position = 0, |
| LOW | …gement.Infrastructure.CimCmdlets/GetCimClassCommand.cs | 141 | |
| LOW | …gement.Infrastructure.CimCmdlets/GetCimClassCommand.cs | 161 | [Parameter(ValueFromPipelineByPropertyName = true)] |
| LOW | …ment.Infrastructure.CimCmdlets/CimIndicationWatcher.cs | 101 | /// Initializes a new instance of the <see cref="CimIndicationEventInstanceEventArgs"/> class. |
| LOW | …ment.Infrastructure.CimCmdlets/CimIndicationWatcher.cs | 121 | /// and listen to the incoming indications, event <see cref="CimIndicationArrived"/> |
| LOW | …ment.Infrastructure.CimCmdlets/CimIndicationWatcher.cs | 341 | /// <para> |
| LOW | …ment.Infrastructure.CimCmdlets/CimIndicationWatcher.cs | 361 | |
| LOW | ….Infrastructure.CimCmdlets/RemoveCimInstanceCommand.cs | 281 | |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 81 | /// Initializes a new instance of the <see cref="InvocationContext"/> class. |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 101 | /// <para> |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 121 | /// Performs pre processing of given result object. |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 181 | internal class CimSessionProxy : IDisposable |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 201 | /// Due to some cmdlet, such as <see cref="Remove-CimInstance"/> |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 281 | |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 301 | /// </summary> |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 341 | /// Then create wrapper object. |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 441 | |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 1241 | /// Enumerate referencing instance associated with |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 1441 | /// <summary> |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 1461 | /// Called after new action event. |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 1481 | #endregion |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 1501 | /// The current CimInstance object, against which issued |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 1541 | |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 1601 | internal XOperationContextBase ContextObject { get; set; } |
| LOW | …anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs | 1621 | #endregion |
| 5307 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | test/xUnit/csharp/test_RemoteHyperV.cs | 417 | var exchangeResult = System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.ExchangeCrede |
| CRITICAL | test/xUnit/csharp/test_RemoteHyperV.cs | 444 | var exchangeResult = System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.ExchangeCrede |
| CRITICAL | test/xUnit/csharp/test_RemoteHyperV.cs | 472 | var exchangeResult = System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.ExchangeCrede |
| CRITICAL | test/xUnit/csharp/test_RemoteHyperV.cs | 506 | var ex = Record.Exception(() => System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.Ex |
| CRITICAL | test/xUnit/csharp/test_RemoteHyperV.cs | 544 | var ex = Record.Exception(() => System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.Ex |
| CRITICAL | test/xUnit/csharp/test_RemoteHyperV.cs | 587 | System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.PerformTransportVersionAndTokenExc |
| CRITICAL | test/xUnit/csharp/test_RemoteHyperV.cs | 629 | result = System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.IsRequirePsDirectAuthenti |
| CRITICAL | test/xUnit/csharp/test_RemoteHyperV.cs | 664 | System.Management.Automation.Remoting.RemoteSessionHyperVSocketServer.ValidateToken(client, expectedToke |
| CRITICAL | test/xUnit/csharp/test_RemoteHyperV.cs | 702 | () => System.Management.Automation.Remoting.RemoteSessionHyperVSocketServer.ValidateToken(client |
| CRITICAL | test/xUnit/csharp/test_RemoteHyperV.cs | 711 | System.Management.Automation.Remoting.RemoteSessionHyperVSocketServer.ValidateToken(client, expected |
| CRITICAL | test/xUnit/csharp/test_RemoteHyperV.cs | 758 | System.Management.Automation.Remoting.RemoteSessionHyperVSocketServer.ValidateToken(client, expectedToke |
| CRITICAL | test/xUnit/csharp/test_RemoteHyperV.cs | 798 | () => System.Management.Automation.Remoting.RemoteSessionHyperVSocketServer.ValidateToken(client, ex |
| CRITICAL | test/hosting/test_HostingBasic.cs | 193 | var iss = System.Management.Automation.Runspaces.InitialSessionState.CreateDefault2(); |
| CRITICAL | test/hosting/test_HostingBasic.cs | 202 | var iss = System.Management.Automation.Runspaces.InitialSessionState.CreateDefault2(); |
| CRITICAL | test/hosting/test_HostingBasic.cs | 208 | using var runspace = System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspace(iss); |
| CRITICAL | …/commands/utility/EnableDisableRunspaceDebugCommand.cs | 290 | System.Management.Automation.Runspaces.LocalRunspace.SetDebugPreference(processName.ToLowerInvariant(), |
| CRITICAL | …s.Utility/commands/utility/ImplicitRemotingCommands.cs | 1698 | System.Management.Automation.Runspaces.Internal.ClientRemotePowerShell.ExitHandler(sender, eventArgs); |
| CRITICAL | …mands.Utility/commands/utility/GetRandomCommandBase.cs | 240 | baseObject = System.Management.Automation.Language.Parser.ScanNumber((string)baseObject, typeof(int)); |
| CRITICAL | ….Commands.Utility/commands/utility/Set-PSBreakpoint.cs | 108 | (System.Management.Automation.Security.SystemPolicy.GetSystemLockdownPolicy() != |
| CRITICAL | …ommands.Utility/commands/utility/ImportAliasCommand.cs | 249 | foreach (CommandInfo commandInfo in System.Management.Automation.Internal.ModuleUtils.GetMatchingCom |
| CRITICAL | …gement.UI.Internal/commandHelpers/ShowCommandHelper.cs | 670 | return "\'" + System.Management.Automation.Language.CodeGeneration.EscapeSingleQuotedStringContent(str) + "\ |
| CRITICAL | …t.PowerShell.Commands.Diagnostics/GetCounterCommand.cs | 194 | _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilities.GetResourceManager(); |
| CRITICAL | …owerShell.Commands.Diagnostics/ExportCounterCommand.cs | 184 | _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilities.GetResourceManager(); |
| CRITICAL | …oft.PowerShell.Commands.Diagnostics/GetEventCommand.cs | 331 | _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilities.GetResourceManager(); |
| CRITICAL | …osoft.PowerShell.Commands.Diagnostics/CounterSample.cs | 73 | _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilities.GetResourceManager(); |
| CRITICAL | …owerShell.Commands.Diagnostics/ImportCounterCommand.cs | 210 | _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilities.GetResourceManager(); |
| CRITICAL | ….PowerShell.Commands.Diagnostics/NewWinEventCommand.cs | 30 | private readonly ResourceManager _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilities |
| CRITICAL | …ft.PowerShell.Security/security/CertificateProvider.cs | 1598 | [SuppressMessage("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", MessageId = "System.Management.Automation |
| CRITICAL | …ft.PowerShell.Security/security/CertificateProvider.cs | 1599 | [SuppressMessage("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", MessageId = "System.Management.Automation |
| CRITICAL | …m.Management.Automation/utils/StructuredTraceSource.cs | 1285 | lineBuilder.Append(System.Management.Automation.Internal.StringUtil.Padding(indentSize * threadIndentLevel)) |
| CRITICAL | src/System.Management.Automation/utils/PsUtils.cs | 252 | if (provider == null || !Microsoft.PowerShell.Commands.FileSystemProvider.ProviderName.Equals(provider.N |
| CRITICAL | …agement.Automation/namespaces/TransactedRegistryKey.cs | 430 | Microsoft.PowerShell.Commands.Internal.Buffer.memcpy(sd, 0, pSecDescriptor, 0, sd.Length); |
| CRITICAL | …tem.Management.Automation/namespaces/IContentWriter.cs | 52 | /// number of blocks from the specified <paramref name="origin"/>. See <see cref="System.Management.Automation.P |
| CRITICAL | ….Management.Automation/namespaces/DriveProviderBase.cs | 148 | /// Any failures should be sent to the <see cref="System.Management.Automation.Provider.CmdletProvider.WriteErro |
| CRITICAL | …/common/DisplayDatabase/displayResourceManagerCache.cs | 189 | ExecutionContext context = System.Management.Automation.Runspaces.LocalPipeline.GetExecutionContextFromT |
| CRITICAL | …Management.Automation/engine/NativeCommandProcessor.cs | 1119 | Host.BufferCell[,] bufferContents = this.Command.Context.EngineHostInterface.UI.RawUI.GetBufferC |
| CRITICAL | …Management.Automation/engine/NativeCommandProcessor.cs | 1141 | this.Command.Context.InternalHost.UI.TranscribeResult(bufferText.ToString()); |
| CRITICAL | …Management.Automation/engine/NativeCommandProcessor.cs | 1881 | Host.BufferCell[,] bufferContents = this.Command.Context.EngineHostInterface.UI.RawUI.GetBufferC |
| CRITICAL | …System.Management.Automation/engine/CommandMetadata.cs | 1323 | /// <seealso cref="System.Management.Automation.Runspaces.InitialSessionState.CreateRestricted(SessionCapabiliti |
| CRITICAL | src/System.Management.Automation/engine/regex.cs | 468 | string likeOperand = Microsoft.PowerShell.Cmdletization.Cim.WildcardPatternToCimQueryParser.Parse(this, out |
| CRITICAL | …nagement.Automation/engine/DataStoreAdapterProvider.cs | 291 | /// during calls to their <see cref="System.Management.Automation.Provider.CmdletProvider.Start(ProviderInfo)"/> |
| CRITICAL | …em.Management.Automation/engine/InitialSessionState.cs | 2684 | initializedRunspace.ExecutionContext.EngineSessionState.GlobalScope.FunctionTable.Add(newCommandName |
| CRITICAL | …em.Management.Automation/engine/InitialSessionState.cs | 2685 | initializedRunspace.ExecutionContext.EngineSessionState.GlobalScope.FunctionTable.Remove(commandName |
| CRITICAL | …em.Management.Automation/engine/InitialSessionState.cs | 2725 | initializedRunspace.ExecutionContext.EngineSessionState.GlobalScope.FunctionTable.Add( |
| CRITICAL | src/System.Management.Automation/engine/pipeline.cs | 1111 | Microsoft.PowerShell.Telemetry.Internal.TelemetryAPI.TraceExecutedCommand(commandProcessor.Command.Comma |
| CRITICAL | ….Management.Automation/engine/hostifaces/PowerShell.cs | 5739 | System.Management.Automation.Runspaces.Command.FromPSObjectForRemoting(extraCommand); |
| CRITICAL | ….Management.Automation/engine/hostifaces/PowerShell.cs | 5759 | System.Management.Automation.Runspaces.Command.FromPSObjectForRemoting(commandAsPSObject); |
| CRITICAL | …utomation/engine/hostifaces/MshHostRawUserInterface.cs | 1213 | /// <see cref="System.Management.Automation.Host.PSHostRawUserInterface.SetBufferContents(Rectangle, BufferCell) |
| CRITICAL | …utomation/engine/hostifaces/MshHostRawUserInterface.cs | 1214 | /// <see cref="System.Management.Automation.Host.PSHostRawUserInterface.SetBufferContents(Coordinates, BufferCel |
| CRITICAL | …utomation/engine/hostifaces/MshHostRawUserInterface.cs | 1220 | /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.SetBufferContents(Rectangle, BufferC |
| CRITICAL | …utomation/engine/hostifaces/MshHostRawUserInterface.cs | 1221 | /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.SetBufferContents(Coordinates, Buffe |
| CRITICAL | …utomation/engine/hostifaces/MshHostRawUserInterface.cs | 1379 | /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.ReadKey()"/> |
| CRITICAL | …utomation/engine/hostifaces/MshHostRawUserInterface.cs | 1380 | /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.ReadKey(System.Management.Automation |
| CRITICAL | …utomation/engine/hostifaces/MshHostRawUserInterface.cs | 1390 | /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.ReadKey()"/> |
| CRITICAL | …utomation/engine/hostifaces/MshHostRawUserInterface.cs | 1391 | /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.ReadKey(System.Management.Automation |
| CRITICAL | …utomation/engine/hostifaces/MshHostRawUserInterface.cs | 1435 | /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.NewBufferCellArray(int, int, BufferC |
| CRITICAL | …utomation/engine/hostifaces/MshHostRawUserInterface.cs | 1436 | /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.NewBufferCellArray(Size, BufferCell) |
| CRITICAL | …utomation/engine/hostifaces/MshHostRawUserInterface.cs | 1437 | /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.NewBufferCellArray(string[], Console |
| CRITICAL | …utomation/engine/hostifaces/MshHostRawUserInterface.cs | 1438 | /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.LengthInBufferCells(char)"/> |
| CRITICAL | …utomation/engine/hostifaces/MshHostRawUserInterface.cs | 1439 | /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.LengthInBufferCells(string)"/> |
| 129 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …Shell.Commands.Utility/commands/utility/MatchString.cs | 811 | // Essentially, the buffer is separated into regions: |
| MEDIUM | …Management.Automation/namespaces/FileSystemProvider.cs | 8334 | // the code above seems cleaner and more robust than the IAttachmentExecute approach |
| MEDIUM | src/System.Management.Automation/engine/CommandBase.cs | 323 | /// <summary>Detailed will leverage Get-Error to get much more detailed information for the error.</summary> |
| MEDIUM | …System.Management.Automation/engine/PSConfiguration.cs | 78 | /// A more robust solution is needed to enable ReaderWriterLockSlim behavior between processes. |
| MEDIUM | ….Management.Automation/engine/hostifaces/PowerShell.cs | 4340 | // and robust connections is retrying a failed network connection. |
| MEDIUM | …anagement.Automation/engine/hostifaces/InternalHost.cs | 21 | /// implementation, and also to provide a leverage point at which the monad engine can hook the interaction between |
| MEDIUM | …anagement.Automation/engine/hostifaces/InternalHost.cs | 24 | /// That leverage may be necessary to manage concurrent access between multiple pipelines sharing the same instance |
| MEDIUM | …omation/engine/remoting/fanin/WSManTransportManager.cs | 1517 | // Get robust connections maximum retries time. |
| MEDIUM | …omation/engine/remoting/fanin/WSManTransportManager.cs | 1863 | // This callback is also used for robust connection notifications. Check for and |
| MEDIUM | …omation/engine/remoting/fanin/WSManTransportManager.cs | 2182 | // Raise transport event notifying start of robust connections. |
| MEDIUM | …omation/engine/remoting/fanin/WSManTransportManager.cs | 2193 | // Send robust notification to client. |
| MEDIUM | …omation/engine/remoting/fanin/WSManTransportManager.cs | 2196 | // Raise transport event notifying completion of robust connections. |
| MEDIUM | …omation/engine/remoting/fanin/WSManTransportManager.cs | 2238 | // This callback is also used for robust connection notifications. Check for and |
| MEDIUM | …omation/engine/remoting/fanin/WSManTransportManager.cs | 2594 | // used for periodic robust connection retry/auto-disconnect |
| MEDIUM | …omation/engine/remoting/fanin/WSManTransportManager.cs | 2928 | // Suspend queue on robust connections initiated event. |
| MEDIUM | …omation/engine/remoting/fanin/WSManTransportManager.cs | 2931 | // Resume queue on robust connections completed event. |
| MEDIUM | …tomation/engine/remoting/fanin/BaseTransportManager.cs | 640 | /// Queue the robust connection notification event. |
| MEDIUM | …tomation/engine/remoting/fanin/BaseTransportManager.cs | 673 | // Queue worker item to raise the event so that all robust connection |
| MEDIUM | …m.Management.Automation/engine/remoting/common/misc.cs | 211 | /// A disconnect operation initiated by the WinRM robust connection |
| MEDIUM | …ation/engine/remoting/commands/InvokeCommandCommand.cs | 1443 | // Add robust connection retry notification handler. |
| LOW | …mation/engine/remoting/commands/CustomShellCommands.cs | 150 | # if AccessMode is Disabled OR the winrm configsddl failed, we just return |
| MEDIUM | …n/engine/remoting/client/RemoteRunspacePoolInternal.cs | 233 | /// Returns robust connection maximum retry time in milliseconds. |
| MEDIUM | …n/engine/remoting/client/RemoteRunspacePoolInternal.cs | 1783 | /// A session disconnect has been initiated by the WinRM robust connection layer. Set |
| MEDIUM | …Automation/engine/remoting/client/RemotingProtocol2.cs | 402 | /// Indicates that a disconnect has been initiated by the WinRM robust connections layer. |
| MEDIUM | …Automation/engine/remoting/client/RemotingProtocol2.cs | 833 | /// Forwards robust connection notifications to associated PowerShell clients. |
| MEDIUM | …Automation/engine/remoting/client/RemotingProtocol2.cs | 917 | /// Returns robust connection maximum retry time in milliseconds, if supported |
| MEDIUM | …Automation/engine/remoting/client/RemotingProtocol2.cs | 1460 | /// Called from session DSHandler. Notify client of robust connection |
| MEDIUM | …ement.Automation/engine/remoting/client/RunspaceRef.cs | 231 | // Add robust connection callback if this is a pushed runspace. |
| MEDIUM | …ement.Automation/engine/remoting/client/RunspaceRef.cs | 241 | // Add callback to write robust connection errors from stream. |
| MEDIUM | …ation/engine/remoting/client/ClientRemotePowerShell.cs | 180 | // If we are in robust connection retry mode then auto-disconnect this command |
| MEDIUM | …ation/engine/remoting/client/ClientRemotePowerShell.cs | 187 | // While in robust connection retry mode, this call forces robust connections |
| MEDIUM | …ation/engine/remoting/client/ClientRemotePowerShell.cs | 333 | /// This event is fired when this PowerShell object receives a robust connection |
| MEDIUM | …ation/engine/remoting/client/ClientRemotePowerShell.cs | 764 | /// Handles a robust connection layer notification from the transport |
| MEDIUM | …ation/engine/remoting/client/ClientRemotePowerShell.cs | 773 | // Create event arguments and warnings/errors for this robust connection notification. |
| MEDIUM | …ment.Automation/engine/Modules/SwitchProcessCommand.cs | 128 | // leverage .NET runtime's native library which abstracts the need to handle different OS and architectures for |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …ormatAndOutput/DefaultFormatters/Help_format_ps1xml.cs | 0 | ") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@ |
| HIGH | …ormatAndOutput/DefaultFormatters/Help_format_ps1xml.cs | 0 | ") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@ |
| HIGH | …matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs | 0 | ") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@ |
| HIGH | …matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs | 0 | ") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@ |
| HIGH | …matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs | 0 | ") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@ |
| HIGH | …matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs | 0 | ") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@ |
| HIGH | …matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs | 0 | ") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@ |
| HIGH | …matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs | 0 | ") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@ |
| HIGH | …ormatAndOutput/DefaultFormatters/Help_format_ps1xml.cs | 0 | ") .addnewline() .addtext(helpdisplaystrings.verbosehelpinfo) .addtext(@ |
| HIGH | …matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs | 0 | ") .addnewline() .addtext(helpdisplaystrings.verbosehelpinfo) .addtext(@ |
| HIGH | …matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs | 0 | ") .addnewline() .addtext(helpdisplaystrings.verbosehelpinfo) .addtext(@ |
| HIGH | …matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs | 0 | ") .addnewline() .addtext(helpdisplaystrings.verbosehelpinfo) .addtext(@ |
| HIGH | …matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs | 0 | ") .addnewline() .addtext(helpdisplaystrings.verbosehelpinfo) .addtext(@ |
| HIGH | …matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs | 0 | ") .addnewline() .addtext(helpdisplaystrings.verbosehelpinfo) .addtext(@ |
| HIGH | …matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs | 0 | ") .addnewline() .addtext(helpdisplaystrings.verbosehelpinfo) .addtext(@ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | src/ResGen/Program.cs | 105 | // This code was generated by a dotnet run from src\ResGen folder. |
| HIGH | …l/ManagementList/Common/ListOrganizerItem.Generated.cs | 5 | // This code was generated by a tool. DO NOT EDIT |
| HIGH | …ernal/ManagementList/Common/ListOrganizer.Generated.cs | 5 | // This code was generated by a tool. DO NOT EDIT |
| HIGH | ….UI.Internal/HelpWindow/HelpWindowSettings.Designer.cs | 5 | // This code was generated by a tool. |
| HIGH | …I.Internal/ShowCommand/ShowCommandSettings.Designer.cs | 5 | // This code was generated by a tool. |
| HIGH | …stem.Management.Automation/utils/tracing/TracingGen.cs | 975 | // This code was generated on 02/01/2012 19:52:32 |
| HIGH | …/System.Management.Automation/CoreCLR/EventResource.cs | 6 | This code was generated by the tools\ResxGen\ResxGen.ps1 run against PowerShell.Core.Instrumentation.man. |
| HIGH | …zation/xml/cmdlets-over-objects.objectModel.autogen.cs | 14 | // This code was generated by a tool. |
| HIGH | …ml/CoreCLR/cmdlets-over-objects.objectModel.autogen.cs | 9 | // This code was generated by a tool. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .pipelines/MSIXBundle-vPack-Official.yml | 311 | ## Create an output variable for the enabled channels so that downstream stages can use it. |
| MEDIUM | .pipelines/templates/uploadToAzure.yml | 279 | # Create the blob container if it doesn't exist |
| MEDIUM | .pipelines/templates/uploadToAzure.yml | 290 | # Create the blob container if it doesn't exist |
| MEDIUM | .pipelines/templates/uploadToAzure.yml | 326 | # Create the blob container if it doesn't exist |
| MEDIUM | .pipelines/templates/uploadToAzure.yml | 376 | # Create the blob container if it doesn't exist |
| MEDIUM | tools/installpsh-suse.sh | 190 | ## Create the target folder where powershell will be placed |
| MEDIUM | tools/installpsh-suse.sh | 197 | ## Create the symbolic link that points to powershell |
| MEDIUM | tools/installpsh-amazonlinux.sh | 165 | ## Create the target folder where powershell will be placed |
| MEDIUM | tools/installpsh-amazonlinux.sh | 172 | ## Create the symbolic link that points to powershell |
| MEDIUM | tools/installpsh-mariner.sh | 177 | ## Create the target folder where powershell will be placed |
| MEDIUM | tools/installpsh-mariner.sh | 184 | ## Create the symbolic link that points to powershell |
| MEDIUM | docker/InstallTarballPackage.sh | 29 | # Create the target folder where powershell will be placed |
| MEDIUM | docker/InstallTarballPackage.sh | 34 | # Create the symbolic link that points to powershell |
| MEDIUM | …Management.Automation/namespaces/FileSystemProvider.cs | 8529 | # Create the new file. |
| MEDIUM | …Management.Automation/namespaces/FileSystemProvider.cs | 8984 | # Create a new array to hold the file content |
| MEDIUM | …mation/engine/remoting/commands/CustomShellCommands.cs | 4808 | # Create the default PSSession configuration, not tied to specific PowerShell version |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .pipelines/MSIXBundle-vPack-Official.yml | 136 | # Check if release tag matches the expected format v#.#.# |
| LOW | .pipelines/MSIXBundle-vPack-Official.yml | 157 | ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step. |
| LOW | .pipelines/MSIXBundle-vPack-Official.yml | 211 | ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step. |
| LOW | .pipelines/MSIXBundle-vPack-Official.yml | 216 | ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step. |
| LOW | .pipelines/templates/rebuild-branch-check.yml | 5 | # Check if this is a rebuild branch (e.g., rebuild/v7.4.13-rebuild.5) |
| LOW | .pipelines/templates/linux.yml | 57 | ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step. |
| LOW | .pipelines/templates/linux.yml | 111 | ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step. |
| LOW | .pipelines/templates/linux.yml | 116 | ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step. |
| LOW | .pipelines/templates/windows-hosted-build.yml | 58 | ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step. |
| LOW | .pipelines/templates/windows-hosted-build.yml | 127 | ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step. |
| LOW | .pipelines/templates/windows-hosted-build.yml | 186 | ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step. |
| LOW | .pipelines/templates/windows-hosted-build.yml | 191 | ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step. |
| LOW | .pipelines/templates/stages/PowerShell-vPack-Stages.yml | 133 | ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step. |
| LOW | .pipelines/templates/stages/PowerShell-vPack-Stages.yml | 196 | ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step. |
| LOW | .pipelines/templates/stages/PowerShell-vPack-Stages.yml | 200 | ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step. |
| LOW | …ystem.Management.Automation/DscSupport/CimDSCParser.cs | 3837 | # Check if PsDscRunCredential is being specified as Arguments to Configuration |
| LOW | …ystem.Management.Automation/DscSupport/CimDSCParser.cs | 3840 | # Check if resource is also trying to set the value for RunAsCred |
| LOW | …Management.Automation/namespaces/FileSystemProvider.cs | 8546 | # Check if drive specifies max size and if max size is exceeded |
| LOW | …Management.Automation/namespaces/FileSystemProvider.cs | 8600 | # Check if drive specifies max size and if max size is exceeded |
| LOW | …Management.Automation/namespaces/FileSystemProvider.cs | 8637 | # Check if the target drive is NTFS |
| LOW | …Management.Automation/namespaces/FileSystemProvider.cs | 9131 | # Check if the source supports 'Get-Content -Stream'. This functionality was introduced in version 3.0. |
| LOW | …Management.Automation/namespaces/FileSystemProvider.cs | 9140 | # Check if the file has any alternate data streams. |
| LOW | …Management.Automation/namespaces/FileSystemProvider.cs | 9471 | # Check if the given path exists. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …Management.Automation/engine/NativeCommandProcessor.cs | 1677 | // We need to check if we're using legacy argument passing or it's a special case. |
| LOW | …m.Management.Automation/engine/remoting/client/Job2.cs | 1844 | // in which case we need to check if the parent |
| LOW | …ement.Automation/engine/runtime/CompiledScriptBlock.cs | 280 | // now we need to check if the HashtableAst is safe. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/System.Management.Automation/engine/ErrorPackage.cs | 295 | /// non-empty value, for example "John Doe". |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …t.Automation/engine/scriptparameterbindercontroller.cs | 157 | // Example usage: |