Steve Lee
cced56d75a
Make PS-Committee reviewed experimental features stable ( #15864 )
2021-08-09 14:01:57 -07:00
6933c5b473
Only allow -File to accept .ps1 scripts on Windows ( #15859 )
...
Co-authored-by: Ilya <darpa@yandex.ru >
Co-authored-by: Paul Higinbotham <paulhi@microsoft.com >
2021-08-03 13:43:00 -07:00
James Truher [MSFT]
881f31b4b3
Harden logic when looking for syslog entries to be sure that we select based on PID ( #15841 )
2021-07-30 10:10:33 +05: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
b5efe7bc39
Use $PSStyle.Formatting.FormatAccent for Format-List and $PSStyle.Formatting.TableHeader for Format-Table output ( #14406 )
2021-07-20 09:02:52 +05:00
Aditya Patwardhan
31a4528302
Update to .NET 6 Preview 6 and use crossgen2 ( #15763 )
2021-07-19 16:06:39 -07:00
Ilya
0f3bc73d9a
Implement a completion for View parameter of format cmdlets ( #14513 )
2021-07-13 17:32:48 +00:00
MartinGC94
77054ff586
Fix splatting being treated as positional parameter ( #14623 )
2021-06-15 16:56:14 -07:00
Francesco Saltori
a70f915411
Retrieve ProductVersion using informational version attribute in AmsiUtils.Init() ( #15527 )
2021-06-14 12:04:36 -07:00
MartinGC94
2fc3826dd3
Add completions for comment-based help keywords ( #15337 )
2021-05-25 13:36:53 -07:00
MartinGC94
5d8336adf5
Fix tab completion for un-localized about topics ( #15265 )
2021-05-05 11:24:40 -07:00
MartinGC94
55d12ee76c
Add completion for Requires statements ( #14596 )
2021-04-14 10:26:48 -07:00
Aditya Patwardhan
4a7bea0082
Update .NET to 6.0.0-preview.3 ( #15221 )
2021-04-13 15:45:15 -07:00
Steve Lee
2f3f39906f
resolve merge conflict ( #14969 )
2021-04-12 20:11:50 -07:00
Aditya Patwardhan
e33a3c7acc
Add the missing tag in Host Utilities tests ( #14983 )
2021-04-12 09:32:54 -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
Steve Lee
d9da234cdf
Fix PromptForCredential() to add targetName as domain ( #14504 )
2021-03-08 10:52:02 -08:00
MartinGC94
e26d7084e2
Improve completion of parameters for attributes ( #14525 )
2021-01-14 09:30:15 +05:00
Francesco Saltori
ea2da20a23
Get PowerShell version in PSVersionInfo using assembly attribute instead of FileVersionInfo ( #14332 )
2020-12-11 17:12:10 -08:00
Aditya Patwardhan
a22e7ec2f3
Update README and metadata json for upcoming release ( #14026 )
2020-11-11 12:03:18 -08:00
Aditya Patwardhan
cb8165eeef
Move PSNullConditionalOperators feature out of experimental ( #13529 )
2020-08-27 10:11:01 -07:00
Steve Lee
511858a267
Make $ErrorActionPreference not affect stderr output of native commands ( #13361 )
2020-08-07 14:19:17 -07:00
Travis Plunk
6583d501b5
Fix a test failure ( #12636 )
2020-05-12 14:26:22 -07: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
Aditya Patwardhan
633e52f345
Update .NET SDK to 5.0.100-preview.4.20229.10 ( #12538 )
2020-05-04 18:17:52 -07:00
Aditya Patwardhan
cc0d20aa08
Bump .NET to 5.0.0-preview.4 ( #12507 )
2020-04-28 14:18:16 -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
Steve Lee
495dea0783
Move to .NET 5 preview.1 ( #12140 )
2020-03-19 11:27:13 -07:00
Aditya Patwardhan
a578347b5a
Update Get-PlatformInfo helper and tests for Debian 10, 11 and CentOS 8 ( #11842 )
2020-02-12 18:35:24 -08:00
xtqqczze
2014ce66c1
Set StrictMode version 3.0 ( #11563 )
2020-02-03 09:44:10 -08:00
xtqqczze
920b671fb4
Unify pester test syntax for the arguments of -BeOfType ( #11558 )
2020-01-24 11:00:37 -08:00
xtqqczze
a454352f32
Fix false positives
2020-01-13 19:39:58 +00:00
xtqqczze
090ad9cb33
Correct case of $PSVersionTable special variable
2020-01-13 19:36:31 +00:00
xtqqczze
e0d2e2aade
Correct case of $PSHOME special variable
2020-01-13 19:35:33 +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
xtqqczze
6d97b3a4a4
Correct case of $IsCoreCLR special variable
2020-01-13 19:27:48 +00:00
xtqqczze
bb58e2aab6
Correct case of $false special variable
2020-01-13 19:25:35 +00:00
xtqqczze
47a3b4e293
Correct case of $true special variable
2020-01-13 19:25:09 +00:00
xtqqczze
4a9d70fdcd
Correct case of $PWD special variable
2020-01-13 19:24:10 +00:00
xtqqczze
b6a687bf21
Correct case of $error special variable
2020-01-13 19:19:39 +00:00
xtqqczze
f86f30cf64
Correct case of $NestedPromptLevel special variable
2020-01-13 19:13:53 +00:00
xtqqczze
743983390e
Update pester syntax to v4 ( #11544 )
...
* Capitalize 'Should' command and fix whitespace
```powershell
$_ -ireplace '\s?\|\s?should\b',' | Should'
```
* Capitalise and apply hyphen to 'Not' parameter
```powershell
$_ -ireplace '(\| Should) not\b','$1 -Not'
```
* Capitalise and apply hyphen to 'Be' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?) -?be\b','$1 -Be'
```
* Capitalise and apply hyphen to 'BeExactly' parameter
$_ -ireplace '(\| Should(?: -Not)?) -?beexactly\b','$1 -BeExactly'
* Capitalise and apply hyphen to 'BeGreaterThan' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?) -?begreaterthan\b','$1 -BeGreaterThan'
```
* Use 'BeTrue' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?) -Be\s\$?true\b','$1 -BeTrue'
```
* Use 'BeFalse' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?) -Be\s\$?false\b','$1 -BeFalse'
```
* Capitalise and apply hyphen to 'Match' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?)\s-?match\b','$1 -Match'
```
* Capitalise and apply hyphen to 'Throw' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?)\s-?throw\b','$1 -Throw'
```
* Capitalise and apply hyphen to 'BeNullOrEmpty' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?)\s-?benullorempty\b','$1 -BeNullOrEmpty'
```
* Capitalise 'Because' parameter
```powershell
$_ -ireplace '\s-because\b',' -Because'
```
* Fix 'BeNullOrEmpty'
2020-01-11 20:41:59 +05:00
Ilya
b221c2afa2
Correct pwsh run ( #11486 )
2020-01-05 12:17:41 +05:00
Aditya Patwardhan
2dbb5717ce
Make null member access tests as string to avoid parsing errors ( #11385 )
...
* Make null member access tests as string to avoid parsing errors
* Add PSNullConditionalOperators feature to testmetadata.json
* Add Parsing tests to be skipped
* Add tabcompletion tests
2019-12-21 00:14:07 +00:00
Dongbo Wang
25895e34b8
Fix NullReferenceException in CompletionCompleters public methods ( #11274 )
2019-12-10 09:51:01 +05:00
M1kep
570ba43a24
Allow CompleteInput to return results from ArgumentCompleter when AST or Script has matching function definition ( #10574 )
2019-12-02 10:51:13 -08:00
Steve Lee
a1c2d3c977
Fix detection of $PSHOME in front of $env:PATH ( #11141 )
2019-11-23 15:17:08 -08:00
Steve Lee
2e553038c5
Allow pwsh to inherit $env:PSModulePath and enable powershell.exe to start correctly ( #11057 )
2019-11-15 17:29:04 -08:00