Commit Graph
4384 Commits
Author SHA1 Message Date
github-actions[bot]andDongbo Wang 02e506c846 [release/v7.3.2] Fix SuspiciousContentChecker.Match to detect a pre-defined string when the text starts with it (#18916)
* Fix `SuspiciousContentChecker.Match` to detect a pre-defined string when the text starts with it

* Add more tests

* Add one more test

Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2023-01-10 12:06:41 -08:00
Dongbo Wang 826de5b0e0 [release/v7.3.2] Fix Switch-Process error to include the command that is not found (#18650) 2023-01-04 10:02:04 -08:00
Travis Plunk eb612c0be8 Merged PR 23331: Remove TabExpansion from remote session configuration 2022-11-22 13:00:18 -08:00
Travis Plunk af8d716ac9 Merged PR 23330: Update packages
Update dependent packages
2022-11-22 13:00:18 -08:00
github-actions[bot] 32c0361d8e Remove gcloud because it's resolved to a .ps1 script (#18646) 2022-11-22 20:39:30 +00:00
github-actions[bot] ef787cfa02 Add gcloud and sqlcmd to list to use legacy argument passing (#18645) 2022-11-22 19:30:40 +00:00
github-actions[bot] f4a70cb67d [release/v7.3.1] Change exec from alias to function to handle arbitrary args (#18644) 2022-11-22 19:04:35 +00:00
Travis PlunkandSteve Lee 15666cf5ba [release/v7.3.1] Fix Switch-Process to copy the current env to the new process (#18632)
* Fix `Switch-Process` to copy the current env to the new process (#18452)

* Update test/powershell/Modules/Microsoft.PowerShell.Core/Exec.Tests.ps1

Co-authored-by: Steve Lee <slee@microsoft.com>
2022-11-21 14:52:51 -08:00
Travis PlunkandMartinGC94 fb46702bbc Fix issue when completing the first command in a script with an empty array expression (#18355) (#18630)
Co-authored-by: MartinGC94 <42123497+MartinGC94@users.noreply.github.com>
2022-11-21 10:25:06 -08:00
github-actions[bot]andSteve Lee 645249b845 [release/v7.3.1] Fix Switch-Process to set termios appropriate for child process (#18572)
* add getting and setting termios

* chanage to use .NET exported function

* add comments

Co-authored-by: Steve Lee <slee@microsoft.com>
2022-11-21 10:08:35 -08:00
github-actions[bot]anddependabot[bot] a6a33ae708 Bump System.Data.SqlClient (#18573)
Bumps [System.Data.SqlClient](https://github.com/dotnet/corefx) from 4.8.4 to 4.8.5.
- [Release notes](https://github.com/dotnet/corefx/releases)
- [Commits](https://github.com/dotnet/corefx/commits)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 10:00:36 -08:00
github-actions[bot] a9308e8d31 Fix native access violation (#18571) 2022-11-18 14:12:34 -08:00
Aditya Patwardhan 1aa7901400 Fix malformed xml 2022-11-03 22:05:51 -07:00
Aditya Patwardhan 2c057c257e Merged PR 23096: Bump to use internal .NET 7 GA build 2022-11-04 04:45:33 +00:00
github-actions[bot]andNicklas Bjälemark 000edb89fb [release/v7.3.0] Correct incorrect cmdlet name in script (#18445)
Co-authored-by: Nicklas Bjälemark <nicklas.bjalemark@aditro.com>
2022-11-02 14:51:19 -07:00
github-actions[bot] 9ec59ff542 Bump Microsoft.PowerShell.Native from 7.3.0-rc.1 to 7.3.0 (#18413) 2022-10-29 16:18:01 +00:00
Aditya Patwardhan 63281ec146 Bump to .NET 7 to version 7.0.100-rc.2.22477.20 (#18286) (#18378) 2022-10-25 15:16:00 -07:00
github-actions[bot] 476b0c5d12 [release/v7.3.0-rc.1] Remove the ProcessorArchitecture portion from the full name as it's obsolete (#18381) 2022-10-25 12:45:42 -07:00
github-actions[bot] a5739b1739 [release/v7.3.0-rc.1] Revert "Replace win7 runtime with win8 and remove APISets (#18304)" (#18376) 2022-10-25 10:34:32 -07:00
Aditya Patwardhan 081b014e8b [release/v7.3.0-rc.1] Replace win7 runtime with win8 and remove APISets (#18304) (#18354) 2022-10-25 09:47:39 -07:00
github-actions[bot]andAditya Patwardhan b39829c9ca [release/v7.3.0-rc.1] Update to use ComputeCore.dll for PowerShell Direct (#18295)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2022-10-14 10:52:18 -07:00
github-actions[bot]anddependabot[bot] 963279d799 [release/v7.3.0-rc.1] Bump Microsoft.PowerShell.Native from 7.3.0-preview.1 to 7.3.0-rc.1 (#18296)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-14 10:47:03 -07:00
e19b173efa [release/v7.3.0-rc.1] On Unix, only explicitly terminate the native process if not in background (#18279)
Co-authored-by: Dominik Kaszewski <dakaszewski@gmail.com>
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
Co-authored-by: Steve Lee <slee@microsoft.com>
2022-10-14 09:53:42 -07:00
Aditya Patwardhan 578aef29af [release/v7.3.0-rc.1] Update DotnetRuntimeMetadata.json for .NET 7 RC1 build (#18106) 2022-09-15 16:55:16 -07:00
github-actions[bot] df5ca39733 [release/v7.3.0-rc.1] Add ConfigurationFile option to syntax frontmatter (#18104) 2022-09-15 15:17:27 -07:00
github-actions[bot] 730bc3732a [release/v7.3.0-rc.1] Filter out compiler generated types for Add-Type -PassThru (#18103) 2022-09-15 14:58:31 -07:00
Aditya Patwardhan f5a725cfc6 Backport of 'Fix error formatting to use color defined in $PSStyle.Formatting' (#18086) 2022-09-14 14:44:22 -07:00
Aditya Patwardhan ec7bb207e9 Make experimental feature PSRemotingSSHTransportErrorHandling stable (#18046) (#18085) 2022-09-14 11:18:40 -07:00
Aditya Patwardhan d1bd7eb841 Make experimental feature PSAMSIMethodInvocationLogging stable (#18041) (#18083) 2022-09-13 14:51:32 -07:00
github-actions[bot] 78b555bdb0 [release/v7.3.0-rc.1] Make experimental feature PSExec stable (#18077) 2022-09-13 10:51:48 -07:00
github-actions[bot] e1d5af6dfd [release/v7.3.0-rc.1] Make experimental feature PSNativeCommandArgumentPassing stable (#18076) 2022-09-13 10:34:54 -07:00
github-actions[bot] 61607d53a0 [release/v7.3.0-rc.1] Handle PSObject argument specially in method invocation logging (#18079) 2022-09-13 10:16:13 -07:00
github-actions[bot] ab8e112249 [release/v7.3.0-rc.1] Make experimental feature PSCleanBlock stable (#18075) 2022-09-13 10:14:37 -07:00
github-actions[bot] ac95793f95 [release/v7.3.0-rc.1] Make experimental feature PSAnsiRenderingFileInfo stable (#18078) 2022-09-12 22:03:24 -07:00
github-actions[bot] 7627e999a7 [release/v7.3.0-rc.1] Revert "Add -StrictMode to Invoke-Command to allow specifying strict mode when invoking command locally" (#18074) 2022-09-12 22:02:44 -07:00
github-actions[bot] e55db842a4 [release/v7.3.0-rc.1] Make Register MU timeout (#17995) 2022-08-30 14:28:25 -07:00
github-actions[bot] 9e01a404d4 Update to use version 2.21.0 of Application Insights. (#17927) 2022-08-18 22:25:43 +00:00
David Bar-On 55c5e789bd Fix for deserializing imported ordered dictionary (#15545) 2022-08-08 23:29:45 +05:00
Tadas Medišauskas 53a212ee65 Make generated implicit remoting modules backwards compatible with PowerShell 5 (#17227)
* Fix implicit remoting generator version check

* Fix implicit remoting generator version check
2022-08-08 10:18:51 -07:00
Dongbo Wang e7f90f0aa7 Fix other path constructions using Path.Join (#17825) 2022-08-03 11:06:01 +05:00
github-actions[bot] b66a93f74e Update .NET SDK version from 7.0.100-preview.6.22352.1 to 7.0.100-preview.7.22377.5 (#17776) 2022-08-02 22:23:59 -07:00
Steve Lee 51b2ac40d5 Enable searching for assemblies in GAC_Arm64 on Windows (#17816) 2022-08-03 08:03:13 +05:00
Steve Lee 9213b77659 Allow commands to still be executed even if the current working directory no longer exists (#17579) 2022-08-01 21:43:54 -07:00
Dongbo Wang 2051c5f72b Stop referencing Microsoft.PowerShell.Security when the core snapin is used (#17771) 2022-08-01 10:10:59 -07:00
Ryan HutchisonandTravis Plunk f2204a08b8 Authenticode https fix issue #12827 (#16134)
* Added https:// as valid prefix for TSA url

* fixed typo

* Format matching

* Added proper logic

* Appended https to error message

* Update src/System.Management.Automation/security/Authenticode.cs

I agree.

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2022-08-01 09:57:03 -07:00
Frode Flaten ebfb62b5ec Use null propagation in the Utility module (#17787) 2022-08-01 09:21:42 -07:00
Frode Flaten 7c624902e1 Use null propagation operator in remoting code (#17790) 2022-08-01 09:21:16 -07:00
Frode Flaten 2d4a6bf475 Use null propagation operator in Management and ConsoleHost (#17791) 2022-08-01 09:20:44 -07:00
Frode Flaten d204d29035 Use null propagation operator in System.Management.Automation (#17792) 2022-08-01 09:20:09 -07:00
Frode Flaten 0d52375adc Add type accelerator ordered for OrderedDictionary (#17804) 2022-08-01 09:15:14 -07:00