Dongbo Wang
0ceb11ad68
[release/v7.6.2] Update PowerShell telemetry to respect the diagnostics and feedback setting on Windows ( #27438 )
2026-05-13 16:13:41 -07:00
Patrick Meinecke and Dongbo Wang
d32bbec593
[release/v7.6] Skip the flaky Update-Help test for the PackageManagement module ( #26847 )
...
Co-authored-by: Dongbo Wang <dongbow@microsoft.com >
2026-02-17 18:03:32 -05:00
32f7691b3a
[release/v7.6] Mark flaky Update-Help web tests as pending to unblock CI ( #26846 )
...
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com >
2026-02-17 17:26:10 -05:00
Travis Plunk
8bb4182b02
[release/v7.6] Update the Update-Help tests to use -Force to remove read-only files ( #26787 )
2026-02-17 13:45:03 -08:00
Dongbo Wang
86475e9bb9
[release/v7.6] Fix $PSDefaultParameterValues leak causing tests to skip unexpectedly ( #26705 )
2026-01-21 11:52:09 -08:00
Aditya Patwardhan
2e047922ca
[release/v7.6] Close pipe client handles after creating the child ssh process ( #26564 )
2025-12-02 15:58:22 -08:00
Travis Plunk
9532f85fe4
[release/v7.6] Make some experimental features stable ( #26490 )
2025-11-20 14:57:21 -08:00
xtqqczze
d418ffe84c
Make some tests less noisy on failure ( #26035 )
2025-09-11 13:55:36 -07:00
Patrick Meinecke
c5f2446e69
Suppress false positive PSScriptAnalyzer warnings in tests and build scripts ( #25864 )
2025-08-19 11:51:38 +05:00
Jordan Borean
4415386172
Improve the $using expression support in Invoke-Command ( #24025 )
...
Always use the v5.1 `$using:` logic when dealing with any connection type that is not based on the `WSManConnectionInfo`. This allows the caller to use the more advanced `$using` features like variables with special names, having `$using` vars inside sub scopes, and more. `WSMan` based connections might still communicate with older versions but as the oldest supported version is v3 on Server 2012. We don't need to keep the default as v2 (which has been deprecated) to support some of the newer features.
2025-08-04 16:31:30 -07:00
Aditya Patwardhan
07dfab2277
Fix updatable help test for new content ( #25819 )
2025-08-04 14:04:56 -07:00
Stéphane BARIZIEN
a993992298
Adding hex format for native command exit codes ( #21067 )
2025-07-31 08:23:20 +05:00
GameMicrowave
fcc1833963
Treat -Target as literal in New-Item ( #25186 )
2025-05-12 16:22:29 +05:00
Dongbo Wang
52150fd8a7
Add more tests for PSForEach and PSWhere methods ( #25519 )
2025-05-09 11:15:03 -07:00
(Havox)
1b786d2d89
Add support for thousands separators in [bigint] casting ( #25396 )
2025-05-08 17:10:33 +05:00
Staffan Gustafsson
9cbbb8ff32
Add PSForEach and PSWhere as aliases for the PowerShell intrinsic methods Where and Foreach ( #25511 )
2025-05-05 17:13:02 -07:00
Dongbo Wang
f53865d1a4
Fix the isolated module test that was disabled previously ( #25420 )
2025-05-03 16:51:51 -07:00
MartinGC94
0c96975d1e
Exclude outvariable assignments within the same CommandAst when inferring variables ( #25224 )
2025-03-26 18:00:46 +00:00
MartinGC94
dea739cf99
Fix infinite loop in variable type inference ( #25206 )
2025-03-26 07:53:08 +05:00
MartinGC94
0ca17fdacd
Fix type inference of parameters in classic functions ( #25172 )
2025-03-18 13:23:49 +05:00
MartinGC94
1edd258e3b
Improve assignment type inference ( #21143 )
2025-03-18 09:48:11 +05:00
MartinGC94
becdd61b3c
Improve variable type inference ( #19830 )
2025-03-13 10:04:02 +00:00
MartinGC94
33ed509ca4
Add type inference for functions without OutputType attribute and anonymous functions ( #21127 )
2025-02-28 17:48:59 +00:00
MartinGC94
6fbd8ba1dd
Handle type inference for redirected commands ( #21131 )
2025-02-28 04:20:25 +00:00
MartinGC94
f47b14e7ff
Improve the type inference for binary expressions ( #25030 )
2025-02-20 10:39:29 +05:00
MartinGC94
fd85f6c35a
Use types from both sides of the pipeline chain for the type inference ( #25031 )
2025-02-18 05:44:28 +00:00
MartinGC94
57dbde625f
Update Named and Statement block type inference to not consider AssignmentStatements and Increment/decrement operators as part of their output ( #21137 )
2024-12-29 17:29:03 +05:00
Jordan Borean
ba238808fb
Support PSObject wrapped values in ArgumentToEncodingTransformationAttribute ( #24555 )
2024-11-12 08:41:22 +05:00
PowerShell Team Bot and Travis Plunk
7db6a70b56
[master] Update branch for release ( #24534 )
...
* Update package references
* Update cgmanifest
* Update IsolatedModule.Tests.ps1
---------
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com >
2024-10-31 15:15:28 -07:00
Steve Lee
ba043c4c27
Fix Test-ModuleManifest so it can use a UNC path ( #24115 )
2024-08-19 15:40:31 -07:00
Travis Plunk and James Truher [MSFT]
c11e4cf0d1
Move to 9.0.0-preview.6.24327.7 ( #24133 )
...
---------
Co-authored-by: James Truher [MSFT] <jimtru@microsoft.com >
2024-08-13 10:18:39 -07:00
Armaan Mcleod
b39b5f4252
Add ConvertTo-CliXml and ConvertFrom-CliXml cmdlets ( #21063 )
2024-07-26 22:12:44 +05:00
Jordan Borean
ecdf7805ca
Fix up .NET method invocation with Optional argument ( #21387 )
2024-07-01 15:46:39 -07:00
Jordan Borean
ab43c19390
Improve .NET overload definition of generic methods ( #21326 )
2024-07-01 14:03:01 -07:00
James Truher [MSFT]
7f99fa1bf3
Get-Help may report parameters with ValueFromRemainingArguments attribute as pipeline-able ( #23871 )
...
* Remove FromRemainingArguments as an inputs indicator.
The parameter attribute FromRemainingArguments is not an indicator of pipeline input.
2024-06-03 21:20:55 +05:00
Steve Lee and Steve Lee
4bcc3f41c0
Fix [semver] type to pass semver.org tests ( #21401 )
...
* Fix `[semver]` type to pass semver.org tests
* fix test to split per OS specific newline
* replace all regex with semver.org ones adding new one for build label, update tests
---------
Co-authored-by: Steve Lee (POWERSHELL HE/HIM) (from Dev Box) <slee@ntdev.microsoft.com >
2024-04-22 16:32:22 -04:00
Justin Grote
7ad43292a8
Add RecommendedAction to ConciseView of the error reporting ( #20826 )
2024-04-15 10:35:23 -07:00
guangwu
b23607ef8c
Fix typo in a test ( #21337 )
...
connectiong -> connecting
2024-03-29 08:51:37 +05:00
Dongbo Wang
ad7278bbff
Make sure the assembly/library resolvers are registered at early stage ( #21361 )
2024-03-21 16:25:12 -07:00
MartinGC94
aa97c515c8
Fall back to type inference when hashtable key value cannot be retrieved from safe expression ( #21184 )
2024-03-04 15:55:23 -08:00
Patrick Meinecke
1dc2ebe5bc
Fix error formatting for pipeline enumeration exceptions ( #20211 )
2024-03-04 12:58:06 -08:00
Aditya Patwardhan
a145f47787
Bump to .NET 9 Preview 1 ( #21229 )
2024-02-16 03:15:11 +00:00
Dongbo Wang
ac559185d0
Add Aliases to the properties shown up when formatting the help content of the parameter returned by Get-Help ( #20994 )
2024-01-09 11:21:31 -08:00
Travis Plunk
687383bcc1
Block getting help from network locations in restricted remoting sessions ( #20593 )
2023-10-31 16:06:15 -07:00
James Truher [MSFT]
77e8021256
Set experimental features to stable for 7.4 release ( #20285 )
2023-09-22 17:01:22 -07:00
James Truher [MSFT]
a469783e76
Harden some problematic release tests ( #20155 )
2023-08-28 10:55:25 -07:00
Thomas Nieto
39513bb3fb
Remove parenthesis for empty attribute parameters ( #20087 )
2023-08-21 10:11:55 -07:00
James Truher [MSFT]
046301b716
Additional test hardening for tests which fail in release pass. ( #20093 )
2023-08-16 11:28:59 -07:00
stevenebutler
3710671c16
Guard against null or blank path components when adding to module path ( #19922 )
2023-07-31 11:00:27 -07:00
James Truher [MSFT]
91447e62de
Fixes for release tests ( #20028 )
2023-07-27 15:04:30 -07:00