4396 Commits
Author SHA1 Message Date
Dongbo Wang b12bbe5a73 Update to .NET SDK 7.0.203 2023-04-11 13:51:07 -07:00
Steve Lee 1d3bad9f09 Fix ConciseView to handle custom ParserError error records (#19239) 2023-04-07 11:56:45 -07:00
Steve Lee 9b2c125357 Fix VtSubstring helper method to correctly check chars copied (#19240) 2023-04-07 11:56:34 -07:00
Staffan Gustafsson 142b17e699 Adding missing guard for telemetry optout to avoid NRE when importing modules (#18949) 2023-04-07 11:55:05 -07:00
Travis Plunk 93fa32222e Fix support for nanoserver due to lack of AMSI (#18882) 2023-04-07 11:54:56 -07:00
Jose SuaandJose Sua f9dd349d72 Add Instrumentation to AmsiUtil and make the init variable readonly (#18727)
* Add Insturmentation to AmsiUtil and make the init variable readonly

* remove unwanted file

* Fix task to hex

* ingnore AsmiInit when not windows

* rename event name

* CR feedback

* the missing dot in the argument documentation because that is very very important.

* CR feedback

Co-authored-by: Jose Sua <josesua@ntdev.microsoft.com>
2023-04-07 11:54:47 -07:00
Patrick Meinecke db10b2028a Merged PR 24334: Update global.json to 7.0.200 for v7.3.3 2023-02-16 17:25:56 +00:00
travis plunk db6e07984c Allow system lock down test debug hook to work with new wldp API (fixes system lock down tests) (#18962) 2023-01-18 14:50:14 -08:00
Travis Plunk c1b8d096b4 Merged PR 23820: Fix for JEA session leaking functions
Related work items: #152543
2023-01-11 01:00:45 +00:00
Travis Plunk ed0a788bde Merged PR 23818: Update dependencies for .NET release
Update dependencies for .NET release
2023-01-11 00:25:20 +00:00
github-actions[bot]andDongbo Wang 2462a545bb [release/v7.3.2] Fix Start-Job to check the existence of working directory using the PowerShell way (#18917)
* Fix `Start-Job` to check the existence of working directory using the PowerShell way

* Add a test

* Update

* Fix the test

* Not covering the check of whitespace string for -WorkingDirectory

Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2023-01-10 14:57:43 -08:00
Travis PlunkandAditya Patwardhan 4b9eae3c4c Remove unnecessary reference to System.Runtime.CompilerServices.Unsafe (#18918)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2023-01-10 14:17:47 -08:00
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