Steve Lee
6744ffb826
Make experimental feature PSNativeCommandArgumentPassing stable ( #18044 )
2022-09-12 09:48:09 -07:00
Frode Flaten
a15bfcb501
Throw when too many parameter sets are defined ( #17881 )
2022-08-22 12:11:17 -07:00
Dongbo Wang
2c9c97ac86
Do not preserve temporary results when no need to do so ( #17856 )
2022-08-10 09:36:33 -07:00
Steve Lee
9213b77659
Allow commands to still be executed even if the current working directory no longer exists ( #17579 )
2022-08-01 21:43:54 -07:00
Frode Flaten
f1595c4b31
Fix test perf by stopping ongoing write-progress ( #17749 )
2022-07-25 11:19:10 -07:00
James Truher [MSFT]
031fa93b4c
Add find.exe to legacy argument binding behavior for Windows ( #17715 )
2022-07-20 14:47:50 -07:00
James Truher [MSFT]
bfb59f1acf
Do not always collapse space between parameter and value for native arguments. ( #17708 )
2022-07-18 17:51:51 -07:00
Steve Lee
b7c875b0f2
Remove PSNativePSPathResolution experimental feature ( #17670 )
2022-07-18 17:25:46 -07:00
Mathias R. Jessen
afe99fcaea
SemanticChecks: Avoid repeated type resolution of [ordered] ( #17328 )
2022-05-17 09:54:26 -07:00
Dongbo Wang
41c7cd79da
Fix the error message in Hashtable-to-object conversion ( #17329 )
2022-05-16 14:55:00 -07:00
James Truher [MSFT]
1a24540e31
Enable more tests to be run in a container. ( #17294 )
2022-05-11 12:30:22 -07:00
Patrick Meinecke
99f3bb7a6a
Fix line breakpoints for return statements without a value ( #17179 )
2022-05-04 10:56:55 -07:00
Dongbo Wang
36fcec3bdd
Fix ForEach method to set property on a scalar object ( #17213 )
2022-05-02 10:07:12 -07:00
Dongbo Wang
b898da8842
Make a variable assignment in a ParenExpression to return the variable value ( #17174 )
2022-04-22 10:55:38 -07:00
James Truher [MSFT]
b3632eda46
Improve unique naming for tests ( #17043 )
2022-03-23 09:24:10 -07:00
Dongbo Wang
25bc64f4b0
Allow a collection that contains Automation.Null elements to be piped to pipeline ( #16957 )
2022-03-04 16:16:28 -08:00
Dongbo Wang
a3c4a163ff
Allow the PSGetMemberBinder to get value of ByRef property ( #16956 )
2022-03-04 15:01:18 -08:00
Dongbo Wang
bbb11dd07a
Fix the clean block for generated proxy function ( #16827 )
2022-02-03 11:39:08 -08:00
Steve Lee
0f21156dee
Fix $PSNativeCommandArgPassing = Windows to handle empty args correctly ( #16639 )
2022-01-11 23:21:32 -08:00
Aditya Patwardhan
f8d6b2f9fe
Update metadata.json in preparation on 7.3.0-preview.1 release ( #16406 )
...
* Update `metadata.json` in preparation on `7.3.0-preview.1` release
* Update PSVersion table and tests
2021-11-09 08:31:01 -08:00
Dongbo Wang
723a50832d
Don't throw exception when trying to resolve a possible link path ( #16310 )
2021-10-30 08:54:23 -07:00
Dongbo Wang
a32700a1c1
Add clean block to script block as a peer to begin, process, and end to allow easy resource cleanup ( #15177 )
2021-10-11 14:49:09 -07:00
Dongbo Wang
66b5d50170
Set $? correctly for command expression with redirections ( #16046 )
2021-09-03 15:36:31 -07:00
Aditya Patwardhan
3bb6b2736a
Update Ubuntu images to use Ubuntu 20.04 ( #15906 )
2021-08-30 13:56:52 -07:00
Steve Lee
a162856af5
Change default to OutputRendering.Host and remove OutputRendering.Automatic ( #15882 )
2021-08-16 14:17:07 -07:00
Dongbo Wang
eeb0407377
Add more tests to validate the current command error handling behaviors ( #15919 )
2021-08-14 14:31:49 -07:00
Dongbo Wang
286f12a37c
Update .NET adapter to handle interface static members properly ( #15908 )
2021-08-14 07:56:14 -07:00
Steve Lee
cced56d75a
Make PS-Committee reviewed experimental features stable ( #15864 )
2021-08-09 14:01:57 -07:00
James Truher [MSFT]
ac762c1cce
Add a Windows mode for native commands that allows some commands to use legacy argument passing ( #15408 )
2021-07-20 23:10:04 +00:00
Steve Lee
1df4236e6c
Kill native processes in pipeline when pipeline is disposed on Unix ( #15287 )
2021-04-26 15:10:35 -07:00
James Truher [MSFT] and Ilya
a520e2c982
Native invocation using ArgumentList ( #14692 )
...
Co-authored-by: Ilya <darpa@yandex.ru >
2021-04-01 14:54:10 -07:00
Aditya Patwardhan
a22e7ec2f3
Update README and metadata json for upcoming release ( #14026 )
2020-11-11 12:03:18 -08:00
Steve Lee
16cc9aaaf8
Fix blocking wait when starting file associated with a Windows application ( #13750 )
...
* Fix blocking wait when starting file associated with a Windows application in elevated process
* refactor check if app is WindowsApp
2020-10-07 12:58:24 +05:00
Steve Lee
fc8ca61b3d
Revert "Change PSNativePSPathResolution to not be Experimental" ( #13734 )
...
* Revert "Change `PSNativePSPathResolution` to not be Experimental (#13522 )"
This reverts commit 74c743d279 .
2020-10-03 21:20:24 +05:00
Steve Lee
74c743d279
Change PSNativePSPathResolution to not be Experimental ( #13522 )
2020-08-27 12:08:52 +05:00
Steve Lee
d67649c300
Fix $? to not be $false when native command writes to stderr ( #13395 )
2020-08-19 09:31:38 -07:00
Thomas Nieto
46efd38ef5
Fix Get-Help not properly displaying if parameter supports wildcards ( #13353 )
2020-08-11 10:20:45 -07:00
Steve Lee
511858a267
Make $ErrorActionPreference not affect stderr output of native commands ( #13361 )
2020-08-07 14:19:17 -07:00
xtqqczze
98b95e77ea
Replace Unicode nbsp with space in source ( #12576 )
...
```
-replace [char]0xA0, [char]0x20
```
2020-05-13 08:45:26 +05:00
xtqqczze
f4382202ae
Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files ( #12584 )
2020-05-07 17:00:30 +05:00
Steve Lee
23b1dd46ae
Support passing PSPath to native commands ( #12386 )
2020-04-27 14:14:57 -07:00
Aditya Patwardhan and Travis Plunk
5b390f1507
Update README.md and metadata.json for 7.1.0-preview.1 ( #12211 )
...
* Update `README.md` and `metadata.json` for `7.1.0-preview.1` release
* Add missing version updates
* fix test failure
* fix test failure
Co-authored-by: Travis Plunk <github@ez13.net >
2020-03-26 12:30:05 -07:00
Steve Lee
b7cb335f03
Update copyright notice to latest guidance ( #12190 )
2020-03-24 11:08:37 -07:00
Dongbo Wang
c737f3162c
Fix NullReferenceException when binding common parameters of type 'ActionPreference' ( #12124 )
2020-03-18 23:18:21 +05:00
Dongbo Wang
a4c32bc337
Revert the PRs that made DBNull.Value and NullString.Value treated as $null ( #11648 )
2020-01-29 14:13:05 -08:00
xtqqczze
920b671fb4
Unify pester test syntax for the arguments of -BeOfType ( #11558 )
2020-01-24 11:00:37 -08:00
xtqqczze
e0d2e2aade
Correct case of $PSHOME special variable
2020-01-13 19:35:33 +00:00
xtqqczze
2782b73e37
Correct case of $PSCulture special variable
2020-01-13 19:35:06 +00:00
xtqqczze
225164037f
Correct case of $PID special variable
2020-01-13 19:34:38 +00:00
xtqqczze
b5326a8488
Correct case of $Host special variable
2020-01-13 19:34:10 +00:00