Commit Graph
2112 Commits
Author SHA1 Message Date
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
MartinGC94 fb9393e0cc Improve pseudo binding for dynamic parameters (#18030) 2022-09-12 11:34:15 -07:00
Steve Lee 61b5dceb60 Make experimental feature PSAnsiRenderingFileInfo stable (#18042) 2022-09-12 10:23:03 -07:00
Steve Lee 6744ffb826 Make experimental feature PSNativeCommandArgumentPassing stable (#18044) 2022-09-12 09:48:09 -07:00
Steve Lee 918bb8c952 Make experimental feature PSExec stable (#18045) 2022-09-07 10:28:17 -07:00
Dongbo Wang 647f40bb4a Fix error formatting to use color defined in $PSStyle.Formatting (#17987) 2022-08-31 09:36:14 -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
MartinGC94 4051e09796 Add completion for values in comparisons when comparing Enums (#17654) 2022-08-22 15:18:49 -07:00
MartinGC94 99c757ff3e Fix positional argument completion (#17796) 2022-08-22 15:17:55 -07:00
Sergey Vasin 2bbb4a6650 Replace the CIM class used for -Amended parameter test (#17884) 2022-08-22 14:41:04 -07:00
MartinGC94 1c5e14cf0f Fix member completion in attribute argument (#17902) 2022-08-22 13:38:21 -07:00
Frode Flaten a15bfcb501 Throw when too many parameter sets are defined (#17881) 2022-08-22 12:11:17 -07:00
Frode Flaten dbffa2766f Stop ongoing progress-bar in Write-Progress test (#17880) 2022-08-12 08:15:42 +05:00
Dongbo Wang 2c9c97ac86 Do not preserve temporary results when no need to do so (#17856) 2022-08-10 09:36:33 -07:00
Dominik Kaszewski 1ee2f0d7ee Fix Update-Help failing silently with implicit non-US culture. (#17780) 2022-08-09 15:51:32 -07:00
WJKM d75d3b6178 Add the ValidateNotNullOrWhiteSpace attribute (#17191) 2022-08-09 10:48:08 -07:00
MartinGC94 15dcf634e2 Improve enumeration of inferred types in pipeline (#17799) 2022-08-09 10:37:56 -07: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
github-actions[bot] b66a93f74e Update .NET SDK version from 7.0.100-preview.6.22352.1 to 7.0.100-preview.7.22377.5 (#17776) 2022-08-02 22:23:59 -07:00
Frode Flaten c072f5be92 Add test for LanguageMode using remoting (#17803) 2022-08-03 08:35:04 +05:00
Steve Lee 9213b77659 Allow commands to still be executed even if the current working directory no longer exists (#17579) 2022-08-01 21:43:54 -07:00
Dongbo Wang 2051c5f72b Stop referencing Microsoft.PowerShell.Security when the core snapin is used (#17771) 2022-08-01 10:10:59 -07:00
Frode Flaten 0d52375adc Add type accelerator ordered for OrderedDictionary (#17804) 2022-08-01 09:15:14 -07:00
Matt Graeber 6bf8a98aed Adding Virtualization-Based Security feature names to Get-ComputerInfo (#16415) 2022-07-26 10:12:36 +05:00
Ilya 08e4596463 Move the type data definition of System.Security.AccessControl.ObjectSecurity to the Microsoft.PowerShell.Security module (#16355) 2022-07-25 21:16:52 -07: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
MartinGC94 3d4e294262 Improve type inference for $_ (#17716) 2022-07-25 11:27:23 -07:00
Frode Flaten f1595c4b31 Fix test perf by stopping ongoing write-progress (#17749) 2022-07-25 11:19:10 -07:00
MartinGC94 8eb37cc44d Prevent braces from being removed when completing variables (#17751) 2022-07-25 11:17:26 -07:00
MartinGC94 5ccbb97ae3 Fix type inference for ICollection (#17752) 2022-07-25 11:15:19 -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
James Truher [MSFT] 031fa93b4c Add find.exe to legacy argument binding behavior for Windows (#17715) 2022-07-20 14:47:50 -07:00
MartinGC94 76c713d7e6 Add completion for index expressions for dictionaries (#17619) 2022-07-20 03:56:35 +00:00
Frode Flaten 9ccaf107a0 Fix enum-ranges for ValidateRange in proxy commands (#17572) 2022-07-20 08:50:18 +05:00
MartinGC94 84241c3c59 Fix parser exception in using statements with empty aliases (#16745) 2022-07-19 10:42:31 -07:00
MartinGC94 618b348cdb Fix type completion for attribute tokens (#17484) 2022-07-19 09:08:10 -07:00
James Truher [MSFT] bfb59f1acf Do not always collapse space between parameter and value for native arguments. (#17708) 2022-07-18 17:51:51 -07:00
Steve Lee b7c875b0f2 Remove PSNativePSPathResolution experimental feature (#17670) 2022-07-18 17:25:46 -07:00
MartinGC94 53adf5d5d4 Improve dynamic parameter tab completion (#17661) 2022-07-18 15:32:06 -07:00
MartinGC94 b06bcee10e Avoid binding positional parameters when completing parameter in front of value (#17693) 2022-07-18 14:28:04 -07: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 81f492744d Fix tab completion regression (#17628) 2022-07-07 15:45:50 +05:00
github-actions[bot] 17b23e3ebc Update .NET SDK version from 7.0.100-preview.5.22307.18 to 7.0.100-preview.6.22352.1 (#17634) 2022-07-06 17:35:59 -07:00
Tamás Vajk b88cd3ae2e Fix build.psm1 to not specify both version and quality for dotnet-install (#17589) 2022-06-28 11:00:34 -07:00
Eugene Samoylov 735096bcc1 Show optional parameters as such when displaying method definition and overloads (#13799)
* Extend `GetMethodInfoOverloadDefinition` to show optional parameters as such (#13728)

* Fix CodeFactor style issue

* Fix review issues

* Add tests for TabExpansion2 `ToolTip`

* Fix tooltip string splitting

* Fix tests

* Bring back the namespace
2022-06-27 12:21:25 -07:00