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
77f1d99568
Respect -Shuffle:$false in Get-Random ( #26457 )
2025-11-17 08:36:48 +05:00
xtqqczze and Copilot
250e18cc9b
Refactor IsComputerNameValid character validation ( #26274 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-14 11:06:49 +00:00
Aditya Patwardhan
5715d33398
DSC v3 resource for Powershell Profile ( #26157 )
2025-11-13 09:56:09 -08:00
Aditya Patwardhan
2330c80875
Update PSResourceGet package version to 1.2.0-preview4 ( #26404 )
2025-11-11 14:26:46 -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 Navied and anamnavi
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
Dongbo Wang
e5d40dc06d
Update PSReadLine to v2.4.5 ( #26282 )
2025-10-23 11:15:30 -07:00
ThioJoe and Travis 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
9470212e6a
Fix CA1837: Use 'Environment.ProcessId' ( #26242 )
2025-10-20 11:16:44 -07: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
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
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
xtqqczze
659c73ffd3
Avoid possible multiple enumerations in ImportModuleCommand.IsPs1xmlFileHelper_IsPresentInEntries ( #26104 )
2025-10-12 15:57:10 +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
db77d2ede5
Enable CA1860: Avoid using 'Enumerable.Any()' extension method ( #26109 )
2025-10-08 09:10:48 +05:00
xtqqczze
5cdafbc4c7
Enable CA1858: Use 'StartsWith' instead of 'IndexOf' ( #26107 )
2025-10-08 08:22:54 +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
xtqqczze
60d4bc39bc
Fix memory leak in GetFileShares ( #25896 )
2025-10-07 14:28:19 +05:00
Jonathan Gilbert
b5279a25a1
Correct handling of explicit -Empty:$false parameter value in New-Guid ( #26140 )
2025-10-06 09:48:42 +05:00
Anam Navied
be0542b193
Add CodeQL suppresion for NativeCommandProcessor ( #26145 )
2025-10-03 21:48:30 +00:00
Anam Navied
d5267d2ee6
Add CodeQL suppressions for UpdatableHelp and NativeCommandProcessor methods ( #26132 )
2025-10-01 15:52:12 -07: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
Dongbo Wang
859431e002
Allow opt-out of the named-pipe listener using the environment variable POWERSHELL_DIAGNOSTICS_OPTOUT ( #26086 )
2025-09-30 12:56:54 -07:00
Dongbo Wang
716754d220
Remove ThreadJob module and update PSReadLine to 2.4.4-beta4 ( #26120 )
2025-09-30 12:32:43 -07:00
Andy Jordan
3aa49cca9b
Remove IsScreenReaderActive() check from ConsoleHost ( #26118 )
2025-09-30 12:18:52 -07:00
Matěj Kafka and Dongbo Wang
551a0fe642
Fix ConvertFrom-Json to ignore comments inside array literals ( #14553 ) ( #26050 )
...
Co-authored-by: Dongbo Wang <dongbow@microsoft.com >
2025-09-23 10:29:11 -07:00