Commit Graph
2497 Commits
Author SHA1 Message Date
Dongbo Wang c9ac205fda Handle empty-string and null-value results returned from custom argument completer more properly (#27398) 2026-05-11 11:59:37 -07:00
Dongbo Wang 65e6a8055c Update PowerShell telemetry to respect the diagnostics and feedback setting on Windows (#27328) 2026-04-24 09:52:06 -07:00
Patrick MeineckeandDongbo Wang e2784b8867 Update MaxVisitCount and MaxHashtableKeyCount if VisitorSafeValueContext indicates SkipLimitCheck is true (#27306)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2026-04-20 10:56:25 -07:00
72be78e6be Remove MSI from publishing pipeline (#27213)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2026-04-16 15:01:35 -04:00
Dongbo Wang 78e437c6f3 Fix the PSNativeCommandArgumentPassing test (#27057) 2026-03-18 15:32:15 -07:00
Dongbo Wang c19a440244 Fix Import-Module.Tests.ps1 to handle Arm32 platform (#26862) 2026-02-20 14:05:55 -08:00
Yoshifumi 2f08eb44e6 Add comprehensive PowerShell class tests for ConvertTo-Json (#26769) 2026-02-19 11:04:48 -08:00
Jordan Borean 1965e059bc Fix up default value for parameters with the in modifier (#26785) 2026-02-18 11:39:53 -08:00
Yoshifumi 9d68a05ac3 Add comprehensive PSCustomObject tests for ConvertTo-Json (#26743) 2026-02-18 11:04:45 -08:00
Dongbo Wang 8f457fc714 Skip the flaky Update-Help test for the PackageManagement module (#26845) 2026-02-17 16:40:04 -05:00
CopilotandTravisEz13 6b8d724b03 Mark flaky Update-Help web tests as pending to unblock CI (#26796)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
2026-02-13 03:57:33 +00:00
Dongbo Wang 2e26e4b690 Update the Update-Help tests to use -Force to remove read-only files (#26780) 2026-02-12 11:50:16 -05:00
Copilot 42371b881c Add SubjectAlternativeName property to the Signature object returned from Get-AuthenticodeSignature (#26252) 2026-02-09 17:10:50 -08:00
Yoshifumi 664ac75f4f Add comprehensive depth and multilevel composition tests for ConvertTo-Json (#26744) 2026-02-09 16:43:02 -08:00
Yoshifumi 4382544127 Add comprehensive array and dictionary tests for ConvertTo-Json (#26742) 2026-02-06 09:41:03 -08:00
Yoshifumi dd4f2fecfa Add comprehensive scalar type tests for ConvertTo-Json (#26736) 2026-02-05 15:51:22 -08:00
Yoshifumi 8489f8fc34 Mark -NoTypeInformation as obsolete no-op and evaluate -IncludeTypeInformation on by value on Csv cmdlets (#26719) 2026-01-28 17:06:15 -05:00
Jordan Borean 7f9c7463f2 Support TargetObject position in ParserErrors (#26649) 2026-01-21 13:55:42 -05:00
Dongbo Wang 9bc47950e2 Add ValidateNotNullOrEmpty attribute to the -Property of Format-Table/List/Custom (#26552) 2026-01-12 10:47:41 -08:00
Yoshifumi d0d39c03b1 Fix Test-Json false positive errors when using oneOf or anyOf in schema (#26618) 2025-12-17 09:15:36 +00:00
Dongbo Wang b14cd0330c Fix the DSC test by skipping AfterAll cleanup if the initial setup in BeforeAll failed (#26621) 2025-12-16 12:07:14 -08:00
Dongbo Wang 592668bd0b Refactor the module path construction code to make it more robust and easier to maintain (#26565) 2025-12-12 09:43:08 -08:00
Copilot 2e7765eef1 Fix $PSDefaultParameterValues leak causing tests to skip unexpectedly (#26602)
This fixes test isolation issues where six test files were leaking $PSDefaultParameterValues["It:Skip"] settings to subsequent tests, causing widespread test skipping on Linux. The fixes address two distinct patterns: using .Remove() which doesn't restore the original state (4 files), and imbalanced Push-DefaultParameterValueStack/Pop-DefaultParameterValueStack calls (2 files).
2025-12-12 09:26:46 +05:00
Yoshifumi 7f92d588fa Add ToRegex method to WildcardPattern class (#26515) 2025-12-10 23:21:32 +05:00
Yoshifumi 6311c7c2f6 Add -ExcludeProperty parameter to Format-* cmdlets (#26514) 2025-12-05 04:54:52 +00:00
Yoshifumi 5c57c3e19c Fix NOTES section formatting in comment-based help (#26512) 2025-12-03 08:35:44 +00:00
Yoshifumi 01e36432fc Add tab completion for $PSBoundParameters.Keys switch cases and access patterns (#26483) 2025-11-26 11:48:53 +05:00
Dongbo Wang eb2ead439a Fix formatting to properly handle the Reset VT sequences that appear in the middle of a string (#26424) 2025-11-24 14:38:23 -08:00
Dongbo Wang 9ee3c61c26 Close pipe client handles after creating the child ssh process (#26491) 2025-11-24 20:05:03 +00:00
Yoshifumi 70a6a80f6b Add -Extension parameter to Join-Path cmdlet (#26482) 2025-11-22 18:28:27 +05:00
Yoshifumi 8948c417c0 Make Export-Csv -Append and -NoHeader mutually exclusive (#26472) 2025-11-22 12:38:35 +05:00
yotsuda bb712def99 Respect -Qualifier/-NoQualifier/-Leaf/-IsAbsolute:$false in Split-Path (#26474) 2025-11-21 22:56:07 +05:00
yotsuda e81985d8f2 Respect -UseWindowsPowerShell:$false in New-PSSession (#26469) 2025-11-21 22:50:32 +05:00
yotsuda fb6403d4da Respect -Repeat/-MtuSize/-Traceroute:$false in Test-Connection (#26479) 2025-11-21 17:12:28 +05:00
yotsuda 108eb857bb Correct handling of explicit -[Operator]:$false parameter values in Where-Object (#26485) 2025-11-21 17:06:23 +05:00
yotsuda d486365b24 Fix Invoke-RestMethod to support read-only files in multipart form data (#26454) 2025-11-18 17:49:38 +05:00
yotsuda 11d154c673 Respect -ListAvailable:$false in Get-TimeZone (#26463) 2025-11-17 22:04:57 +05:00
yotsuda e741cecab3 Respect -Shuffle:$false in Get-SecureRandom (#26460) 2025-11-17 11:45:14 +05:00
yotsuda 77f1d99568 Respect -Shuffle:$false in Get-Random (#26457) 2025-11-17 08:36:48 +05:00
Aditya Patwardhan 5715d33398 DSC v3 resource for Powershell Profile (#26157) 2025-11-13 09:56:09 -08:00
Dongbo Wang 943257b247 Make some experimental features stable (#26348)
The following experimental features are made stable:
- PSNativeWindowsTildeExpansion
- PSRedirectToVariable
- PSSubsystemPluginModel
2025-10-30 14:26:03 -07:00
xtqqczze 82d59136b2 Use [initialsessionstate] type accelerator (#25912) 2025-10-24 04:54:03 +00:00
Dongbo Wang 38f9885173 Fix a regression in the API CompletionCompleters.CompleteFilename() that causes null reference exception (#26291) 2025-10-23 16:19:55 -07:00
ThioJoeandTravis Plunk 1b3a3215d2 Fix a few simple typos in comments and string outputs (#25805)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-10-23 09:09:26 +05:00
Jordan Borean af26292a7a Add PSApplicationOutputEncoding variable (#21219)
Adds the $PSApplicationOutputEncoding variable that can be used to control the encoding PowerShell uses when reading the raw bytes to a string of an external application.
2025-10-21 05:13:30 +00:00
xtqqczze a10ff105c9 Fix SA1028: Code should not contain trailing whitespace. Part 1. (#26203) 2025-10-16 12:58:28 +05:00
mikkas456 123b450443 Handle null reference exception in CsvCommands.cs: ConvertPSObjectToCSV (#26144) 2025-10-16 10:09:49 +05:00
MartinGC94 9c5ac7d622 Add Delimiter parameter to Get-Clipboard (#26134) 2025-10-15 21:50:37 +05:00
Ryan Yates 47e38beda5 Properly Expand Aliases to their actual ResolvedCommand (#25763) 2025-10-15 21:31:04 +05:00
Jorge Suarez 26bb188c8b Improve ValidateLength error message consistency and refactor validation tests (#25806) 2025-10-13 11:55:20 +05:00