Aditya Patwardhan
dec48d5478
Merged PR 11699: Bump to .NET 3.1.5 and update dependencies
...
Bump to .NET 3.1.5 and update dependencies
2020-06-09 21:53:16 +00:00
HumanEquivalentUnit
359cdeef56
Change Get-FileHash to close file handles before writing output ( #12474 )
...
# Conflicts:
# src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetHash.cs
2020-06-08 14:00:28 -07:00
Travis Plunk
1866438393
Merged PR 11551: Use dotnet core 3.1.202
...
Use dotnet core 3.1.202
2020-05-13 02:05:44 +00:00
Ilya
62e638d4fa
Fix NRE in csv commands ( #12281 )
2020-04-20 13:30:13 -07:00
Andrew
bd91f48f66
Fix WinCompat module loading to treat Core edition modules higher priority ( #12269 )
2020-04-20 13:29:50 -07:00
Joel Sallow (/u/ta11ow)
a49beb66c6
Fix <img /> detection regex in web cmdlets ( #12099 )
...
# Conflicts:
# test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1
2020-04-20 13:28:16 -07:00
Andrew
07221e3dc5
Miscellaneous minor updates to WinCompat ( #11980 )
...
* Filter PSModulePath when starting PS 5.1. Removing PS-Core-specific paths from PSModulePath of WinCompat process (Windows PS).
* Make implicit WinCompat respect NoClobber and Scope parameters
* Add ErrorAction.Ignore when searching for WinPSCompatSession
# Conflicts:
# src/System.Management.Automation/engine/Modules/ModuleCmdletBase.cs
2020-04-20 13:21:23 -07:00
Dongbo Wang
331eac8fbc
Make Test-Connection always use the default synchronization context for sending ping requests ( #11517 )
2020-04-20 13:11:15 -07:00
Aditya Patwardhan
652fb1eb89
Skip directory creation at root test on macOS ( #11878 )
2020-02-18 16:15:21 -08:00
Aditya Patwardhan
fb3ac87850
Update Get-PlatformInfo helper and tests for Debian 10, 11 and CentOS 8 ( #11842 )
...
# Conflicts:
# test/powershell/Modules/Microsoft.PowerShell.Management/Test-Connection.Tests.ps1
# test/powershell/Modules/PSDesiredStateConfiguration/MOF-Compilation.Tests.ps1
2020-02-13 18:54:19 -08:00
Andrew
7aaa54fd7c
Sync current directory in WinCompat remote session ( #11809 )
...
# Conflicts:
# src/System.Management.Automation/engine/Modules/ModuleCmdletBase.cs
2020-02-11 13:48:31 -08:00
Andrew
038adccddb
Add WinCompat deny list support using a setting in powershell.… ( #11726 )
...
# Conflicts:
# build.psm1
# src/System.Management.Automation/engine/Modules/ImportModuleCommand.cs
2020-02-10 13:19:08 -08:00
Ilya
ebf6abe294
Correct pwsh run ( #11486 )
...
# Conflicts:
# test/powershell/Modules/Microsoft.PowerShell.Core/CompatiblePSEditions.Module.Tests.ps1
2020-02-10 13:16:15 -08:00
Travis Plunk
380cd15eed
Update to CredScan v2 ( #11765 )
2020-02-10 13:12:09 -08:00
Paul Higinbotham
cd8fc6c88d
Fix for JEA user role in virtual account ( #11668 )
2020-02-07 16:16:33 -08:00
Aditya Patwardhan
076ad77d14
Test fixes for various platforms ( #11579 )
2020-01-14 12:51:04 -08:00
Andrew
463aff44e1
Mark System32-PSModulePath test as pending ( #11576 )
2020-01-14 12:42:53 -08:00
Steve Lee
3cc0a5d767
Support expanding ~ in $env:PATH when doing command discovery ( #11552 )
2020-01-14 12:24:22 -08:00
James Truher [MSFT]
5e88662794
Test fixes for failing tests ( #11541 )
2020-01-14 12:23:10 -08:00
Paal Braathen
7f31fd5551
Use ISOWeek for week numbers in Get-Date ( #11536 )
2020-01-14 12:22:52 -08:00
Paul Higinbotham
f4c759c42f
Various test fixes for debugger and remoting ( #11528 )
2020-01-14 12:22:30 -08:00
James Truher [MSFT]
945dede1f7
DSC test fixes for Alpine and Raspbian (#11508 )
2020-01-14 12:21:39 -08:00
Aditya Patwardhan
30884966ba
Normalize line endings before comparing string in tests ( #11499 )
2020-01-14 12:21:26 -08:00
spongemike2
125d5b97f4
Make web cmdlets skip processing the content headers with a null or empty value for backward compatibility ( #11421 )
2020-01-09 16:00:05 -08:00
Aditya Patwardhan
94b215d3dd
Fix test failing when UnixStat feature is disabled ( #11370 )
2020-01-09 15:39:57 -08:00
Steve Lee
b663e396a3
Add retry to Enter-PSHostProcess test ( #11360 )
2020-01-09 15:38:30 -08:00
Joel Sallow (/u/ta11ow)
2fe9b2ffe9
Test-Connection: Fallback to hop IP Address on -Traceroute without -ResolveDestination ( #11335 )
2020-01-09 15:36:53 -08:00
Andrew
65429120d9
Added setting to disable implicit WinPS module loading ( #11332 )
2020-01-09 15:36:12 -08:00
Ilya
79372c30e7
Add null host name check in WSMan ( #11288 )
2020-01-09 15:35:31 -08:00
Steve Lee
c5bc120cff
Add Type member to Exceptions containing type of exception for Get-Error ( #11076 )
2020-01-09 15:34:24 -08:00
Ilya
1d48608f62
Write an error if argument is a directory in Get-FileHash cmdlet ( #11114 )
2020-01-09 15:33:48 -08:00
Steve Lee
cff9deb8e7
Update Get-Error to not modify the original $Error object ( #11125 )
2020-01-09 15:32:53 -08:00
Steve Lee
9b45f736cf
Add -AsPlainText to ConvertFrom-SecureString ( #11142 )
2019-12-12 16:50:27 -08:00
Steve Lee
fee57e1cdc
Make approved features non-experimental ( #11303 )
...
# Conflicts:
# src/System.Management.Automation/engine/ExperimentalFeature/ExperimentalFeature.cs
2019-12-10 16:05:15 -08:00
Andrew
2dd264af03
Added WindowsPS version check for WinCompat ( #11148 )
2019-12-10 16:03:52 -08:00
Andrew
28afad5a1a
Fix error-reporting in some WinCompat scenarios ( #11259 )
2019-12-10 15:55:40 -08:00
Steve Lee
bc99fbf02a
Update calculation of char width to respect CJK chars correctly ( #11262 )
2019-12-10 15:55:39 -08:00
Travis Plunk
9bb1504090
Add Unblock-File for macOS ( #11137 )
2019-12-04 14:56:34 -08:00
Ilya
0de578c5b2
Fix regression in Get-PSCallStack ( #11210 )
2019-12-04 14:56:33 -08:00
Travis Plunk
f0486c55bc
Make unreliable DSC test pending ( #11131 )
2019-12-04 14:56:30 -08:00
Steve Lee
7179ed3dd5
Add OutputType to Get-Error cmdlet and preserve original typenames ( #10856 )
...
- Added OutputType attribute.
- Cmdlet adds the PSExtendedError typename and removes Exception and ErrorRecord typenames so that the formatting is used. The formatter then removes PSExtendedError and puts back the original typename so that $Error should be the same before calling Get-Error.
- While testing, had to make some changes to how InvocationInfo is retrieved so that ParseException which contains a nested ErrorRecord which as InvocationInfo is handled correctly.
- Combined Exception and ErrorRecord formatter into one.
2019-12-04 14:56:30 -08:00
Joel Sallow (/u/ta11ow)
440837944a
Test-Connection - Improve Logic and Output (#10697 )
2019-11-18 11:32:59 -08:00
Andrew
b218e6f6cc
Support using non-compatible Windows PowerShell modules in PowerShell Core ( #10973 )
2019-11-18 10:44:55 -08:00
Steve Lee
2e553038c5
Allow pwsh to inherit $env:PSModulePath and enable powershell.exe to start correctly ( #11057 )
2019-11-15 17:29:04 -08:00
James Truher [MSFT]
fe712f8de2
Experimental Feature: Provide Unix stat information in filesystem output ( #11042 )
2019-11-15 17:26:11 -08:00
Ilya
ff37337f95
Add Culture parameter to Select-String cmdlet ( #10943 )
2019-11-15 17:07:39 -08:00
Ilya
fe40fbf6e1
Unload test modules ( #11061 )
2019-11-14 17:54:48 -08:00
Daniel Sturm
9e02343b18
ConvertFrom-Json: Unwrap Collections by default ( #10861 )
2019-11-14 16:41:00 -08:00
Joel Sallow (/u/ta11ow)
57a4d4c721
Group-Object - Use Case-Sensitive Hashtable for -CaseSensitive -AsHashtable ( #11030 )
...
Prior to this change, Group-Object -AsHashtable -CaseSensitive would give a key duplication error when given entries that only differ by casing. This was due to always using a case-insensitive hashtable, despite the request for -CaseSensitive behaviour.
2019-11-13 09:16:45 +05:00
Steve Lee
e185f89591
Handle exception if enumerating files fails when rebuilding path to have correct casing ( #11014 )
2019-11-12 08:53:33 -08:00