Commit Graph
3423 Commits
Author SHA1 Message Date
Ilya 0dfeeb5203 Port GetProcessorArchitecture() (#11046) 2020-01-14 08:41:19 +05:00
Ilya ac069185d6 Fix NRE in ConsiceView (#11435)
Use LanguagePrimitives.TryConvertTo() as last resort to string conversion.
2020-01-14 08:33:16 +05:00
xtqqczze 70d9ed4d55 Remove Unicode BOM from text files (#11546) 2020-01-11 12:15:34 +05:00
Ilya 397756a26f Skip null data in output data received handler to fix a NullReferenceException (#11448) 2020-01-09 16:08:09 -08:00
Ilya 57dd869636 Correct startup error messages (#11473) 2020-01-08 11:37:52 +05:00
Sydney Smith b3bd2d4de6 Adding PowerShell Editor Services and PSScriptAnalyzer to tracked modules (#11514) 2020-01-08 01:30:29 +05:00
Ilya e8d472b65b Ignore headers with null values in web cmdlets (#11424) 2020-01-07 12:25:30 -08:00
Thomas Nieto b25e67e607 Remove RequireLicenseAcceptance default value (#11512) 2020-01-07 11:43:58 -08:00
dependabot-preview[bot] 6b96f9aefc Bump Microsoft.PowerShell.Archive from 1.2.3.0 to 1.2.4.0 (#11502) 2020-01-07 11:26:00 -08:00
Tyler James Leonhardt 68b6b1a006 Add ssh parameter sets for JobName (#11444) 2020-01-07 10:21:44 -08:00
spongemike2 1376d310bb Make web cmdlets skip processing the content headers with a null or empty value for backward compatibility (#11421) 2020-01-06 12:11:55 -08:00
Andrew ea48e07c48 Added setting to disable implicit WinPS module loading (#11332) 2020-01-03 10:32:00 -08:00
dependabot-preview[bot] 0667e96200 Bump ThreadJob from 2.0.2 to 2.0.3 in /src/Modules (#11416)
Bumps ThreadJob from 2.0.2 to 2.0.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-25 22:20:59 +05:00
dependabot-preview[bot] b7295deaf5 Bump PackageManagement from 1.4.5 to 1.4.6 in /src/Modules (#11427)
Bumps PackageManagement from 1.4.5 to 1.4.6.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-24 08:52:14 +05:00
dependabot-preview[bot] d42937ed5a Bump PowerShellGet from 2.2.2 to 2.2.3 in /src/Modules (#11426)
Bumps [PowerShellGet](https://github.com/PowerShell/PowerShellGet) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/PowerShell/PowerShellGet/releases)
- [Changelog](https://github.com/PowerShell/PowerShellGet/blob/development/CHANGELOG.md)
- [Commits](https://github.com/PowerShell/PowerShellGet/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-24 08:26:42 +05:00
Steve Lee 5b42126f7c Don't format exceptions that aren't ErrorRecords (#11415)
* In one of the previous PRs for ConciseView, System.Exception was incorrectly added to the typenames handled by the ErrorRecord formatting. This results in just Exception objects written to the console to not be rendered since the ErrorRecord formatting didn't handle this situation. Fix is to remove the line to add that type putting it back to how it was previously. 

* Also made the handling of ErrorRecord a bit more robust just in case Exception.Message doesn't exist nor a Message property.
2019-12-21 09:45:44 +05:00
Steve Lee 1f9c3c2abd Update error message if Update-Help fails for the current UICulture (#11356) 2019-12-20 15:16:26 -08:00
Dongbo Wang 19960a7333 Mark InitialSessionState.ImportPSSnapIn as Obsolete (#11399) 2019-12-20 15:10:36 -08:00
Paul Higinbotham e58ebfa6b4 Fix race condition exception on recent change to OutOfProc transport (#11406) 2019-12-20 13:20:10 -08:00
Paul Higinbotham e81bd1dfda Re-add check for Invoke-Command job dispose. (#11388) 2019-12-20 12:13:34 -08:00
Aditya Patwardhan de0866c652 Update HelpInfoUri for all modules in PowerShell 7.0 (#11389) 2019-12-20 10:12:35 +05:00
Joel Sallow (/u/ta11ow) 7b33cfe847 Test-Connection: Fallback to hop IP Address on -Traceroute without -ResolveDestination (#11335) 2019-12-19 09:51:34 -08:00
Ilya 54e6199bbb Use invariant culture string conversion for -replace operator (#10954) 2019-12-19 09:50:46 -08:00
Steve Lee a1066ac0ac Use PositionMessage for the line context information for ConciseView (#11398) 2019-12-19 09:42:37 -08:00
Paul Higinbotham 76a009ed58 Fix key exchange hang for outofproc transports (#11380) 2019-12-18 14:07:00 -08:00
Steve Lee 563b1cba83 Add trailing line number to filename for ConciseView (#11391) 2019-12-18 14:05:56 -08:00
Steve Lee 384a7ba2d7 Remove the declaration of Get-Error experimental feature from module manifest (#11369) 2019-12-18 09:41:27 -08:00
Steve Lee ab6b41dce3 Remove unnecessary newline in ConciseView (#11383)
* Add newline only if it's missing
2019-12-18 10:22:01 +05:00
Ilya dfb5b047b1 Revert "Update formatter to not write newlines if content is empty (#11193)" (#11342)
This reverts commit 51d2523f5f.
2019-12-18 00:53:19 +05:00
dependabot-preview[bot] e78cb8302d Bump NJsonSchema from 10.0.28 to 10.1.2 (#11382) 2019-12-17 10:47:21 -08:00
Steve Lee edd3e7680c Move Set-StrictMode to outer scriptblock for ErrorView (#11381) 2019-12-17 23:43:47 +05:00
Tyler James Leonhardt ca202da643 Improvements in breakpoint APIs for remote scenarios (#11312) 2019-12-12 17:23:12 -08:00
James Truher [MSFT] bcc5acb0bd Fix for issue on raspbian for setting date of file changes in UnixStat Experimental Feature (#11313) 2019-12-12 12:25:16 -08:00
Dongbo Wang 55b572be7b Fix PowerShell class definition leaking into another Runspace (#11273) 2019-12-11 15:41:39 -08:00
Steve Lee 03f10f052d Add -AsPlainText to ConvertFrom-SecureString (#11142) 2019-12-11 15:40:41 -08:00
Dongbo Wang 5605bf4195 Fix a regression in formatting caused by the FirstOrDefault primitive added in 7.0.0-Preview1 (#11258) 2019-12-11 15:37:18 -08:00
Sydney Smith 4fb5f94a3b Additional Microsoft Modules to track in PS7 Telemetry (#10751) 2019-12-11 15:32:54 -08:00
Aditya Patwardhan 395c29cff8 Update dependencies from PowerShell Gallery and NuGet (#11323) 2019-12-11 15:21:03 -08:00
Thomas Lee fcd028c3ca Fix Typo in Get-ComputerInfo cmdlet description (#11321) 2019-12-11 23:57:16 +05:00
dependabot-preview[bot] cfacc129a2 Bump Microsoft.ApplicationInsights from 2.11.0 to 2.12.0 (#11305) 2019-12-10 15:45:44 -08:00
Steve Lee ed1f6e3144 Make approved features non-experimental (#11303) 2019-12-10 15:41:43 -08:00
Andrew 0c46e3e71d Added WindowsPS version check for WinCompat (#11148) 2019-12-10 10:40:13 -08:00
Dongbo Wang 9649a85ce9 Make update notification support LTS and default channels (#11132) 2019-12-10 09:57:00 -08:00
James Truher [MSFT] d523d55739 Change comment and element text to meet MS standards (#11304) 2019-12-10 09:51:46 -08:00
Steve Lee 6e4da244c5 Update ConciseView to use TargetObject if applicable (#11075) 2019-12-10 09:50:51 -08:00
Dongbo Wang 25895e34b8 Fix NullReferenceException in CompletionCompleters public methods (#11274) 2019-12-10 09:51:01 +05:00
Paul Higinbotham c232903bc0 Fix apartment thread state check on non-Windows platforms (#11301) 2019-12-09 16:26:46 -08:00
Steve Lee 20a236b228 Update setting PSModulePath to concatenate the process + machine env var (#11276) 2019-12-09 16:25:08 -08:00
Andrew f8a321ae2b Fix error-reporting in some WinCompat scenarios (#11259) 2019-12-09 15:20:40 -08:00
Ilya 95c472a8c2 Add native binary resolver (#11032) 2019-12-09 12:03:53 -08:00