Dongbo Wang
89dd5b8127
Remove the outdated test ( #16269 )
2021-10-19 13:45:36 +05:00
Travis Plunk
3893c4d55b
Disallow Add-Type in NoLanguage mode on a locked down machine ( #16245 )
2021-10-14 14:53:41 -07:00
Keith Hill
b94dd91e74
Specify exe path as TargetObect for non-zero exit code ErrorRecord ( #16108 )
2021-10-14 14:47:54 -07:00
Steve Lee
d0e823797f
Don't allow Move-Item with FileSystemProvider to move a directory into itself ( #16198 )
2021-10-12 14:16:32 -07:00
Dongbo Wang
c8984c0517
Make property names for the color VT sequences consistent with documentations ( #16212 )
2021-10-11 14:58:51 -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
e98a8c8601
Fix '-PipelineVariable' to set variable in the right scope ( #16199 )
2021-10-07 10:26:21 -07:00
Dongbo Wang
2f57bf848b
Change Target from a CodeProperty to be an AliasProperty that points to FileSystemInfo.LinkTarget ( #16165 )
2021-10-05 10:29:16 -07:00
Steve Lee
024f409763
Add isOutputRedirected parameter to GetFormatStyleString() method ( #14397 )
2021-09-09 11:50:36 -07:00
Paul Higinbotham
0d7ba2fe5a
Fix ConvertTo-SecureString with key regression due to .NET breaking change ( #16068 )
2021-09-09 10:36:05 -07:00
Steve Lee
5872e47254
Fix regression in Move-Item to only fallback to CopyAndDelete in specific cases ( #16029 )
...
If Move fails, check if known case before attempting CopyAndDelete:
- if an item is attempted to be renamed across filesystem mount boundaries.
- if the source and destination do not have the same root path.
2021-09-08 11:20:30 +05: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
Ilya
102ccffd14
Enable two previously disabled Get-Process tests ( #15845 )
2021-08-26 21:53:27 -07:00
Joel Sallow (/u/ta11ow)
fde119e28b
Use CurrentCulture when handling conversions to DateTime in Add-History ( #16005 )
2021-08-26 21:41:01 -07:00
github-actions[bot]
d33b223674
Update .NET SDK version from 6.0.100-preview.6.21355.2 to 6.0.100-rc.1.21426.1 ( #15648 )
2021-08-26 13:07:43 -07:00
Dongbo Wang
403767d7f7
Fix a casting error when using $PSNativeCommandUsesErrorActionPreference ( #15993 )
2021-08-25 17:05:54 -07:00
Robert Holt
a4d14576b3
Make the native command error handling optionally honor ErrorActionPreference ( #15897 )
2021-08-24 15:27:22 -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
Paul Higinbotham
1ec61d955c
Remove implicit remoting batch experimental feature ( #15863 )
...
It was decided by committee (#15862 ) to remove this experimental feature. It was an interesting idea but the implementation did not cover important cases, and could not be updated easily to do so.
2021-08-13 08:34:31 +05:00
Armaan Mcleod
b70f06ccc6
Fix issue with Get-Process -Module failing to stop when piped to Select-Object ( #15682 )
2021-08-12 09:06:58 -07:00
Robert Holt
2f5150f5e5
Make Measure-Object property test independent of the filesystem ( #15879 )
2021-08-09 15:27:09 -07:00
Steve Lee
cced56d75a
Make PS-Committee reviewed experimental features stable ( #15864 )
2021-08-09 14:01:57 -07:00
Ilya
45adfee558
Enhance Remove-Item to work with OneDrive ( #15571 )
2021-08-05 11:41:55 -07:00
Steve Lee
2ae0e4d9dd
Update ServerRemoteHost Version to be same as PSVersion ( #15809 )
2021-08-04 15:01:18 -07:00
3e86f9b287
ConvertTo-Csv: Quote fields with quotes and newlines when using -UseQuotes AsNeeded (#15765 )
...
Co-authored-by: Ilya <darpa@yandex.ru >
Co-authored-by: lselden <luke.selden@vbrick.com >
2021-08-04 14:47: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
Staffan Gustafsson
1bfa1c36a7
Forwarding progress stream changes from Foreach-Object -Parallel runspaces ( #14271 )
2021-07-31 18:51:03 +05: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
xtqqczze
055b7f3003
Fix CA1052 for public API to make classes static when they only have static methods ( #15775 )
2021-07-28 12:28:24 -07:00
Steve Lee
5e15f66f97
Add validation to $PSStyle to reject printable text as ANSI escape sequence ( #15825 )
2021-07-27 17:14:20 +00:00
Thomas Nieto
7777afc005
Add -PassThru parameter to Set-Clipboard ( #13713 )
2021-07-22 10:17:53 -07:00
Peter Schneider
de5dc63379
Encoding Parameter for Tee-Object ( #12135 )
2021-07-22 09:26:07 +05:00
Joel Sallow (/u/ta11ow)
efa9b25193
ConvertTo-Csv / Export-Csv - Serialize IDictionary objects with key/value pairs as properties ( #11029 )
2021-07-22 04:05:17 +00:00
Thomas Nieto
05943c6c48
Add position 0 to Write-Error parameters ( #13813 )
2021-07-21 18:05:06 -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
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