Commit Graph
9496 Commits
Author SHA1 Message Date
Travis Plunk bf9b4dbef1 Don't run link check on forks (#17797) 2022-07-28 14:17:32 -07:00
Patrick Meinecke b780a34ad1 Fix the definition of the PDH_COUNTER_INFO struct (#17779)
* Correct the struct `PDH_COUNTER_INFO`
Fixes #13829

* Make code factor happy
2022-07-27 13:36:39 -07:00
Dmitry Volodin 1779175935 Use null-coalescing assignment in the rest of /engine (#17729) 2022-07-26 12:31:14 -07:00
Matt Graeber 6bf8a98aed Adding Virtualization-Based Security feature names to Get-ComputerInfo (#16415) 2022-07-26 10:12:36 +05:00
Aditya Patwardhan e44fbff17b Disable the warning IDE0031 to take .NET 7 Preview 7 (#17770) 2022-07-25 21:34:41 -07: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
Dmitry Volodin 7ce0df7187 Use compound assignment in /Microsoft.PowerShell.Commands (#17722) 2022-07-25 17:04:56 -07:00
Dmitry Volodin 9fe96f3c20 Use compound assignment in /interpreter and /runtime (#17727) 2022-07-25 16:55:56 -07:00
Dongbo Wang 5f4ac678e3 Updated ADOPTERS.md for Power BI (#17766) 2022-07-25 16:26:14 -07:00
Steve Lee d72cedd70b Fix FileSystemProvider to work with volume and pipe paths (#15873) 2022-07-25 22:07:26 +00:00
Ananya Vishnoi 1a8d23f578 Update README.md with the current Fedora version (#15717) 2022-07-25 14:15:58 -07: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
Dmitry Volodin e8c66a3282 Use null-coalescing assignment in /remoting and /hostifaces (#17728) 2022-07-25 11:26:01 -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
Dmitry Volodin dc2e682f3a Use null-coalescing assignment in /engine (#17720) 2022-07-25 22:11:29 +05:00
Dmitry Volodin 7af4679191 Use compound assignment in Microsoft.PowerShell.ConsoleHost/Security (#17723) 2022-07-25 22:08:57 +05:00
Dmitry Volodin 8f6b75826e Use compound assignment in /System.Management.Automation (#17724) 2022-07-25 22:07:33 +05:00
Dmitry Volodin 223c6b8905 Use compound assignment in /parser and /debugger (#17726) 2022-07-25 21:54:36 +05:00
Dmitry Volodin c6e3ba841b Use null-coalescing assignment in /System.Management.Automation.utils (#17725)
* Use compound assignment in /System.Management.Automation.utils

* Move comments to please style analyzer
2022-07-25 09:52:17 -07:00
Dmitry Volodin 8af18fa4ea Use compound assignment in /Microsoft.WSMan (#17721) 2022-07-25 21:37:32 +05:00
Dmitry Volodin a468fb1f49 Use compound assignment in /Microsoft.Management (#17719) 2022-07-22 22:34:27 +05:00
Aditya Patwardhan bff54ba38d Update dotnetmetadata.json to start consuming .NET 7 preview 7 builds (#17736) 2022-07-21 14:53:55 -07:00
Dongbo Wang 38bf778b37 Re-enable the test TestLoadNativeInMemoryAssembly (#17738) 2022-07-21 14:51:22 -07: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
Ikko Ashimine 42d0e99286 Fix typo in ModuleCmdletBase.cs (#17714)
explictly -> explicitly
2022-07-20 10:17:53 +05: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
Dongbo Wang 65b6f1abf0 Bump PackageManagement from 1.4.7 to 1.4.8.1 (#17709) 2022-07-20 08:30:38 +05:00
MartinGC94 84241c3c59 Fix parser exception in using statements with empty aliases (#16745) 2022-07-19 10:42:31 -07:00
Aditya Patwardhan b130db38dd Exclude ARM images from running in CI (#17713) 2022-07-19 10:35:50 -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
Keith Hill b6a619099b Fix #16929 do not show profile load time msg with new pwsh parameter (#17535)
* Fix #16929 do not show profile load time msg by default

This PR adds a new pwsh command line parameter to enable display of the
profile load time message.

* Switch to an opt-out paramater called -NoProfileLoadTime
2022-07-18 17:33:16 -07:00
Steve Lee b7c875b0f2 Remove PSNativePSPathResolution experimental feature (#17670) 2022-07-18 17:25:46 -07:00
Steve Lee 1437d85a44 Fix legacy ErrorView types to use $host.PrivateData colors (#17705) 2022-07-18 17:07:47 -07:00
MartinGC94 53adf5d5d4 Improve dynamic parameter tab completion (#17661) 2022-07-18 15:32:06 -07:00
Patrick Meinecke 56bab81fc7 Update README and metadata.json for next release (#17676) 2022-07-18 15:13:42 -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
Patrick Meinecke bcafe74c17 Fix SDK tests for release build (#17678) 2022-07-13 14:21:27 -07:00
Aditya Patwardhan 417d9315f9 Create test artifacts for windows arm64 (#17675) 2022-07-13 17:16:08 -04:00
Dongbo Wang f9d424dd86 Fix Export-PSSession to not throw error when a rooted path is specified for -OutputModule (#17671) 2022-07-13 13:31:57 -07:00
Sergey Vasin 667ea982ce Fix comment in InternalCommands.cs (#17669) 2022-07-13 05:19:29 +00: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
Steve Lee 0295cc6d07 Remove potential ANSI escape sequences in strings before using in Out-GridView (#17664) 2022-07-12 09:41:57 -07:00