Commit Graph
2352 Commits
Author SHA1 Message Date
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
James Truher [MSFT] 5fea4c39fd Add more information when a syslog parsing error occurs (#15857) 2021-08-04 18:22:22 +00: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
Travis Plunk 6317e4e39a Add Microsoft Update opt out to MSI install (#15727) 2021-07-14 15:41:56 -07: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 03b07a0062 Enable IDE0044: MakeFieldReadonly (#13880)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2021-07-07 09:33:19 +05: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
xtqqczze 8337d2afd6 Fix CA1839: Use 'Environment.ProcessPath' (#15650) 2021-06-25 08:56:55 +05:00
Ilya d5aa9015bd Temporarily disable Update-Help tests for PackageManagement module (#15661) 2021-06-24 11:35:35 -07:00
Travis Plunk 4f2baa1007 Update glob-parent and hosted-git-info test dependencies (#15643) 2021-06-22 15:47:42 -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
Travis Plunk 046dec4d7c Make sure GA revision increases from RC and Preview releases (#15558) 2021-06-15 13:44:08 -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
Dongbo Wang 6c8d7c0410 Fix 'Start-Benchmarking' to put 'TargetPSVersion' and 'TargetFramework' in separate parameter sets (#15508)
The CIs won't run for files under the path test/perf, because files there don't affect production code or tests.
2021-06-11 12:30:15 -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
dependabot[bot] 3d92f84c6b Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0 (#15458)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.4 to 16.10.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.9.4...v16.10.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 13:56:19 -07:00
Aditya Patwardhan 7ead137407 Update to .NET Preview 6 SDK (#15452) 2021-05-25 19:24:28 -07:00
MartinGC94 2fc3826dd3 Add completions for comment-based help keywords (#15337) 2021-05-25 13:36:53 -07:00
Andrew 8d017d8a75 Move cross platform DSC code to a subsystem (#15127) 2021-05-20 17:06:59 -07:00
Dongbo Wang 5febcad3db Update prediction interface to provide additional feedback to a predictor plugin (#15421) 2021-05-20 15:52:13 -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
Adam Sitnik 5e917237a8 Fix long build time issue and support comparing various .NET Runtimes performance (#15387) 2021-05-14 08:32:35 -07:00
MartinGC94 5d8336adf5 Fix tab completion for un-localized about topics (#15265) 2021-05-05 11:24:40 -07:00
Dongbo Wang a62c9d9443 Add the performance benchmark project for PowerShell performance testing (#15242) 2021-04-30 09:34:26 -07:00
Marc-André Moreau 8f8ddc3fb7 Add LoadAssemblyFromNativeMemory function to load assemblies from memory in a native PowerShell host (#14652) 2021-04-28 14:28:41 -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
Steve Lee fc1d5ef096 Default to MTA on Windows platforms where STA is not supported (#15106) 2021-04-22 08:38:13 -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