Commit Graph

3984 Commits

Author SHA1 Message Date
PRASOON KARUNAN V
837c3e8f42
Change minimum depth to 0 for ConvertTo-Json (#14830)
* Make Depth default value to 0

* updating as per review comment
2021-04-08 12:53:32 -07:00
ZhiZe-ZG
a8a7e045d8
Unified comment format (#15114) 2021-04-05 14:11:25 -07:00
James Truher [MSFT]
a520e2c982
Native invocation using ArgumentList (#14692)
Co-authored-by: Ilya <darpa@yandex.ru>
2021-04-01 14:54:10 -07:00
Steve Lee
cf6876e716
Allow Set-Clipboard to accept empty string (#14579) 2021-04-01 13:03:19 -07:00
Steve Lee
c008e3e930
Turn on and off DECCKM to modify keyboard mode for Unix native commands to work correctly (#14943) 2021-04-01 13:01:31 -07:00
xtqqczze
e92201779d
Enable SA1001: Commas should be spaced correctly (#14171) 2021-03-30 15:17:17 -07:00
Staffan Gustafsson
be7d36603d
Adding IArgumentCompleterFactory for parameterized ArgumentCompleters (#12605) 2021-03-25 17:06:40 -07:00
Steve Lee
5d0dadf19d
Fallback to CopyAndDelete() when MoveTo() fails due to an IOException (#15077) 2021-03-25 15:11:17 -07:00
dependabot[bot]
44d450ae0e
Bump NJsonSchema from 10.3.11 to 10.4.0 (#15092)
Bumps NJsonSchema from 10.3.11 to 10.4.0.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-24 14:59:18 -07:00
xtqqczze
b9f378d967
Refactor MultipleServiceCommandBase.AllServices (#15053) 2021-03-23 10:44:43 -07:00
dependabot[bot]
d90b979534
Bump Newtonsoft.Json from 12.0.3 to 13.0.1 (#15084)
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-23 10:25:14 -07:00
Travis Plunk
f1b8798264
Move bypass execution policy check after AppLocker Deny check (#15035) 2021-03-22 11:25:01 -07:00
dependabot[bot]
7fd65eada3
Bump NJsonSchema from 10.3.10 to 10.3.11 (#14965)
Bumps NJsonSchema from 10.3.10 to 10.3.11.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-17 11:25:02 -07:00
Aditya Patwardhan
4c40ab1140
Bump Microsoft.PowerShell.Native to 7.2.0-preview.1 (#15030) 2021-03-15 11:34:02 -07:00
Aditya Patwardhan
5c4a80e2e2
Update .NET to version 6.0.100-preview.2.21155.3 (#15007) 2021-03-15 11:22:40 -07:00
Steve Lee
c9d65061af
Add UseOSCIndicator setting to enable progress indicator in terminal (#14927) 2021-03-11 17:29:17 -08:00
Steve Lee
cbd97d0cab
Re-enable VT mode on Windows after running command in ConsoleHost (#14413) 2021-03-09 16:02:16 -08:00
Steve Lee
22b3653bf4
Fix Move-Item for FileSystemProvider to use copy-delete instead of move for DFS paths (#14913) 2021-03-08 15:01:31 -08:00
Steve Lee
d9da234cdf
Fix PromptForCredential() to add targetName as domain (#14504) 2021-03-08 10:52:02 -08:00
Mariano Alipi
ae5a84ea05
Move misplaced test file to tests directory (#14908) 2021-03-08 23:51:38 +05:00
Steve Lee
597bfc9696
Update Concise ErrorView to not show line information for errors from script module functions (#14912) 2021-03-08 23:37:11 +05:00
dependabot[bot]
c517f7e087
Bump Microsoft.CodeAnalysis.CSharp from 3.9.0-3.final to 3.9.0 (#14934)
Bumps [Microsoft.CodeAnalysis.CSharp](https://github.com/dotnet/roslyn) from 3.9.0-3.final to 3.9.0.
- [Release notes](https://github.com/dotnet/roslyn/releases)
- [Changelog](https://github.com/dotnet/roslyn/blob/master/docs/Breaking%20API%20Changes.md)
- [Commits](https://github.com/dotnet/roslyn/commits/v3.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 10:30:05 -08:00
dependabot[bot]
631e96af4c
Bump NJsonSchema from 10.3.9 to 10.3.10 (#14933)
Bumps NJsonSchema from 10.3.9 to 10.3.10.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-04 14:42:19 -08:00
Henry Buckle
9aede0558a
Remove the 32,767 character limit on the environment block for Start-Process (#14111) 2021-03-02 15:05:55 -08:00
Brian Lalonde
c5955a5c0d
#4750 Fix Get-Date -UFormat %G and %g behavior (#14555) 2021-03-01 16:37:15 -08:00
dependabot[bot]
79f351ca29
Bump NJsonSchema from 10.3.8 to 10.3.9 (#14926)
Bumps NJsonSchema from 10.3.8 to 10.3.9.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 16:28:27 -08:00
dependabot-preview[bot]
3ded3198c9
Bump Microsoft.ApplicationInsights from 2.16.0 to 2.17.0 (#14847)
Bumps [Microsoft.ApplicationInsights](https://github.com/Microsoft/ApplicationInsights-dotnet) from 2.16.0 to 2.17.0.
- [Release notes](https://github.com/Microsoft/ApplicationInsights-dotnet/releases)
- [Changelog](https://github.com/microsoft/ApplicationInsights-dotnet/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/Microsoft/ApplicationInsights-dotnet/compare/2.16.0...2.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-25 14:48:21 -08:00
dependabot[bot]
e475e5382d
Bump NJsonSchema from 10.3.7 to 10.3.8 (#14896)
Bumps NJsonSchema from 10.3.7 to 10.3.8.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-24 09:32:51 -08:00
James Truher [MSFT]
907746cb2e
Change signature validation logic to call first without the file content (#14849) 2021-02-23 12:23:16 -08:00
dependabot-preview[bot]
1426442fef
Bump NJsonSchema from 10.3.6 to 10.3.7 (#14855)
Bumps NJsonSchema from 10.3.6 to 10.3.7.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-19 16:42:41 -08:00
dependabot-preview[bot]
59e5d67457
Bump NJsonSchema from 10.3.5 to 10.3.6 (#14818)
Bumps NJsonSchema from 10.3.5 to 10.3.6.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-16 17:26:50 -08:00
xtqqczze
778cff0292
Avoid array allocations from GetDirectories and GetFiles (#14327)
Contributes to PowerShell#14318.
2021-02-16 10:31:02 -08:00
dependabot-preview[bot]
d255cc6d7e
Bump NJsonSchema from 10.3.4 to 10.3.5 (#14807) 2021-02-16 09:43:51 -08:00
Travis Plunk
0fffdf58ab
Don't write possible secrets to verbose stream for web cmdlets (#14788) 2021-02-15 11:15:11 -08:00
Aditya Patwardhan
b836de8223
Bump .NET framework to 6.0.0-preview.1 (#14719) 2021-02-08 17:13:33 -08:00
Steve Lee
6d7fbed02b
Suppress Write-Progress in ConsoleHost if output is redirected and fix tests (#14716) 2021-02-08 09:42:53 -08:00
dependabot-preview[bot]
6ad5f65e18
Bump NJsonSchema from 10.3.3 to 10.3.4 (#14714)
Bumps NJsonSchema from 10.3.3 to 10.3.4.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-06 11:57:15 +05:00
Steve Lee
887467eb32
Add minimal progress bar using ANSI rendering (#14414) 2021-02-05 10:50:20 -08:00
Steve Lee
c3fa70380c
Fix webcmdlets to properly construct URI from body when using -NoProxy (#14673) 2021-02-05 08:06:04 +05:00
Dongbo Wang
e803d3bc8d
Update the ICommandPredictor to provide more feedback and also make feedback easier to be corelated (#14649) 2021-02-04 15:34:17 -08:00
Brian Lalonde
61fea6c342
#4750 Fix Get-Date -UFormat %u behavior (#14549)
Corrects a behavior of %u in Get-Date -UFormat to match ISO 8601.
2021-02-04 08:10:31 +05:00
Steve Lee
8e7780860e
Reset color after writing Verbose, Debug, and Warning message (#14698) 2021-02-03 09:39:54 -08:00
Paul Higinbotham
0039807082
Fix using variable for nested foreach parallel calls (#14548) 2021-02-02 15:34:08 -08:00
Andrew
8e3c3e04f8
Cross-platform updates to DSC code in PowerShell (#13399) 2021-02-02 14:47:53 -08:00
Steve Lee
ec5a77653c
When formatting, if collection is modified, don't fail the entire pipeline (#14438) 2021-01-27 16:37:36 -08:00
dependabot-preview[bot]
9dafad3003
Bump NJsonSchema from 10.3.2 to 10.3.3 (#14619)
Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema) from 10.3.2 to 10.3.3.
- [Release notes](https://github.com/RicoSuter/NJsonSchema/releases)
- [Commits](https://github.com/RicoSuter/NJsonSchema/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-23 10:59:57 -08:00
xtqqczze
68821932c5
Fix RCS1215: Expression is always equal to true/false (#14356)
* Fix RCS1215: Expression is always equal to true/false
2021-01-19 16:03:59 +05:00
MartinGC94
e26d7084e2
Improve completion of parameters for attributes (#14525) 2021-01-14 09:30:15 +05:00
xtqqczze
9ea718f171
Enable CA2249: Consider using String.Contains instead of IndexOf (#14395)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249
2021-01-10 18:15:02 +05:00
xtqqczze
8315515494
Avoid array allocations from GetDirectories/GetFiles. (#14326) 2021-01-10 18:09:26 +05:00