Aditya Patwardhan
980b16561c
Skip VT100 tests on Windows Server 2012R2 as console does not support it ( #19413 )
2023-04-07 12:02:10 -07:00
James Truher [MSFT]
0c52638dad
Improve package management acceptance tests by not going to the gallery ( #19412 )
2023-04-07 12:01:15 -07:00
Aditya Patwardhan
9386b76796
Test fixes for stabilizing tests ( #19068 )
2023-04-07 11:59:37 -07:00
Dongbo Wang
826de5b0e0
[release/v7.3.2] Fix Switch-Process error to include the command that is not found ( #18650 )
2023-01-04 10:02:04 -08:00
github-actions[bot]
f4a70cb67d
[release/v7.3.1] Change exec from alias to function to handle arbitrary args ( #18644 )
2022-11-22 19:04:35 +00:00
Travis Plunk and Steve Lee
15666cf5ba
[release/v7.3.1] Fix Switch-Process to copy the current env to the new process ( #18632 )
...
* Fix `Switch-Process` to copy the current env to the new process (#18452 )
* Update test/powershell/Modules/Microsoft.PowerShell.Core/Exec.Tests.ps1
Co-authored-by: Steve Lee <slee@microsoft.com >
2022-11-21 14:52:51 -08:00
github-actions[bot]
950de803bb
Mark charset test as pending ( #18609 )
2022-11-18 14:12:00 -08:00
github-actions[bot]
99c298a5b4
Add missing -Tag 'CI' to describe blocks. ( #18317 )
2022-10-18 23:52:54 +00:00
github-actions[bot]
78b555bdb0
[release/v7.3.0-rc.1] Make experimental feature PSExec stable ( #18077 )
2022-09-13 10:51:48 -07:00
github-actions[bot]
ac95793f95
[release/v7.3.0-rc.1] Make experimental feature PSAnsiRenderingFileInfo stable ( #18078 )
2022-09-12 22:03:24 -07:00
github-actions[bot]
7627e999a7
[release/v7.3.0-rc.1] Revert "Add -StrictMode to Invoke-Command to allow specifying strict mode when invoking command locally" ( #18074 )
2022-09-12 22:02:44 -07:00
github-actions[bot]
ff1d67980b
Complete ongoing write-progress ( #17922 )
2022-08-18 22:14:39 +00: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
Travis Plunk
156757c93d
Add container to Linux CI ( #17233 )
2022-05-02 15:59:23 -07:00
m1k0net
0067decae8
Fix Sort-Object -Stable -Unique to actually do stable sorting ( #17189 )
2022-04-26 16:58:37 -07:00
Aditya Patwardhan
9fc0e80fb7
Update dotnetmetadata.json to accept .NET 7 preview 3 builds ( #17063 )
2022-03-25 16:15:16 -07:00
Dongbo Wang
fe11ba48b5
Re-enable PowerShellGet tests targeting PowerShell gallery ( #17062 )
2022-03-25 15:10:43 -07:00
James Truher [MSFT]
b3632eda46
Improve unique naming for tests ( #17043 )
2022-03-23 09:24:10 -07:00
Aditya Patwardhan
1268a0a04f
Update .NET to 7.0.0-preview.2 build ( #16930 )
2022-03-18 09:10:53 -07:00
Dongbo Wang
9b2d97e3e2
Update a few tests to make them more stable in CI ( #16944 )
2022-03-02 17:39:30 -08:00
Dongbo Wang
102e8285bb
Bump PSReadLine from 2.1.0 to 2.2.2 ( #16910 )
2022-02-23 11:36:46 -08:00
ayousuf23
31c14f2ad3
Updated background invocation & operator to use -WorkingDirectory when starting a new job ( #16180 )
2022-02-21 10:02:30 -08:00
Aditya Patwardhan
77caf718cd
Update projects and scripts to use .NET 7 preview 1 pre-release builds ( #16856 )
...
* Update script to consume .NET 7 builds
* Update target framework
* Add dotnet metadata override value
* Update dependencies
* Update analyzer
* Conditionally add output argument
* Update files.wxs
* Fix tests
* Update Microsoft.PowerShell.Native to 7.3.0-preview.1
* Disable psget tests
* Update to latest build for .NET 7 preview 1
* Disable ready to run
* Update version of `Microsoft.AspNetCore.Mvc.NewtonsoftJson` package
* Update cgmanifest and startup test
2022-02-16 09:56:41 -08:00
Dongbo Wang
30eac0a11e
Update to use windows-latest as the build agent image ( #16831 )
2022-02-07 17:34:52 -08:00
hammy3502
3eca7c019e
Adds a .ResolvedTarget Property to File-System Items to Reflect a Symlink's Target as FileSystemInfo ( #16490 )
2022-01-21 09:23:11 +05:00
Mathias R. Jessen
686c84cccc
Add new parameter to Start-Sleep: [-Duration] <timespan> ( #16185 )
2022-01-13 17:39:54 -08:00
KiwiThePoodle
83a809b1f0
Make Measure-Object ignore missing properties unless running in strict mode ( #16589 )
2022-01-13 09:33:43 -08:00
Thomas-Yu
ed6e0588c8
Add -StrictMode to Invoke-Command to allow specifying strict mode when invoking command locally ( #16545 )
2022-01-12 11:17:02 -08:00
Dongbo Wang
cce64f49de
Report error when PowerShell built-in modules are missing ( #16628 )
2022-01-12 10:02:03 -08:00
Steve Lee
a9b14a13fd
Add exec cmdlet for bash compatibility ( #16462 )
2022-01-04 14:09:27 -08:00
Steve Lee
7a2b44523b
Fix web cmdlets so that an empty Get does not include a content-length header ( #16587 )
2022-01-03 11:20:33 -08:00
Andrew
1d1e42fd1a
Merge branch 'master' into BringChangesFrom730P1
2021-12-16 13:45:37 -08:00
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