Commit Graph
9511 Commits
Author SHA1 Message Date
Chuckie Chen cd380bc11a Fix a bug in install-powershell.ps1 (#17794) 2022-08-02 14:25:12 -07:00
dependabot[bot] 0e4d2e40cd Bump xunit from 2.4.1 to 2.4.2 (#17817) 2022-08-02 10:01:18 -07:00
Frode Flaten 7fb867167e Reenable IDE0031 (#17811) 2022-08-02 10:18:54 +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
Ryan HutchisonandTravis Plunk f2204a08b8 Authenticode https fix issue #12827 (#16134)
* Added https:// as valid prefix for TSA url

* fixed typo

* Format matching

* Added proper logic

* Appended https to error message

* Update src/System.Management.Automation/security/Authenticode.cs

I agree.

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2022-08-01 09:57:03 -07:00
Frode Flaten ebfb62b5ec Use null propagation in the Utility module (#17787) 2022-08-01 09:21:42 -07:00
Frode Flaten 7c624902e1 Use null propagation operator in remoting code (#17790) 2022-08-01 09:21:16 -07:00
Frode Flaten 2d4a6bf475 Use null propagation operator in Management and ConsoleHost (#17791) 2022-08-01 09:20:44 -07:00
Frode Flaten d204d29035 Use null propagation operator in System.Management.Automation (#17792) 2022-08-01 09:20:09 -07:00
Frode Flaten 0d52375adc Add type accelerator ordered for OrderedDictionary (#17804) 2022-08-01 09:15:14 -07:00
Dmitry Volodin 7f69d74e4a Reenable compound assignment preference (#17784) 2022-07-31 17:57:49 +05:00
Frode Flaten 5f4e100456 Use null propagation operator for windows build (#17795)
* Use null propagation in CimCmdlets

* Use null propagation in Diagnostics and Management

* ignore IDE0031 rule in ConsoleHost

* Use null propagation in WSMan.Management

* Use null propagation in SMA

* ignore IDE0031 for securityDescHandle

* cleanup after review
2022-07-29 10:34:09 -07:00
Frode Flaten 4b4f1d144f Use null propagation operator in /engine (#17789) 2022-07-29 09:06:07 +05:00
Travis Plunk 5eb91360bb Update how to update homebrew (#17798) 2022-07-28 14:46:51 -07:00
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