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
Armaan Mcleod
d24285f437
Remove input text from the error message resulted by SecureString and PSCredential conversion failure ( #19977 )
2023-07-17 10:30:10 -07:00
Patrick Meinecke
066d7bff2c
Fix native executables not redirecting to file ( #19842 )
2023-06-23 12:16:18 -07:00
Aditya Patwardhan
ebe0b54340
Update to .NET 8 Preview 4 ( #19696 )
2023-06-21 15:17:22 -07:00
josea
16558c9414
Make Update-Help throw proper error when current culture is not associated with a language ( #19765 )
2023-06-20 09:49:46 -07:00
MartinGC94
f093f538fa
Fix variable type inference precedence ( #18691 )
2023-06-12 10:38:17 -07:00
James Truher [MSFT]
d9697f07ba
Add a public API for getting locations of PSModulePath elements ( #19422 )
2023-05-22 17:02:31 -07:00
Christopher Yeleighton
b69cae01f8
Pass -UserScope as required by RunUpdateHelpTests ( #13400 )
2023-05-22 16:34:53 -07:00
James Truher [MSFT]
c444645b09
Change how 'isPreview' is determined for default cmdlets tests ( #19650 )
2023-05-15 10:25:12 -07:00
Aditya Patwardhan
fef05d1a9b
Skip file signature tests on 2012R2 where PKI cmdlet do not work ( #19643 )
2023-05-11 15:50:29 -07:00
James Truher [MSFT]
a533cefc8b
Change logic for testing missing or extra cmdlets. ( #19635 )
2023-05-11 14:07:56 -07:00
Dominik Kaszewski
270f8f1be7
Allow partial culture matching in Update-Help ( #18037 )
2023-05-09 09:46:59 -07:00
Steve Lee
8135167827
Fix constructing PSModulePath if a sub-path has trailing separator ( #13147 )
...
* Fix constructing PSModulePath if a sub-path has trailing separator
* skip test on Linux
* Removed test as the system env var needs to be modified to repro
* Add test
* Fix test by comparing against incorrectly created path
* Update test to be cross platform
2023-05-02 13:04:30 -07:00
Steve Lee and James Truher [MSFT]
a153446a01
Add Get-SecureRandom cmdlet ( #19587 )
...
* Add `Get-SecureRandom` cmdlet
* update comments
* address Paul and Travis' comments
* Update test/powershell/Modules/Microsoft.PowerShell.Utility/Get-SecureRandom.Tests.ps1
Co-authored-by: James Truher [MSFT] <jimtru@microsoft.com >
* address codefactor
* address Ilya's feedback creating a base class for both cmdlets
* remove unused `using`
---------
Co-authored-by: James Truher [MSFT] <jimtru@microsoft.com >
2023-05-02 10:54:39 -07:00
Patrick Meinecke
2424ad83aa
Support byte stream piping between native commands and file redirection ( #17857 )
2023-04-27 17:17:32 -07:00
Jordan Borean
93e9c63331
Fix Get-AuthenticodeSignature -Content to not roundtrip the bytes to a Unicode string and then back to bytes ( #18774 )
2023-04-25 12:11:04 -07:00
Aditya Patwardhan
cf6fc53c9f
Fix test failures on Windows for time zone and remoting ( #19466 )
2023-04-25 11:06:34 -07:00
James Truher [MSFT]
a7898d2886
Harden 'All approved Cmdlets present' test ( #19530 )
2023-04-20 16:14:09 -07:00
James Truher [MSFT]
059b9524aa
WIP: Harden default command test. ( #19416 )
2023-04-06 23:24:44 +00:00
Aditya Patwardhan
5a22587792
Skip VT100 tests on Windows Server 2012R2 as console does not support it ( #19413 )
2023-03-27 17:36:41 -07:00
MartinGC94
25651ef6e9
Fix a crash in the type inference code ( #19400 )
2023-03-23 14:40:50 -07:00
CarloToso
69e9b439fd
Fix codefactor if part 5 ( #19286 )
2023-03-16 22:02:42 +05:00
MartinGC94
39d48f9c62
Infer external application output as strings ( #19193 )
2023-03-14 11:24:43 -07:00
MartinGC94
0ae521b7b5
Improve type inference for Get-Random ( #18972 )
2023-03-13 15:44:38 -07:00
Aditya Patwardhan
e95f7fb50f
Test fixes for stabilizing tests ( #19068 )
2023-03-13 15:40:27 -07:00
Steve Lee
66a89826bb
Fix PlainText output to correctly remove Reset VT sequence w/o number ( #19283 )
2023-03-07 14:18:16 -08:00
Dongbo Wang
a26a8d97c1
Increase the timeout when waiting for the event log ( #19264 )
2023-03-02 12:54:13 -08:00
Steve Lee
ec258e210f
Fix ConciseView to handle custom ParserError error records ( #19239 )
2023-03-01 11:18:11 -08:00
Aditya Patwardhan
2d15e0c5b6
Update to .NET 8 preview 1 build ( #19194 )
2023-02-22 16:12:16 -08:00
Trey
91d8fb0367
Corrected some minor spelling mistakes ( #19176 )
2023-02-22 22:09:04 +05:00
Travis Plunk and Aditya Patwardhan
b2c4888ebb
Add Windows ARM64 CI ( #19040 )
...
* Add CI for win-arm64
* Add common function to test for windows arm64
* Update because string where items need investigation
---------
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com >
2023-01-31 12:06:29 -08:00
James Truher [MSFT]
5f3100cd95
Change test so output does not include newline. ( #19026 )
2023-01-25 18:02:20 -08:00
xtqqczze
8e14d2d7aa
Enable get-help pattern tests on Unix ( #18855 )
2023-01-10 08:10:03 +05:00
Steve Lee
27b5a0632d
Add -ProgressAction common parameter ( #18887 )
2023-01-09 09:40:40 -08:00
MartinGC94
8f7c980ca3
Fix type inference for all scope vars ( #18758 )
2022-12-20 15:38:25 +05:00