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
Aditya Patwardhan
f4e68ad875
Skip output rendering tests on Windows Server 2012 R2 ( #18382 )
2022-10-29 21:10:03 +05:00
Olivia
eef7c4526e
Add the function cd~ ( #18308 )
2022-10-24 21:58:54 -07:00
MartinGC94
ab7f206271
Fix type inference error for empty return statements ( #18351 )
2022-10-24 14:39:34 -07:00
Aditya Patwardhan
813d38875d
Revert "Replace win7 runtime with win8 and remove APISets ( #18304 )" ( #18322 )
2022-10-18 16:48:07 -07:00
Aditya Patwardhan
cc86f9ffd1
Replace win7 runtime with win8 and remove APISets ( #18304 )
2022-10-18 11:07:22 -07:00
James Truher [MSFT]
074aad6ea9
Add missing -Tag 'CI' to describe blocks. ( #18316 )
2022-10-17 15:27:24 -07:00
Steve Lee
19ea81f6be
Use shortpath instead of multiple quotes in Get-Item test relying on node ( #18250 )
2022-10-14 08:10:52 +05:00
Steve Lee
8a45d14fad
Add -FuzzyMinimumDistance parameter to Get-Command ( #18261 )
2022-10-12 16:08:20 -07:00
Ilya
3a506b9692
Fix decompression in web cmdlets ( #17955 )
2022-10-04 09:33:37 -07:00
Steve Lee
d5ed53eba2
Add CustomTableHeaderLabel formatting to differentiate table header labels that are not property names ( #17346 )
2022-10-03 15:05:11 -07:00
Dongbo Wang
a7a49290a8
Remove the extra new line form List formatting ( #18185 )
2022-09-30 15:47:51 -07:00
Jordan Borean
d66b2a5b52
Fix Parent property on processes with complex name ( #17545 )
2022-09-28 21:43:40 -07:00
Dongbo Wang
79b8140199
Make PowerShell class not affiliate with Runspace when declaring the NoRunspaceAffinity attribute ( #18138 )
2022-09-22 10:49:08 -07:00
Dongbo Wang
1a82574743
Treat [NullString]::Value as the string type when resolving methods ( #18080 )
2022-09-15 17:35:56 -07:00
Dongbo Wang
f56c4ea9ef
Re-enable building with Ready-to-Run ( #18105 )
2022-09-15 16:17:23 -07:00
Steve Lee
944ed5413d
Revert "Add -StrictMode to Invoke-Command to allow specifying strict mode when invoking command locally" ( #18040 )
2022-09-12 11:41:57 -07:00