Commit Graph
2678 Commits
Author SHA1 Message Date
xtqqczze 19fa6a9f79 Remove obsolete CA2006 rule suppression (#25939) 2026-02-23 10:40:05 -08:00
xtqqczze 2af5ad14a3 Update LangVersion to preview (#26214) 2026-02-19 07:39:42 -08:00
Aditya Patwardhan 212c5f97e3 Update to .NET 11 SDK and update dependencies (#26783) 2026-02-18 16:35:10 -08:00
Jordan Borean 1965e059bc Fix up default value for parameters with the in modifier (#26785) 2026-02-18 11:39:53 -08:00
Copilot 42371b881c Add SubjectAlternativeName property to the Signature object returned from Get-AuthenticodeSignature (#26252) 2026-02-09 17:10:50 -08:00
Aditya Patwardhan d54977441f Update Microsoft.PowerShell.Native package version (#26746) 2026-02-04 11:38:48 -08:00
Anam Navied 34f6e267a4 Add CodeQL suppressions for NativeCommandProcessor (#26729) 2026-02-02 16:45:16 -08:00
Jordan Borean 7f9c7463f2 Support TargetObject position in ParserErrors (#26649) 2026-01-21 13:55:42 -05:00
PowerShell Team BotandDongbo Wang dab346a6b7 Move PowerShell build to depend on .NET SDK 10.0.102 (#26697)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2026-01-20 16:50:23 -08:00
Dongbo Wang 9bc47950e2 Add ValidateNotNullOrEmpty attribute to the -Property of Format-Table/List/Custom (#26552) 2026-01-12 10:47:41 -08:00
Dongbo Wang c792b3c0ba Fix to use accurate message for validating a string argument is not null and not an empty string (#26668) 2026-01-12 10:45:41 -08:00
Dongbo Wang bf03a14b6d Fix the CLR internal error and null ref exception when running show-command with PowerShell API (#26669) 2026-01-12 10:44:55 -08:00
PowerShell Team Bot 3f54d4af1f Update package references and build to use the .NET SDK 10.0.101 (#26595) 2025-12-15 10:33:44 -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
Yoshifumi 7f92d588fa Add ToRegex method to WildcardPattern class (#26515) 2025-12-10 23:21:32 +05:00
Yoshifumi 235ff058e7 Centralize ExcludeProperty filter application in ViewGenerator base class (#26574) 2025-12-10 21:22:36 +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
xtqqczze 11f91dfee3 Disable AMSI content logging in release (#26235) 2025-12-03 13:16:56 +05: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
yotsuda e81985d8f2 Respect -UseWindowsPowerShell:$false in New-PSSession (#26469) 2025-11-21 22:50:32 +05:00
yotsuda 108eb857bb Correct handling of explicit -[Operator]:$false parameter values in Where-Object (#26485) 2025-11-21 17:06:23 +05:00
PowerShell Team Bot 015b5cd801 Update build to use .NET SDK 10.0.100 (#26448) 2025-11-17 17:26:45 -08:00
Aditya Patwardhan 5715d33398 DSC v3 resource for Powershell Profile (#26157) 2025-11-13 09:56:09 -08:00
Dongbo Wang e069c1d198 Update the WCF packages to the latest version that is compatible with v4.10.3 (#26406) 2025-11-11 14:25:51 -08:00
Anam Naviedandanamnavi 000c116e51 Add Fuzz Tests (#26384)
Co-authored-by: anamnavi <annavied@microsoft.com>
2025-11-06 00:10:55 +00:00
Dongbo Wang eda7e4a889 Make the experimental feature PSFeedbackProvider stable (#26343) 2025-10-30 15:53:01 -07: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
Aditya Patwardhan d38d6fadf9 Update the Microsoft.PowerShell.Native package version (#26347) 2025-10-30 10:28:52 -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
xtqqczze be195a4c22 Avoid regex for exact word matching in DscClassCache (#26306) 2025-10-28 09:28:44 -07:00
xtqqczze fde5305e84 Enable analyzers: Use char overload (#26301) 2025-10-27 04:12:53 +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
Patrick Meinecke c7ee0d2941 Fix checks for local user config file paths (#26269) 2025-10-22 15:55:23 +00: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 fcb0e5cde3 Remove redundant CharSet from StructLayout attributes. Part 1 (#26216) 2025-10-20 05:18:37 +00:00
xtqqczze 2786fceb3a Fix IDE0083: UseNotPattern (#26213) 2025-10-17 11:06:45 -07:00
xtqqczze 135bb54090 Fix IDE0049 for string in System.Management.Automation (#25921) 2025-10-17 18:31:10 +05:00
xtqqczze 907c3b1f62 Fix IDE0049 for object in System.Management.Automation. Part 1 (#25923) 2025-10-17 15:30:27 +05:00
xtqqczze b4f42a07e0 Replace stackallocs with collection expressions (#25803) 2025-10-17 04:38:05 +00:00
Elvin Aslanov b46e0709fb Capitalize Windows in PSNativeWindowsTildeExpansion experimental feature description (#25266) 2025-10-16 16:29:11 +05:00
Nagy-Egri Máté Ferenc 9461d96d55 Dynamically evaluate width of LastWriteTime for formatting output on Unix (#24624) 2025-10-16 13:29:49 +05:00
xtqqczze a10ff105c9 Fix SA1028: Code should not contain trailing whitespace. Part 1. (#26203) 2025-10-16 12:58:28 +05:00
xtqqczze 250144e92d Fix IDE0083: UseNotPattern (#26209) 2025-10-16 05:24:06 +00:00
Amrit Anand b77c80ec2f Replace custom method with File.ReadAllText() in ScriptAnalysis.cs (#26060) 2025-10-15 16:36:24 +00: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