Commit Graph
2314 Commits
Author SHA1 Message Date
Steve Lee 05ed2f270c Revert "Adjust PUT method behavior to POST one for default content type in WebCmdlets" (#21049) 2024-02-26 11:51:12 -08:00
Steve Lee a880377d8a Fix a regression in Format-Table when header label is empty (#21156) 2024-02-26 11:44:30 -08:00
Aditya Patwardhan 8921a7dcad Skip test on Windows Server 2012 R2 for no-nl (#21265) 2024-02-22 16:26:30 -08:00
Aditya Patwardhan a145f47787 Bump to .NET 9 Preview 1 (#21229) 2024-02-16 03:15:11 +00:00
Jordan Borean 71035543e7 ConvertFrom-Json: Add -DateKind parameter (#20925)
Adds the -DateKind parameter to the ConvertFrom-Json that allows the
caller to control how DateTime strings are converted into an object. The
default behaviour is to create a DateTime value with the Kind being
Unspecified if no TZ is set, Utc if the TZ Z is set, Local (after
conversion) if an explicit TZ is set. This adds a Utc, Local to
explicitly set the Kind as desired as well as a Offset and String value
to create a DateTimeOffset or keep as a string.
2024-02-13 09:05:07 +05:00
Dom Slee c56a52b8c0 Add tilde expansion for windows native executables (#20402) 2024-02-12 09:58:27 -08:00
James Truher [MSFT] 0919240822 Rewrite the mac syslog tests to make them less flaky (#21174) 2024-02-07 13:09:41 -08:00
James Truher [MSFT] e9682c151d Fix using assembly to use Path.Combine when constructing assembly paths (#21169) 2024-02-01 09:49:20 -08:00
Dongbo Wang 783fb46e65 Validate the value for using namespace during semantic checks to prevent declaring invalid namespaces (#21162) 2024-02-01 09:42:37 -08:00
Jordan Borean 4f02a89906 Fix Get-Error serialization of array values (#21085)
Ensure Get-Error does not hang when attempting to serialize an exception
that contains a property whose type is an array of System.Type
instances. Also ensures that primitive types like System.Int32,
System.Boolean as well as System.String is formatted as a string rather
than an object with properties.
2024-01-24 08:41:18 +05:00
CarloToso 68204ae14f Fix regression -Tail 0 -Wait (#20734) 2024-01-11 11:49:31 +05:00
Dongbo Wang ac559185d0 Add Aliases to the properties shown up when formatting the help content of the parameter returned by Get-Help (#20994) 2024-01-09 11:21:31 -08:00
Chris Dent 5282c9bb91 Add Import-LocalizedData implicit Localization fallback (#19896)
* Adds culture fallback to Import-LocalizedData

* Only add fallback if current culture is not en-US

* Pester 4 compatibility

* Missing param block in It

* Missed param block for It

* Skip UICulture name test for Linux and Mac

* Removed test fragment
2024-01-04 13:42:41 -05:00
dxk3355 71ae6070c2 Test-FileCatalog changes to use File.OpenRead to better handle when the file is executing or open Fix #20703 (#20939) 2023-12-21 22:28:36 +05:00
Armaan Mcleod 1b98bb0815 Added -Module completion for Save-Help/Update-Help commands (#20678) 2023-12-21 13:06:17 +05:00
Armaan Mcleod 103c945c32 Fix -OlderThan/-NewerThan parameters for Test-Path when using PathType and date range (#20942) 2023-12-20 22:32:57 +05:00
Armaan Mcleod 2ad03151f8 Add -Verb argument completer for Start-Process (#20415) 2023-12-19 21:18:04 +05:00
Armaan Mcleod 9383f554a2 Add -Scope argument completer for *-Variable, *-Alias & *-PSDrive commands (#20451) 2023-12-19 14:12:33 +05:00
Armaan Mcleod 0e18be6659 Add -Verb argument completer for Get-Verb/ Get-Command and refactor Get-Verb (#20286) 2023-12-16 21:34:51 +05:00
Chaz Beck 3eda139723 Fix Start-Process -PassThru to make sure the ExitCode property is accessible for the returned Process object (#20749) 2023-12-07 19:11:28 +00:00
Dongbo Wang fb1f8e1d43 Bump .NET SDK to 8.0.0 RTM build and move the current preview changelog to 7.4.md (#20850) 2023-12-05 13:22:56 -08:00
Matthias Wolf ac84c35820 Fix regression in #20608. (#20745) 2023-11-30 10:13:06 +05:00
Steve Lee 14245e0405 Fix rendering of DisplayRoot for network PSDrive (#20793) 2023-11-29 14:08:11 +05:00
Aditya Patwardhan 094e22e97d Update README and metadata.json for upcoming releases (#20696) 2023-11-16 10:04:58 -08:00
Anam Navied 9ff866d908 Update PSResourceGet version for 1.0.1 release (#20652) 2023-11-09 11:01:11 -08:00
Patrick Meinecke d3c91d0e63 Added a missing ConfigureAwait(false) call (#20606) 2023-11-01 12:42:28 -07:00
Travis Plunk 687383bcc1 Block getting help from network locations in restricted remoting sessions (#20593) 2023-10-31 16:06:15 -07:00
Armaan Mcleod 1dc05eaac0 Add argument completer for Set-StrictMode -Version (#20554) 2023-10-24 03:32:25 +00:00
MartinGC94 6176fd3fcf Fix UNC path completion regression (#20419) 2023-10-16 15:43:48 -07:00
Thomas Nieto 4621c9e571 Change New-FileCatalog -CatalogVersion default to 2 (#20428) 2023-10-16 15:26:31 -07:00
Steve Lee a0e6807bb2 Add error if invalid -ExecutionPolicy is passed to pwsh (#20460) 2023-10-16 15:14:11 -07:00
Steve Lee 4fd4522b84 Suppress error output from Set-Location tests (#20499) 2023-10-16 19:46:59 +00:00
James Truher [MSFT] 81a7f6f621 Fix unixmode to handle setuid and sticky when file is not an executable (#20366) 2023-10-11 23:54:54 +00:00
Dongbo Wang 109c2425ac Bump PSReadLine from 2.2.6 to 2.3.4 (#20305) 2023-10-03 11:28:44 -07:00
Steve Lee 9ebeca3d6e Fix implicit remoting proxy cmdlets to act on common parameters (#20367) 2023-09-26 16:07:00 -07:00
Ikko Eltociear Ashimine 78cbbc3a02 Fix typo in FileCatalog.Tests.ps1 (#20329)
existant -> existent
2023-09-26 08:27:28 +05:00
James Truher [MSFT] 77e8021256 Set experimental features to stable for 7.4 release (#20285) 2023-09-22 17:01:22 -07:00
Armaan Mcleod 2a7384cc71 Include Module Version in error messages when module is not found (#20144) 2023-09-12 21:59:29 +05:00
James Truher [MSFT] 3f3d79d475 Continued improvement to tests for release automation (#20182) 2023-09-06 10:36:48 -07:00
Aditya Patwardhan ddb3b5ff4c Skip the test on x86 as InstallDate is not visible on Wow64 (#20165) 2023-08-29 12:46:53 -07:00
James Truher [MSFT] a469783e76 Harden some problematic release tests (#20155) 2023-08-28 10:55:25 -07:00
CarloToso 344ac7b08a New-Guid add -Empty and -InputObject parameters (#20014) 2023-08-28 09:33:55 -07:00
MartinGC94 050873fc28 Prevent fallback to file completion when tab completing type names (#20084) 2023-08-21 10:56:55 -07:00
Thomas Nieto 39513bb3fb Remove parenthesis for empty attribute parameters (#20087) 2023-08-21 10:11:55 -07:00
James Truher [MSFT] 046301b716 Additional test hardening for tests which fail in release pass. (#20093) 2023-08-16 11:28:59 -07:00
James Truher [MSFT] 7b3e5444de Don't use a completion which has a space in it (#20064) 2023-08-01 18:07:37 -07:00
MartinGC94 0502da7109 Fix dynamic parameter completion (#19510) 2023-07-31 17:52:50 -07:00
Frode Flaten ced79cd1a1 Use OrdinalIgnoreCase to lookup script breakpoints (#20046) 2023-07-31 17:45:49 -07:00
stevenebutler 3710671c16 Guard against null or blank path components when adding to module path (#19922) 2023-07-31 11:00:27 -07:00
Ikko Eltociear Ashimine 0beea512eb Fix typo in Logging.Tests.ps1 (#20048) 2023-07-31 10:37:28 -07:00