Justin Chung
297c2fbfbc
Merge branch 'master' into fixNoValueCSVInput
2026-06-22 11:39:33 -05:00
Patrick Meinecke and Dongbo 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
Justin Chung
010fdb1c0e
Use BeExactly
2026-04-14 17:35:38 -05:00
Justin Chung
890f695a98
Merge branch 'master' into fixNoValueCSVInput
2026-04-14 14:21:54 -05:00
Yoshifumi
2f08eb44e6
Add comprehensive PowerShell class tests for ConvertTo-Json ( #26769 )
2026-02-19 11:04:48 -08:00
Yoshifumi
9d68a05ac3
Add comprehensive PSCustomObject tests for ConvertTo-Json ( #26743 )
2026-02-18 11:04:45 -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
Justin Chung
bc9f972676
Merge branch 'master' into fixNoValueCSVInput
2026-01-13 13:27:26 -06:00
Justin Chung and Copilot
f1001ab384
Update test/powershell/Modules/Microsoft.PowerShell.Utility/ConvertFrom-Csv.Tests.ps1
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-13 13:25:18 -06:00
Justin Chung
903393ff37
Make tests platform aware
2026-01-13 13:02:05 -06: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
Yoshifumi
6311c7c2f6
Add -ExcludeProperty parameter to Format-* cmdlets ( #26514 )
2025-12-05 04:54:52 +00:00
Yoshifumi
8948c417c0
Make Export-Csv -Append and -NoHeader mutually exclusive ( #26472 )
2025-11-22 12:38:35 +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
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
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
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
mikkas456
123b450443
Handle null reference exception in CsvCommands.cs: ConvertPSObjectToCSV ( #26144 )
2025-10-16 10:09:49 +05:00
Ryan Yates
47e38beda5
Properly Expand Aliases to their actual ResolvedCommand ( #25763 )
2025-10-15 21:31:04 +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
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
Justin Chung
0b22c87353
Merge branch 'master' into fixNoValueCSVInput
2025-09-29 13:50:49 -05: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
Dongbo Wang
506869c157
Fix -Debug to not trigger the ShouldProcess prompt ( #26081 )
2025-09-23 09:19:39 +05:00
Justin Chung
db0bbeab11
Merge branch 'master' into fixNoValueCSVInput
2025-08-27 14:44:37 -05:00
Patrick Meinecke
c5f2446e69
Suppress false positive PSScriptAnalyzer warnings in tests and build scripts ( #25864 )
2025-08-19 11:51:38 +05:00
Justin Chung
5bd8b404ee
Merge branch 'fixNoValueCSVInput' of https://github.com/powershell/powershell into fixNoValueCSVInput
2025-08-05 10:50:19 -05:00
Justin Chung
effd7b21fe
Clean up comments
2025-08-05 10:50:08 -05:00
Justin Chung
7a24009de8
Merge branch 'master' into fixNoValueCSVInput
2025-08-04 15:48:22 -05:00
Justin Chung
1ba4e61635
fix header param test
2025-08-04 15:21:53 -05:00
Justin Chung
87c5def27e
Adjust ConvertFrom csv tests
2025-08-04 14:45:26 -05:00
Justin Chung
de52856de8
adjust import-csv tests
2025-08-04 14:20:40 -05:00
Justin Chung
6e3fa232c3
Added tests for edge cases and updated old test for Context and typo
2025-08-04 13:29:56 -05:00
Jordan Borean
c6329ddd54
Add MethodInvocation trace for overload tracing ( #21320 )
2025-07-14 15:42:14 -07:00
Justin Grote
8185a7f23e
Improve verbose and debug logging level messaging in web cmdlets ( #25510 )
2025-06-11 09:50:26 +05:00
Justin Chung
0ea9e5377e
Add NoNewLine to test and revert test cases to be the same
2025-03-27 13:49:28 -05:00
Justin Chung
918eadd93d
Add test null and empty string cases for ConvertFrom-Csv and Import-Csv
2025-03-11 12:54:25 -05:00
Justin Chung
bfdc498c1e
Fix test to make it pester 4.10 compatible
2025-02-26 15:59:28 -06:00
Justin Chung
472c6d0eef
Add more test cases for empty and null values
2025-02-26 15:20:13 -06:00
Justin Chung
37865364c1
Add test for testing null values and empty string values
2025-02-26 14:58:44 -06:00
Matěj Kafka
9071eac574
Stringify ErrorRecord with empty exception message to empty string ( #24949 )
2025-02-10 11:43:10 +05:00
Brendan Burns
90b0149805
Fix a bug in how Write-Host handles XmlNode object ( #24669 )
2024-12-13 10:24:02 -08:00
Jordan Borean
3e3d83cfa4
Treat large Enum values as numbers in ConvertTo-Json ( #20999 )
2024-09-19 17:24:20 +00:00
Steve Lee
9ceae0c544
Add support to Get-Error to handle BoundParameters ( #20640 )
...
* Add support to `Get-Error` to handle BoundParameters
* sort the keys
* change to generalize for all dictionaries
* address Patrick's comment to generalize and use one codepath for dictionaries
* address codefactor
2024-08-26 19:25:16 -04:00