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
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
CarloToso
31af38c22a
Create test to check if WebCmdlets decompress brotli-encoded data ( #18905 )
2023-01-10 08:07:00 +05:00
Steve Lee
f04940b76c
Fix Format-Table -RepeatHeader for property derived tables ( #18870 )
2022-12-31 12:00:00 +05: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
Jordan Borean
6fa7260db9
Fix the process CommandLine on Linux ( #18710 )
2022-12-02 10:23:00 -08:00
Steve Lee
8ff6a06f97
Switch $PSNativeCommandUseErrorActionPreference to $true when feature is enabled ( #18695 )
2022-12-01 16:13:42 -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
Travis Plunk
9c55989a2e
Mark charset test as pending ( #18511 )
2022-11-09 23:04:21 +00: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
Olivia
eef7c4526e
Add the function cd~ ( #18308 )
2022-10-24 21:58:54 -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
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
Steve Lee
61b5dceb60
Make experimental feature PSAnsiRenderingFileInfo stable ( #18042 )
2022-09-12 10:23:03 -07:00
Steve Lee
918bb8c952
Make experimental feature PSExec stable ( #18045 )
2022-09-07 10:28:17 -07:00
Travis Plunk
96d0a10e7f
Remove unneeded use of chmod 777 ( #17974 )
...
* Update Pester.Commands.Cmdlets.GetCommand.Tests.ps1
* Update Export-Alias.Tests.ps1
* Update test/powershell/Modules/Microsoft.PowerShell.Utility/Export-Alias.Tests.ps1
* Update test/powershell/Modules/Microsoft.PowerShell.Core/Pester.Commands.Cmdlets.GetCommand.Tests.ps1
* Update test/powershell/Modules/Microsoft.PowerShell.Core/Pester.Commands.Cmdlets.GetCommand.Tests.ps1
2022-08-29 11:06:46 -07:00
Sergey Vasin
2bbb4a6650
Replace the CIM class used for -Amended parameter test ( #17884 )
2022-08-22 14:41:04 -07:00
Frode Flaten
dbffa2766f
Stop ongoing progress-bar in Write-Progress test ( #17880 )
2022-08-12 08:15:42 +05:00
David Bar-On
55c5e789bd
Fix for deserializing imported ordered dictionary ( #15545 )
2022-08-08 23:29:45 +05:00
Dongbo Wang
c2323db4a0
Re-enable tests because the corresponding dotnet issues were fixed ( #17839 )
2022-08-03 21:34:03 -07:00
Matt Graeber
6bf8a98aed
Adding Virtualization-Based Security feature names to Get-ComputerInfo ( #16415 )
2022-07-26 10:12:36 +05:00
Steve Lee
d72cedd70b
Fix FileSystemProvider to work with volume and pipe paths ( #15873 )
2022-07-25 22:07:26 +00:00
William Easton
ec0dba4605
Remove pre-parse for array-based JSON ( #15684 )
2022-07-25 14:14:56 -07:00
Dominik Kaszewski
89cc6d1297
Fix Test-Json not handling non-object types at root ( #17741 )
2022-07-25 22:43:48 +05:00
Steve Lee
3efa28162e
Change Get-ChildItem to treat trailing slash in path as indicating a directory when used with -Recurse ( #17704 )
2022-07-21 09:39:11 +05:00
Steve Lee
08baf27b80
Render decimal numbers in a table using current culture ( #17650 )
2022-07-18 14:27:06 -07:00
Steve Lee
ff0506d632
Change ConvertFrom-Json -AsHashtable to use ordered hashtable ( #17405 )
...
JSON typically has ordering to make it easier to read. Currently, a Hashtable does not preserve ordering so for complex JSON, the members are not where you would expect in terms of order. This change wraps OrderedDictionary into a OrderedHashtable that derives from Hashtable. This preserves existing compatibility with scripts that expect a Hashtable to be returned, but preserves the order of elements.
2022-07-13 09:23:03 +05:00
Bryan Berns
ca0178a802
Add Milliseconds Parameter to New-TimeSpan ( #17621 )
2022-07-12 11:09:19 +05:00
MartinGC94
4f6e574820
Improve type inference and completions ( #16963 )
2022-06-13 10:04:35 -07:00
Ilya
57dbecb612
Add Amended switch to Get-CimClass cmdlet ( #17477 )
...
* Add Amended switch to Get-CimClass cmdlet
* Fix CodeFactor issues
2022-06-08 16:25:13 -07:00
Shuangchi He
c5d31c9e10
Correct spelling in Comments and tests ( #17480 )
2022-06-06 09:55:33 -07:00
Aditya Patwardhan
d99626927d
Update Get-Error test to not depend on DNS APIs ( #17471 )
2022-06-03 09:25:24 -07:00
github-actions[bot]
38909f7ee5
Update .NET SDK version from 7.0.100-preview.2.22153.17 to 7.0.100-preview.4.22252.9 ( #17061 )
2022-05-11 18:27:51 -07:00
James Truher [MSFT]
1a24540e31
Enable more tests to be run in a container. ( #17294 )
2022-05-11 12:30:22 -07:00
Dongbo Wang
44098e771a
Fix the list view to not leak VT decorations ( #17262 )
2022-05-10 16:05:14 -07:00
Ryne Andal
2550a3a23a
Add check for ScriptBlock wrapped in PSObject to $using used in ForEach-Object -Parallel ( #17234 )
2022-05-04 10:51:45 -07:00