Andrew Menagarishvili
3f1c03d494
Merged PR 18449: Change default for $PSStyle.OutputRendering to Ansi
...
Cherry picked from !18333
Cherry-picked from commit `5cb8a2b3`.
2021-12-16 13:39:56 -08:00
Bar Arnon
1920b1b6ea
Fix race condition between DisconnectAsync and Dispose ( #16536 )
2021-12-02 23:25:12 +05:00
Paul Higinbotham
64d2fe26f3
Fix PSVersion parameter version checks and error messages for PowerShell 7 remoting ( #16228 )
2021-12-01 15:54:25 -08:00
Dongbo Wang
88ba3f61fa
Use the same temporary home directory when 'HOME' env variable is not set ( #16263 )
2021-11-22 10:44:58 -08:00
Shri Ram K S
7bb8fa16ab
Fix the Max_PATH condition check to handle long path correctly ( #16487 )
2021-11-19 15:48:26 -08:00
Ikko Ashimine
4f86b079d0
Fix typo in Job.cs ( #16454 )
2021-11-15 21:55:40 +05:00
Sean Wheeler
306147c9d1
Update HelpInfoUri for 7.2 release ( #16456 )
2021-11-13 11:14:28 +05:00
MartinGC94
965dc8f40f
Fix tab completion within the script block specified for the ValidateScriptAttribute. ( #14550 )
2021-11-09 18:26:14 -08:00
dependabot[bot] and Travis Plunk
f2a42fb964
Bump Microsoft.ApplicationInsights from 2.18.0 to 2.19.0 ( #16413 )
...
* Bump Microsoft.ApplicationInsights from 2.18.0 to 2.19.0
Bumps [Microsoft.ApplicationInsights](https://github.com/Microsoft/ApplicationInsights-dotnet ) from 2.18.0 to 2.19.0.
- [Release notes](https://github.com/Microsoft/ApplicationInsights-dotnet/releases )
- [Changelog](https://github.com/microsoft/ApplicationInsights-dotnet/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/Microsoft/ApplicationInsights-dotnet/compare/2.18.0...2.19.0 )
---
updated-dependencies:
- dependency-name: Microsoft.ApplicationInsights
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update cgmanifest.json
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com >
2021-11-09 15:48:06 -08:00
Aditya Patwardhan
f8d6b2f9fe
Update metadata.json in preparation on 7.3.0-preview.1 release ( #16406 )
...
* Update `metadata.json` in preparation on `7.3.0-preview.1` release
* Update PSVersion table and tests
2021-11-09 08:31:01 -08:00
Ilya
ef69fdafc4
Remove unneeded call to File.ResolveLinkTarget from IsWindowsApplication ( #16371 )
2021-11-03 22:28:04 -07:00
Maksim Ivanyuk
674ef888a2
Add -HttpVersion parameter to web cmdlets ( #15853 )
2021-11-02 16:53:36 -07:00
Dongbo Wang
723a50832d
Don't throw exception when trying to resolve a possible link path ( #16310 )
2021-10-30 08:54:23 -07:00
Dongbo Wang
979f105a99
Fix parser to generate error when array has more than 32 dimensions ( #16276 )
...
An array cannot have more than 32 dimensions. See the doc of MarkArrayType(int rank)) https://docs.microsoft.com/en-us/dotnet/api/system.type.makearraytype?view=net-5.0#System_Type_MakeArrayType_System_Int32_ for details.
The fix is to not create the ArrayTypeName instance when the number of dimensions exceeds 32, but instead, generate a parsing error.
2021-10-29 08:16:26 +05:00
Aditya Patwardhan
52b6d89407
Update to latest .NET 6 GA build 6.0.100-rtm.21527.11 ( #16309 )
2021-10-28 11:40:52 -07:00
Ilya
51e11aaedf
Remove unnecessary call to ToArray ( #16307 )
2021-10-28 11:22:09 -07:00
Ilya
48be7b7f45
Avoid validation for built-in file extension and color VT sequences ( #16320 )
2021-10-28 11:17:15 -07:00
Paul Higinbotham
bd4e5598ce
Fix for SSH remoting when banner is enabled on SSHD endpoint ( #16205 )
2021-10-28 10:39:55 -07:00
Travis Plunk
14ea042cec
Revert "Update to use .NET 6 GA build ( #16296 )" ( #16308 )
...
This reverts commit 6302f4815a .
2021-10-26 15:57:59 -07:00
Aditya Patwardhan
6302f4815a
Update to use .NET 6 GA build ( #16296 )
2021-10-22 23:12:00 +00:00
Aditya Patwardhan
66508053f5
Update version of Microsoft.PowerShell.Native and Microsoft.PowerShell.MarkdownRender packages ( #16277 )
2021-10-19 17:31:57 -07:00
Travis Plunk and Paul Higinbotham
5d447cb773
Disallow all COM for AppLocker system lock down ( #16268 )
...
Co-authored-by: Paul Higinbotham <paulhi@microsoft.com >
2021-10-19 11:18:37 -07:00
Aditya Patwardhan
45b80a555a
Update .NET 6 to version 6.0.100-rc.2.21505.57 ( #16249 )
2021-10-15 13:51:26 -07:00
Travis Plunk and Aditya Patwardhan
d74c6bfb7b
Configure ApplicationInsights to not send cloud role name ( #16246 )
...
Configure ApplicationInsights to not send cloud role name
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com >
2021-10-14 15:12:37 -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
Dongbo Wang
c784dde5a2
Remove the unused FollowSymLink function ( #16231 )
2021-10-14 14:14:05 -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
Ikko Ashimine
ce951602a4
Fix typo in TypeTable.cs ( #16220 )
...
occured -> occurred
2021-10-11 10:15:16 -07:00
Dongbo Wang
e98a8c8601
Fix '-PipelineVariable' to set variable in the right scope ( #16199 )
2021-10-07 10:26:21 -07:00
dwtaber
53ac646cc0
Invoke-Command: improve handling of variables with $using: expression ( #16113 )
2021-10-06 10:43:56 -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
Sean Wheeler
6d2feeee38
Change 'snippet' tag to 'code' tag in XML comments ( #16106 )
2021-09-15 15:42:13 -07:00
Dongbo Wang
fd3579badb
Use PlainText when writing to a host that doesn't support VT ( #16092 )
2021-09-15 10:38:26 -07:00
Steve Lee
ed249d0fe6
Remove support for AppExeCLinks to retrieve target ( #16044 )
2021-09-14 14:08:00 -07:00
Aditya Patwardhan
55ccbb6803
Update .NET to 6.0.100-rc.1.21458.32 ( #16066 )
2021-09-13 16:45:10 -07:00
Steve Lee
dad7a34ee7
Move GetOuputString() and GetFormatStyleString() to PSHostUserInterface as public API ( #16075 )
2021-09-10 09:05:07 -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
Robert Holt
17986d88c1
Improve CommandInvocationIntrinsics API documentation and style ( #14369 )
2021-09-03 16:05:30 -07:00
Dongbo Wang
66b5d50170
Set $? correctly for command expression with redirections ( #16046 )
2021-09-03 15:36:31 -07:00
Travis Plunk
6cde546203
Add .stylecop to filetypexml and format it ( #16025 )
2021-09-01 10:36:58 -07:00
Aditya Patwardhan
7fc60d1d5f
Bump .NET to 6.0.100-rc.1.21430.44 ( #16028 )
2021-09-01 10:35:27 -07:00
Paul Higinbotham
946341b2eb
Remove duplicate remote server mediator code ( #16027 )
2021-09-01 09:31:19 -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
Daryl Graves
321b726306
Format-Wide: Fix NullReferenceException ( #15990 )
2021-08-25 09:45:00 -07:00