Commit Graph
4379 Commits
Author SHA1 Message Date
creative-cloud 2ec7aea2ec Fixing CA2014 warnings and removing the warning suppressions (#17982) 2022-09-13 09:46:52 -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
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 ce746969ab Make experimental feature PSAMSIMethodInvocationLogging stable (#18041) 2022-09-12 09:20:20 -07:00
Dongbo Wang 3fbd90a4b0 Handle PSObject argument specially in method invocation logging (#18060) 2022-09-12 09:15:14 -07:00
Ikko Ashimine eb92c501da Fix typos in EventResource.resx (#18063) 2022-09-12 09:13:28 -07:00
Rose 397bd87cb3 Remove unused variables (#18058) 2022-09-08 12:10:38 -07:00
Steve Lee 3bf6423a10 Make experimental feature PSRemotingSSHTransportErrorHandling stable (#18046) 2022-09-07 17:34:30 -07:00
Steve Lee 918bb8c952 Make experimental feature PSExec stable (#18045) 2022-09-07 10:28:17 -07:00
Steve Lee 6e36446b6f Make experimental feature PSCleanBlock stable (#18043) 2022-09-07 10:26:21 -07:00
dependabot[bot] 1c13c7084b Bump Microsoft.CodeAnalysis.CSharp from 4.3.0-3.final to 4.3.0 (#18012) 2022-09-06 10:05:39 -07:00
Dongbo Wang 647f40bb4a Fix error formatting to use color defined in $PSStyle.Formatting (#17987) 2022-08-31 09:36:14 -07:00
Ikko Ashimine 0c63a54952 Fix typo in PowerShell.Core.Instrumentation.man (#17963) 2022-08-25 12:54:35 +05:00
Dongbo Wang 543f5209c0 Support mapping foreground/background ConsoleColor values to VT escape sequences (#17938) 2022-08-24 23:11:18 +05:00
Dongbo Wang d02c59addc Update help content about the PowerShell flag -NonInteractive (#17952) 2022-08-23 10:48:04 -07:00
Steve Lee da7fa3f771 Make pwsh server modes implicitly not show banner (#17921) 2022-08-23 10:47:01 -07:00
MartinGC94 a7559e0987 Add output type attributes for Get-WinEvent (#17948) 2022-08-23 06:17:33 +00:00
Abin fdf3c9a31a Remove 1s minimum delay in Invoke-WebRequest for small files, and prevent file-download-error suppression. (#17896) 2022-08-23 10:30:47 +05: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
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
Steve Lee 0337763a92 Limit searching of charset attribute in meta tag for HTML to first 1024 characters in webcmdlets (#17813) 2022-08-22 23:19:02 +05:00
Travis PlunkandAditya Patwardhan 378ce9fd72 Make Register Microsoft Update timeout (#17910)
* Make Register MU timeout

* Update Product.wxs

* Update powershell-win-core.csproj

* Rename src/PowerShell.Core.Instrumentation/RegisterMicrosoftUpdate.ps1 to assets/MicrosoftUpdate/RegisterMicrosoftUpdate.ps1

* Update src/powershell-win-core/powershell-win-core.csproj

* Update RegisterMicrosoftUpdate.ps1

* Update RegisterMicrosoftUpdate.ps1

* Update files.wxs

* Update assets/MicrosoftUpdate/RegisterMicrosoftUpdate.ps1

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>

* Update assets/MicrosoftUpdate/RegisterMicrosoftUpdate.ps1

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>

* Update RegisterMicrosoftUpdate.ps1

* Update RegisterMicrosoftUpdate.ps1

* Update RegisterMicrosoftUpdate.ps1

* Update RegisterMicrosoftUpdate.ps1

* Update assets/MicrosoftUpdate/RegisterMicrosoftUpdate.ps1

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2022-08-18 09:47:09 -07:00
James Truher [MSFT] 8d25b5ae6e Update to use version 2.21.0 of Application Insights. (#17903)
Replaces dependabot PR #17733
2022-08-16 09:37:48 -07: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
Jordan Borean 135e94d6cb Migrate WinTrust functions to a common location (#17598) 2022-08-08 15:49:29 -07:00
David Bar-On 55c5e789bd Fix for deserializing imported ordered dictionary (#15545) 2022-08-08 23:29:45 +05:00
Tadas Medišauskas 53a212ee65 Make generated implicit remoting modules backwards compatible with PowerShell 5 (#17227)
* Fix implicit remoting generator version check

* Fix implicit remoting generator version check
2022-08-08 10:18:51 -07:00
Dongbo Wang e7f90f0aa7 Fix other path constructions using Path.Join (#17825) 2022-08-03 11:06:01 +05: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
Steve Lee 51b2ac40d5 Enable searching for assemblies in GAC_Arm64 on Windows (#17816) 2022-08-03 08:03:13 +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
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