Commit Graph
3026 Commits
Author SHA1 Message Date
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
PowerShell Team Bot 015b5cd801 Update build to use .NET SDK 10.0.100 (#26448) 2025-11-17 17:26:45 -08: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
Travis PlunkandCopilot 4aa65a77be Update the macos package name for preview releases to match the previous pattern (#26429)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-12 09:36:50 -08:00
Travis Plunk e7bf5621bf Improve ADO package build and validation across platforms (#26398) 2025-11-07 11:53:43 -08:00
Dongbo Wang 3953976592 Fix the fuzzy test (#26402) 2025-11-07 00:36:54 +00:00
Anam Naviedandanamnavi 000c116e51 Add Fuzz Tests (#26384)
Co-authored-by: anamnavi <annavied@microsoft.com>
2025-11-06 00:10:55 +00:00
Copilot 69770b29b0 Remove obsolete test/docker/networktest directory (#26388) 2025-11-05 18:32:30 +00:00
PowerShell Team Bot c8f26fec50 Update outdated test package references (#26368) 2025-11-02 15:25:07 -08:00
CopilotandTravisEz13 8851ab8170 Fix merge conflict checker for empty file lists and filter *.cs files (#26365)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
2025-10-31 22:52:40 +00:00
0c40a84abb Add merge conflict marker detection to linux-ci workflow and refactor existing actions to use reusable get-changed-files action (#26350)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Travis Plunk (HE/HIM) <tplunk@ntdev.microsoft.com>
2025-10-31 18:00:55 +00: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
df8fe254b9 Update SDK to 10.0.100-rc.2.25502.107 (#26305)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-10-28 16:49:53 -07:00
Copilot 7e1ef1f744 Replace fpm with dpkg-deb for DEB package generation (#26281) 2025-10-28 16:39:28 -07:00
xtqqczze fde5305e84 Enable analyzers: Use char overload (#26301) 2025-10-27 04:12:53 +00:00
xtqqczze f51860c1d1 Remove unused timeout variable from RemoteHyperVTests class (#26297) 2025-10-25 15:58:16 +00: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
PowerShell Team Bot ae12e4cb8c Update outdated package references (#26148) 2025-10-20 16:26:48 -07:00
5661a5152f Replace fpm with native rpmbuild for RPM package generation (#26233)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-20 15:18:23 -07:00
xtqqczze a10ff105c9 Fix SA1028: Code should not contain trailing whitespace. Part 1. (#26203) 2025-10-16 12:58:28 +05:00
xtqqczze d2d0defd5f Fix CA1852: Seal internal types. Part 1 (#26205) 2025-10-16 05:23:32 +00: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
Jonathan Gilbert e562d3f39a Correct handling of explicit -Since:$false parameter value in Get-Uptime (#26141) 2025-10-09 10:48:52 +00:00
xtqqczze d581baabd4 Check for GetWindowPlacement success (#26122) 2025-10-09 15:41:08 +05:00
Jordan Borean 0ef738b36f Add property and event for debug attach (#25788)
Adds the `IsRemoteDebuggerAttached` property to `Runspace` that
indicates whether a debugger is attached to the Runspace through the
`Debug-Runspace` cmdlet. Also adds a new engine event
`PowerShell.OnDebugAttach` that is emitted when the debugger is
attached.
2025-10-07 18:34:15 -04:00
Jonathan Gilbert b5279a25a1 Correct handling of explicit -Empty:$false parameter value in New-Guid (#26140) 2025-10-06 09:48:42 +05:00
Dongbo Wang b85237876d Remove the use of Windows PowerShell ETW provider id and update PSDiagnostics module to work for PowerShell 7 (#25590) 2025-10-01 12:38:19 -07:00
PowerShell Team Bot a1fad7f738 Update package references for the master branch (#26124) 2025-09-30 13:48:45 -07:00