Commit Graph
1942 Commits
Author SHA1 Message Date
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
William Easton 0e1160d20f Add more tests for ConvertFrom-Json (#15706) 2021-07-16 16:01:47 -07:00
Steve Lee 9fb3c2e97c Highlight using error color the exception Message and underline in PositionMessage for Get-Error (#15786) 2021-07-16 15:15:16 +05:00
Ilya 0f3bc73d9a Implement a completion for View parameter of format cmdlets (#14513) 2021-07-13 17:32:48 +00:00
Steve Lee bfb4a818bf Add support to colorize FileInfo file names (#14403) 2021-07-12 11:07:29 -07:00
Steve Lee adc236c598 Don't serialize to json ETS properties for DateTime and string types (#15665) 2021-07-12 10:56:33 -07:00
xtqqczze 756aef9a86 Fix CA2243: Attribute string literals should parse correctly (#15622)
* Update V2Cmdlets.csv
2021-06-25 17:59:30 +05:00
Robert Holt 7260df7f67 Revert "Temporarily disable Update-Help tests for PackageManagement module (#15661)" (#15662)
This reverts commit d5aa9015bd.
2021-06-25 10:03:45 +05:00
Ilya d5aa9015bd Temporarily disable Update-Help tests for PackageManagement module (#15661) 2021-06-24 11:35:35 -07:00
Steve Lee 375be2e705 Add DetailedView to $ErrorView (#15609) 2021-06-22 13:35:38 -07: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
Steve Lee 9aa9a75cad Fix retrieving dynamic parameters from provider even if globbed path returns no results (#15525) 2021-06-14 11:09:26 -07:00
Robert Holt 0ae0b65e25 Revert "Enhance Remove-Item to work with OneDrive (Second) (#15260)" (#15546) 2021-06-11 12:32:25 -07:00
Andrew 6e73c2d4f6 Remove PSDesiredStateConfiguration v2.0.5 module (#15536)
* No longer include module with PS releases

* Updated assets/wix/files.wxs

* Moving tests out of the ps repo

* Debug 1

* Debug 2
2021-06-09 12:15:46 -07:00
MartinGC94 2fc3826dd3 Add completions for comment-based help keywords (#15337) 2021-05-25 13:36:53 -07:00
Steve Lee 364e74a00a Fix Minimal progress view to handle Activity that is longer than console width (#15264) 2021-05-17 09:54:37 -07:00
MartinGC94 5d8336adf5 Fix tab completion for un-localized about topics (#15265) 2021-05-05 11:24:40 -07:00
Ilya 08e731398c Enhance Remove-Item to work with OneDrive (Second) (#15260) 2021-04-27 12:31:12 -07:00
Steve Lee 1df4236e6c Kill native processes in pipeline when pipeline is disposed on Unix (#15287) 2021-04-26 15:10:35 -07:00
Travis Plunk 720c615d04 Revert "Enhance Remove-Item to work with OneDrive (#14902)" (#15253)
This reverts commit fafc38fe5c.
2021-04-16 13:43:11 -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
Ilya fafc38fe5c Enhance Remove-Item to work with OneDrive (#14902) 2021-04-12 09:36:16 -07:00
Aditya Patwardhan e33a3c7acc Add the missing tag in Host Utilities tests (#14983) 2021-04-12 09:32:54 -07:00
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
James Truher [MSFT]andIlya 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
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
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
Brian Lalonde c5955a5c0d #4750 Fix Get-Date -UFormat %G and %g behavior (#14555) 2021-03-01 16:37:15 -08:00
Travis Plunk d7370cfa44 Refactor MSI CI (#14753) 2021-02-12 15:07:42 -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
Steve Lee c3fa70380c Fix webcmdlets to properly construct URI from body when using -NoProxy (#14673) 2021-02-05 08:06:04 +05: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
MartinGC94 e26d7084e2 Improve completion of parameters for attributes (#14525) 2021-01-14 09:30:15 +05:00
Jake d3f7ba9f95 Write proper error messages for Get-Command ' ' (#13564) 2021-01-10 18:03:05 +05:00
Steve Lee bc080921bf Add support to $PSStyle for strikethrough and hyperlinks (#14461) 2020-12-19 11:54:51 +05:00
Ilya 10ef7f5161 Fix PSStyle blink codes (#14447) 2020-12-19 11:51:29 +05:00
Paul Higinbotham caff9011af Disable libmi dependent tests for macOS. (#14446) 2020-12-16 17:35:35 -08:00