Commit graph

1922 commits

Author SHA1 Message Date
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] 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
Francesco Saltori ea2da20a23
Get PowerShell version in PSVersionInfo using assembly attribute instead of FileVersionInfo (#14332) 2020-12-11 17:12:10 -08:00
Steve Lee a99ea2acd2
Enable ANSI formatting via $PSStyle and support suppressing ANSI output (#13758) 2020-12-11 10:33:57 -08:00
Joel Sallow (/u/ta11ow) 16e2b62d78
Ensure -PipelineVariable is set for all output from script cmdlets (#12766) 2020-12-10 12:12:34 -08:00
Ilya ba49eb225f
Optimize IEnumerable variant of replace operator (#14221) 2020-12-09 11:46:27 -08:00
Steve Lee 95ce0643c8
Add -SkipLimitCheck switch to Import-PowerShellDataFile (#13672) 2020-12-09 11:07:07 -08:00
Kyle H 909ca89be9
The -Stream parameter now works with directories (#13941) 2020-12-07 17:31:55 -08:00
James Truher [MSFT] 9ca6be1d63
Revert "Update hyperlink for DefaultPromptFunctionText (#13176)" (#14107) 2020-11-17 09:50:59 -08:00
Christopher Yeleighton f13d27ba3e
Update hyperlink for DefaultPromptFunctionText (#13176) 2020-11-13 17:20:15 -08:00
Robert Holt c7781d157e
Reinstate Test-Connection tests (#13324) 2020-11-13 17:05:09 -08:00
Aditya Patwardhan a22e7ec2f3
Update README and metadata json for upcoming release (#14026) 2020-11-11 12:03:18 -08:00
Dongbo Wang 5025d468f3
Update PSReadLine version to 2.1.0-rc1 (#13777)
* Update PSReadLine version to 2.1.0-rc1

* Update the file 'files.wxs'
2020-10-14 09:58:09 -07:00
Dongbo Wang 2728574df7
Rename 'Get-Subsystem' to 'Get-PSSubsystem' and fix two minor issues (#13765) 2020-10-14 09:42:37 -07: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 9bf512ff5d
Emit warning if ConvertTo-Json exceeds -Depth value (#13692) 2020-09-28 21:22:40 +05:00
Steve Lee 36ba1092a8
Fix case where exception message contains "`n" on Windows (#13684) 2020-09-24 23:43:33 +05:00
Dongbo Wang 10237bdeb3
Update PowerShell to build against dotnet 5.0-RC.1 (#13643) 2020-09-23 14:04:01 -07:00
David Reis 3effa20410
Recognize CONOUT$ and CONIN$ as reserved device names (#13508) 2020-09-14 11:10:12 -07:00
Steve Lee d25d964d57
Fix ConciseView for interactive advanced function writing error (#13623) 2020-09-14 11:07:37 -07:00
Ilya 81d5a86747
Add support for Tls 1.3 in Web cmdlets (#13409) 2020-09-02 10:18:15 -07:00