CarloToso
8b9544b614
Adjust PUT method behavior to POST one for default content type in WebCmdlets ( #19152 )
2023-03-02 23:35:31 +05:00
Steve Lee
ec258e210f
Fix ConciseView to handle custom ParserError error records ( #19239 )
2023-03-01 11:18:11 -08:00
CarloToso
f1ab653d29
Preserve WebSession.MaximumRedirection from changes ( #19190 )
2023-03-02 00:04:20 +05:00
CarloToso
cf622f869f
Take into account ContentType from Headers in WebCmdlets ( #19227 )
2023-03-01 22:56:05 +05:00
MartinGC94
0a11f799dc
Add property assignment completion for enums ( #19178 )
...
* Add property assignment completion for enums
* Move method
2023-02-23 13:42:57 -08:00
Aditya Patwardhan
2d15e0c5b6
Update to .NET 8 preview 1 build ( #19194 )
2023-02-22 16:12:16 -08:00
MartinGC94
290fe28104
Fix class member completion for classes with base types ( #19179 )
2023-02-22 22:10:22 +05:00
Trey
91d8fb0367
Corrected some minor spelling mistakes ( #19176 )
2023-02-22 22:09:04 +05:00
Armaan Mcleod
0be3eeac38
Add -Path and -LiteralPath parameters to Test-Json cmdlet ( #19042 )
2023-02-21 10:14:08 -08:00
CarloToso
60b4e9704f
Allow to preserve the original HTTP method by adding -PreserveHttpMethodOnRedirect to Web cmdlets ( #18894 )
2023-02-14 08:40:42 -08:00
CarloToso
69a4d79400
Webcmdlets display an error on https to http redirect ( #18595 )
2023-02-14 08:32:48 +05:00
CarloToso
2f43013df3
Build the relative URI for links from the response in Invoke-WebRequest ( #19092 )
2023-02-10 21:50:01 +05:00
CarloToso
ed68c861d4
Fix redirection for -CustomMethod "POST" in WebCmdlets ( #19111 )
2023-02-10 16:14:29 +05:00
CarloToso
359f5c35f1
Improve Invoke-WebRequest xml and json errors format ( #18837 )
2023-02-09 13:22:04 +05:00
Dongbo Wang
ef0af95845
Make the exception error in PowerShell able to associate with the right history entry ( #19095 )
2023-02-08 10:18:32 -08:00
Armaan Mcleod
b7e2913f6f
Add -NoHeader parameter to ConvertTo-Csv and Export-Csv cmdlets ( #19108 )
2023-02-08 17:48:04 +05:00
CarloToso
dd406b512a
Add ValidateNotNullOrEmpty to OutFile and InFile parameters of WebCmdlets ( #19044 )
2023-02-01 21:45:09 +05:00
Travis Plunk and Aditya Patwardhan
b2c4888ebb
Add Windows ARM64 CI ( #19040 )
...
* Add CI for win-arm64
* Add common function to test for windows arm64
* Update because string where items need investigation
---------
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com >
2023-01-31 12:06:29 -08:00
Aditya Patwardhan
f8cbf90ccb
Fix progress calculation divide by zero in Copy-Item ( #19038 )
2023-01-27 10:03:19 -08:00
James Truher [MSFT]
5f3100cd95
Change test so output does not include newline. ( #19026 )
2023-01-25 18:02:20 -08:00
CarloToso
282fc5fc08
Fix bug with managing redirection and keepAuthorization in Web cmdlets ( #18902 )
2023-01-13 18:31:03 +05:00
Steve Lee
2baeb1a7f0
Fix Get-Error to work with strict mode ( #18895 )
2023-01-13 18:00:20 +05:00
CarloToso
f018beedff
Add tests for Allowinsecureredirect parameter in Web cmdlets ( #18939 )
2023-01-13 17:37:55 +05:00
CarloToso
465165fd97
Invoke-RestMethod -FollowRelLink fix links containing commas ( #18829 )
2023-01-11 21:39:04 +05:00
xtqqczze
8e14d2d7aa
Enable get-help pattern tests on Unix ( #18855 )
2023-01-10 08:10:03 +05:00
CarloToso
31af38c22a
Create test to check if WebCmdlets decompress brotli-encoded data ( #18905 )
2023-01-10 08:07:00 +05:00
MartinGC94
232384ce7f
Prioritize the default parameter set when completing positional arguments ( #18755 )
2023-01-09 10:30:42 -08:00
Steve Lee
27b5a0632d
Add -ProgressAction common parameter ( #18887 )
2023-01-09 09:40:40 -08:00
Steve Lee and Ilya
9ea887f626
Add -CommandWithArgs parameter to pwsh ( #18726 )
...
* Add `-CommandWithArgs` parameter to pwsh
* Update src/Microsoft.PowerShell.ConsoleHost/host/msh/CommandLineParameterParser.cs
Co-authored-by: Ilya <darpa@yandex.ru >
* address Ilya and Mikey's comments
* reset i
Co-authored-by: Ilya <darpa@yandex.ru >
2023-01-05 15:21:35 -08:00
Steve Lee
f04940b76c
Fix Format-Table -RepeatHeader for property derived tables ( #18870 )
2022-12-31 12:00:00 +05:00
MartinGC94
8f7c980ca3
Fix type inference for all scope vars ( #18758 )
2022-12-20 15:38:25 +05:00
MartinGC94
9a7db33ee0
Add completion for Using keywords ( #16514 )
2022-12-20 13:26:43 +05:00
Aditya Patwardhan
2b38f80855
Update the release tag in metadata.json for next preview ( #18799 )
2022-12-15 10:43:55 -08:00
Steve Lee
eb9ca7c351
Fix New-Item -ItemType Hardlink to resolve target to absolute path and not allow link to itself ( #18634 )
2022-12-13 22:09:28 +05:00
Ilya
e7c68af8bb
Enable pending test for Start-Process ( #18724 )
2022-12-12 11:26:27 -08:00
Dongbo Wang
061947969d
Allow non-default encodings to be used in user's script/code ( #18605 )
2022-12-07 10:16:06 +05:00
Jordan Borean
6fa7260db9
Fix the process CommandLine on Linux ( #18710 )
2022-12-02 10:23:00 -08:00
Dongbo Wang
ae3c3169ee
Fix SuspiciousContentChecker.Match to detect a pre-defined string when the text starts with it ( #18693 )
2022-12-01 22:26:43 -08:00
Steve Lee
8ff6a06f97
Switch $PSNativeCommandUseErrorActionPreference to $true when feature is enabled ( #18695 )
2022-12-01 16:13:42 -08:00
Steve Lee
52ea419662
Add Dim and DimOff to $PSStyle ( #18653 )
2022-11-29 16:13:59 -08:00
Dongbo Wang
d03a5553c2
Fix Start-Job to check the existence of working directory using the PowerShell way ( #18675 )
...
* Fix `Start-Job` to check the existence of working directory using the PowerShell way
* Add a test
* Update
* Fix the test
2022-11-29 08:41:12 -08:00
Ilya
8bc9fdb2a1
Replace DllImport with LibraryImport in SMA 2 ( #18543 )
2022-11-22 22:22:14 +05:00
Steve Lee
9ae18ab0d1
Change exec from alias to function to handle arbitrary arguments ( #18567 )
2022-11-17 12:14:27 -08:00
Steve Lee
4f19c05547
Ensure HelpInfo.Category is consistently a string ( #18254 )
2022-11-15 17:57:03 -08:00
Travis Plunk
9c55989a2e
Mark charset test as pending ( #18511 )
2022-11-09 23:04:21 +00:00
MartinGC94
0a6de4672a
Fix issue when completing the first command in a script with an empty array expression ( #18355 )
2022-11-07 17:14:49 -08:00
MartinGC94
b5ffd043c5
Improve type inference of hashtable keys ( #17907 )
2022-11-07 17:10:03 -08:00
Steve Lee
0ddf89e5a8
Fix Switch-Process to copy the current env to the new process ( #18452 )
2022-11-07 11:03:37 -08:00
Steve Lee
52a62e9ef2
Fix Switch-Process error to include the command that is not found ( #18443 )
2022-11-03 07:54:11 +05:00
CarloToso
489e316151
Webcmdlets set default charset encoding to UTF8 ( #18219 )
2022-11-02 22:34:09 +05:00