Jordan Borean
588dff61a1
Fix the error when using Start-Process -Credential without the admin privilege ( #21393 )
2024-04-15 10:34:52 -07:00
alerickson
9fe339bb3c
Update PSResourceGet version from 1.0.2 to 1.0.4.1 ( #21439 )
2024-04-05 15:38:59 -07:00
Dongbo Wang
1a52a93345
Add back two transitive dependency packages ( #21415 )
2024-04-04 11:41:00 -07:00
Aditya Patwardhan
94d623169a
Multiple fixes in official build pipeline ( #21408 )
2024-04-03 15:06:04 -07:00
Dongbo Wang
dafe0a803c
Update PSReadLine to v2.3.5 for the next v7.4.x servicing release ( #21414 )
2024-04-03 13:57:07 -07:00
Ikko Eltociear Ashimine
9187ece875
Fix typo in SessionStateCmdletAPIs.cs ( #21413 )
...
hte -> the
2024-04-03 21:51:40 +05:00
Steve Lee
371ceff3b5
Fix Test-Path -IsValid to check for invalid path and filename characters ( #21358 )
2024-04-02 09:42:40 -07:00
Aditya Patwardhan
61aeb56ab7
Fix build failure due to missing reference in GlobalToolShim.cs ( #21388 )
2024-03-28 10:07:40 -07:00
Friedrich von Never
ff3c847898
Fix argument passing in GlobalToolShim ( #21333 )
2024-03-26 13:58:57 -07:00
Dongbo Wang
171d9dfa71
Revert the PR #17856 (Do not preserve temporary results when no need to do so) ( #21368 )
2024-03-25 14:09:11 -07:00
Dongbo Wang
ad7278bbff
Make sure the assembly/library resolvers are registered at early stage ( #21361 )
2024-03-21 16:25:12 -07:00
Ikko Eltociear Ashimine
a332481d7e
Fix typo in ast.cs ( #21350 )
...
statment -> statement
2024-03-21 08:20:15 +05:00
Patrick Meinecke
4faf52726d
Make sure both stdout and stderr can be redirected from a native executable ( #20997 )
2024-03-14 11:42:30 -07:00
Dongbo Wang
d67a82d833
Handle the case that Runspace.DefaultRunspace is null when logging for WDAC Audit ( #21344 )
2024-03-14 11:39:25 -07:00
Dongbo Wang
4e357f129e
Fix PowerShell class to support deriving from an abstract class with abstract properties ( #21331 )
2024-03-13 14:44:57 -07:00
dependabot[bot]
bc07fc1395
Bump Microsoft.CodeAnalysis.Analyzers ( #21305 )
2024-03-05 10:13:07 -08:00
Jordan Borean
4e2682920a
Get-Process: Remove admin requirement for -IncludeUserName ( #21302 )
2024-03-04 21:48:19 -08:00
MartinGC94
aa97c515c8
Fall back to type inference when hashtable key value cannot be retrieved from safe expression ( #21184 )
2024-03-04 15:55:23 -08:00
Patrick Meinecke
1dc2ebe5bc
Fix error formatting for pipeline enumeration exceptions ( #20211 )
2024-03-04 12:58:06 -08:00
dependabot[bot]
6f0c9a58aa
Bump Microsoft.CodeAnalysis.CSharp from 4.9.0-3.final to 4.9.2 ( #21298 )
2024-03-04 12:47:43 -08:00
dependabot[bot]
5e9a3b9eeb
Bump Microsoft.CodeAnalysis.Analyzers ( #21297 )
2024-03-04 12:00:25 -08:00
xtqqczze
0e106faafe
Enable CA1868: Unnecessary call to 'Contains' for sets ( #21165 )
...
https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1868
2024-02-29 22:56:22 +05:00
xtqqczze
c3594c5969
Remove JetBrains.Annotations attributes ( #21246 )
2024-02-27 15:12:46 -08:00
Jordan Borean
fcf4953c3b
ConvertTo-Json: Serialize BigInteger as a number ( #21000 )
2024-02-27 14:52:58 -08:00
MartinGC94
338d1dcfa1
Fix the regression when doing type inference for $_ ( #21223 )
2024-02-26 15:11:19 -08:00
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
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
Ikko Eltociear Ashimine
0393ef261a
Fix a typo in CoreAdapter.cs ( #21179 )
2024-02-12 12:08:18 -08:00
Steve Lee
c7249c6adb
Remove PSScheduledJob module source code ( #21189 )
2024-02-12 12:05:06 -08:00
Dom Slee
c56a52b8c0
Add tilde expansion for windows native executables ( #20402 )
2024-02-12 09:58:27 -08:00
alerickson
95b56bea96
Update versions of PSResourceGet ( #21190 )
2024-02-10 12:45:57 -08:00
Dongbo Wang
3df0aa33b7
Fix incorrect examples in XML docs in PowerShell.cs ( #21173 )
2024-02-01 11:19:16 -08:00
Greg Dennis
2cfa84c04c
Bump JsonSchema.Net to v5.5.1 ( #21120 )
2024-02-01 09:58:07 -08:00
MartinGC94
7ad403962c
Add DirectoryInfo to the OutputType for New-Item ( #21126 )
2024-02-01 09:57:38 -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
Steven Bucher
31dfb6dd56
Add WinGetCommandNotFound and CompletionPredictor modules to track usage ( #21040 )
2024-01-18 11:15:29 -08:00
Dongbo Wang
8283ac05c3
Bump .NET SDK to 8.0.101 ( #21084 )
2024-01-17 11:53:01 -08:00
MartinGC94
9da657e3a8
Fix completion crash for the SCCM provider ( #20915 )
2024-01-16 16:56:13 -08:00
CarloToso
68204ae14f
Fix regression -Tail 0 -Wait ( #20734 )
2024-01-11 11:49:31 +05:00
dependabot[bot]
9cc5826026
Bump JsonSchema.Net from 5.4.2 to 5.5.0 ( #21027 )
2024-01-10 15:48:06 -08: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
Ikko Eltociear Ashimine
c3eedde84c
Fix typo in remotingexceptions.cs ( #21015 )
...
formating -> formatting
2024-01-07 10:32:57 +05: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