2118 Commits
Author SHA1 Message Date
Aditya PatwardhanandTravis Plunk 706a6a1826 Update to .NET 7.0.304 (#19807)
* Update to .NET 7.0.304

* Update Analyzers.props

* Update windows.json bom

* Fix version in namedpipeconnection module

* Remove broken link

* Add logging for named pipe tests

* Disable test

* Fix typo

* Add because

* Update tools/packaging/boms/windows.json

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

* Update tools/packaging/boms/windows.json

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

---------

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2023-06-16 10:18:24 -07:00
Dongbo Wang df84ea5eac Increase the timeout when waiting for the event log (#19264) 2023-06-15 14:36:22 -07:00
Aditya Patwardhan 980b16561c Skip VT100 tests on Windows Server 2012R2 as console does not support it (#19413) 2023-04-07 12:02:10 -07:00
James Truher [MSFT] 0c52638dad Improve package management acceptance tests by not going to the gallery (#19412) 2023-04-07 12:01:15 -07:00
Aditya Patwardhan 9386b76796 Test fixes for stabilizing tests (#19068) 2023-04-07 11:59:37 -07:00
Steve Lee 1d3bad9f09 Fix ConciseView to handle custom ParserError error records (#19239) 2023-04-07 11:56:45 -07: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
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
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] 950de803bb Mark charset test as pending (#18609) 2022-11-18 14:12:00 -08: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] 99c298a5b4 Add missing -Tag 'CI' to describe blocks. (#18317) 2022-10-18 23:52:54 +00:00
github-actions[bot] 4b0b4ff4eb [release/v7.3.0-rc.1] Re-enable building with Ready-to-Run (#18107) 2022-09-15 17:42:37 -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
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] 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] ff1d67980b Complete ongoing write-progress (#17922) 2022-08-18 22:14:39 +00:00
David Bar-On 55c5e789bd Fix for deserializing imported ordered dictionary (#15545) 2022-08-08 23:29:45 +05:00
Dongbo Wang c2323db4a0 Re-enable tests because the corresponding dotnet issues were fixed (#17839) 2022-08-03 21:34:03 -07: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
Frode Flaten c072f5be92 Add test for LanguageMode using remoting (#17803) 2022-08-03 08:35:04 +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
Frode Flaten 0d52375adc Add type accelerator ordered for OrderedDictionary (#17804) 2022-08-01 09:15:14 -07:00
Matt Graeber 6bf8a98aed Adding Virtualization-Based Security feature names to Get-ComputerInfo (#16415) 2022-07-26 10:12:36 +05:00
Ilya 08e4596463 Move the type data definition of System.Security.AccessControl.ObjectSecurity to the Microsoft.PowerShell.Security module (#16355) 2022-07-25 21:16:52 -07:00
Steve Lee d72cedd70b Fix FileSystemProvider to work with volume and pipe paths (#15873) 2022-07-25 22:07:26 +00:00
William Easton ec0dba4605 Remove pre-parse for array-based JSON (#15684) 2022-07-25 14:14:56 -07:00
MartinGC94 3d4e294262 Improve type inference for $_ (#17716) 2022-07-25 11:27:23 -07:00
Frode Flaten f1595c4b31 Fix test perf by stopping ongoing write-progress (#17749) 2022-07-25 11:19:10 -07:00
MartinGC94 8eb37cc44d Prevent braces from being removed when completing variables (#17751) 2022-07-25 11:17:26 -07:00
MartinGC94 5ccbb97ae3 Fix type inference for ICollection (#17752) 2022-07-25 11:15:19 -07:00
Dominik Kaszewski 89cc6d1297 Fix Test-Json not handling non-object types at root (#17741) 2022-07-25 22:43:48 +05:00
Steve Lee 3efa28162e Change Get-ChildItem to treat trailing slash in path as indicating a directory when used with -Recurse (#17704) 2022-07-21 09:39:11 +05:00
James Truher [MSFT] 031fa93b4c Add find.exe to legacy argument binding behavior for Windows (#17715) 2022-07-20 14:47:50 -07:00
MartinGC94 76c713d7e6 Add completion for index expressions for dictionaries (#17619) 2022-07-20 03:56:35 +00:00
Frode Flaten 9ccaf107a0 Fix enum-ranges for ValidateRange in proxy commands (#17572) 2022-07-20 08:50:18 +05:00
MartinGC94 84241c3c59 Fix parser exception in using statements with empty aliases (#16745) 2022-07-19 10:42:31 -07:00
MartinGC94 618b348cdb Fix type completion for attribute tokens (#17484) 2022-07-19 09:08:10 -07:00
James Truher [MSFT] bfb59f1acf Do not always collapse space between parameter and value for native arguments. (#17708) 2022-07-18 17:51:51 -07:00
Steve Lee b7c875b0f2 Remove PSNativePSPathResolution experimental feature (#17670) 2022-07-18 17:25:46 -07:00
MartinGC94 53adf5d5d4 Improve dynamic parameter tab completion (#17661) 2022-07-18 15:32:06 -07:00
MartinGC94 b06bcee10e Avoid binding positional parameters when completing parameter in front of value (#17693) 2022-07-18 14:28:04 -07:00
Steve Lee 08baf27b80 Render decimal numbers in a table using current culture (#17650) 2022-07-18 14:27:06 -07:00