Commit graph

7825 commits

Author SHA1 Message Date
xtqqczze
ee71081432 Use CIM cmdlets instead of WMI cmdlets in tests (#11423) 2020-01-03 10:24:06 -08:00
Steve Lee
59db1f619e Fix symbolic links to libs on Debian 10 (#11390) 2019-12-27 17:14:51 -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
Aditya Patwardhan
2dbb5717ce Make null member access tests as string to avoid parsing errors (#11385)
* Make null member access tests as string to avoid parsing errors

* Add PSNullConditionalOperators feature to testmetadata.json

* Add Parsing tests to be skipped

* Add tabcompletion tests
2019-12-21 00:14:07 +00:00
Steve Lee
27e1664e52 Add retry to Enter-PSHostProcess test (#11360) 2019-12-20 15:35:50 -08:00
Aditya Patwardhan
ed27f36223
Fix test failing when UnixStat feature is disabled (#11370) 2019-12-20 15:32:50 -08: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
xtqqczze
7a7365279c Avoid variable names that conflict with automatic variables (#11392) 2019-12-20 12:09:03 -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
Aditya Patwardhan
a24a5c7c5b Update hosting tests to use the SDK version from the build property (#11368) 2019-12-18 14:08:27 -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
Dongbo Wang
04cf068878
Update the NextReleaseTag to be v7.0.0-preview.7 (#11372) 2019-12-17 09:49:55 -08:00
Dongbo Wang
ed18030e5f
Update ChangeLog, README.md and metadata.json for 7.0.0-rc.1 release (#11363) 2019-12-16 15:04:28 -08: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
Francisco Gamino
36dab96afc Add AzFunctions to ADOPTERS.md (#11311) 2019-12-11 23:05:35 +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
Paul Higinbotham
32e219814c Fix Nuget package signing for Coordinated Package build (#11316) 2019-12-10 15:44:00 -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
Adam Driscoll
5c7b72f65e Add Universal Dashboard to ADOPTERS.md (#11283) 2019-12-09 16:33:59 -08: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