Jordan Borean
c107c9c66b
Set-Acl: Do not fail on untranslatable SID ( #21096 )
2024-07-15 18:33:41 -07:00
xtqqczze
2e93c18769
Remove explicit IDE1005 suppressions ( #21217 )
2024-07-15 16:11:58 -07:00
Dongbo Wang
dcf6754445
Fix the extent of the parser error when a number constant is invalid ( #24024 )
2024-07-09 10:55:25 -07:00
Steve Lee
2d83b95539
Fix Move-Item to throw error when moving into itself ( #24004 )
2024-07-08 23:53:17 +00:00
Jordan Borean
ecdf7805ca
Fix up .NET method invocation with Optional argument ( #21387 )
2024-07-01 15:46:39 -07:00
Jordan Borean
720f145e28
Fix progress calculation on Remove-Item ( #23869 )
2024-07-01 15:40:49 -07:00
CarloToso
86a7262a71
Fix WebCmdlets when -Body is specified but ContentType is not ( #23952 )
2024-07-01 15:35:23 -07:00
Jordan Borean
ab43c19390
Improve .NET overload definition of generic methods ( #21326 )
2024-07-01 14:03:01 -07:00
Steve Lee
908c325879
Enable -NoRestart to work with Register-PSSessionConfiguration ( #23891 )
2024-07-01 14:00:50 -07:00
Ikko Eltociear Ashimine
8c5a72522a
Fix a typo in WebRequestSession.cs ( #23963 )
...
minor fix
2024-07-01 11:22:05 -07:00
Armaan Mcleod
ec3840d6a1
Add IgnoreComments and AllowTrailingCommas options to Test-Json cmdlet ( #23817 )
2024-06-24 13:03:22 +05:00
Jordan Borean
6c66879c92
Optimize the += operation for a collection when it's an object array ( #23901 )
2024-06-17 16:23:04 -07:00
167a492415
Redirecting to a variable should be possible ( #20381 )
...
* add tests
* fix formatting issues
* Make redirection to variable an experimental feature.
Update test to check for experimental feature status.
Set-Variable will still have the -append parameter, but if used when the experimental feature is disabled, a parameter binding error will result.
* Check to be sure provider is not null.
* update to use different FullyQualifiedErrorId
* use Experimental attribute for append parameter rather than runtime check.
* Revert "update to use different FullyQualifiedErrorId"
This reverts commit 8b34af1ac19ecdb821b34534e446ab129830c92f.
* Update src/Microsoft.PowerShell.Commands.Utility/commands/utility/Var.cs
Co-authored-by: Ilya <darpa@yandex.ru >
* Move remediation steps into resource.
Update Set-Variable -Append to be correct when -name and -value are used.
Add tests for the new behavior in Set-Variable.
* Change expected error for contrained language mode and redirection.
* Update src/Microsoft.PowerShell.Commands.Utility/commands/utility/Var.cs
Co-authored-by: Ilya <darpa@yandex.ru >
* Support redirection of native app.
Add tests to validate.
* testexe needs proper case to run on linux.
* Address codefactor issues 01.
* Update src/System.Management.Automation/engine/runtime/Operations/MiscOps.cs
Co-authored-by: Steve Lee <slee@microsoft.com >
* Update src/Microsoft.PowerShell.Commands.Utility/commands/utility/Var.cs
Co-authored-by: Steve Lee <slee@microsoft.com >
* Update src/System.Management.Automation/engine/runtime/Operations/MiscOps.cs
Co-authored-by: Steve Lee <slee@microsoft.com >
---------
Co-authored-by: Ilya <darpa@yandex.ru >
Co-authored-by: Steve Lee <slee@microsoft.com >
2024-06-11 12:42:04 -04:00
James Truher [MSFT]
7f99fa1bf3
Get-Help may report parameters with ValueFromRemainingArguments attribute as pipeline-able ( #23871 )
...
* Remove FromRemainingArguments as an inputs indicator.
The parameter attribute FromRemainingArguments is not an indicator of pipeline input.
2024-06-03 21:20:55 +05:00
Dongbo Wang
f0bddbe21c
Merge the v7.5.0-preview.3 release branch to GitHub master branch
2024-05-28 13:33:31 -07:00
James Truher [MSFT]
0be73f1a42
Add debugging to the MTU size test ( #21463 )
2024-05-21 13:45:07 -07:00
Aditya Patwardhan
158ce70623
Merged PR 31196: Fix release version and stage issues in build and packaging
...
Fix release version and stage issues in build and packaging
2024-05-20 21:54:00 +00:00
alerickson
fc68b61d2f
Update PSResourceGet to 1.0.5 ( #23796 )
2024-05-13 15:57:03 -07:00
Armaan Mcleod
a284fd482b
Added progress bar for Remove-Item cmdlet ( #20778 )
2024-05-13 13:52:27 -04:00
Dongbo Wang
d564d0fff9
Bump to .NET 9 preview 3 ( #21782 )
2024-05-09 15:36:52 -07:00
Patrick Meinecke
467538ff9b
Fix generating OutputType when running in Constrained Language Mode ( #21605 )
2024-05-06 12:08:08 -07:00
Aditya Patwardhan
0fee36393f
Create the Windows.x64 global tool with shim for signing ( #21559 )
2024-05-03 13:16:02 -07:00
Steve Lee
5efd627e91
Expand ~ to $home on Windows with tab completion ( #21529 )
2024-04-24 16:03:11 -07:00
Aditya Patwardhan
e34a14322b
Revert to version available on Nuget for Microsoft.CodeAnalysis.Analyzers ( #21515 )
2024-04-23 11:17:34 -07:00
David Kontyko
fe38405b1d
Separate DSC configuration parser check for ARM processor ( #21395 )
2024-04-22 16:03:42 -07:00
Steve Lee and Steve Lee
4bcc3f41c0
Fix [semver] type to pass semver.org tests ( #21401 )
...
* Fix `[semver]` type to pass semver.org tests
* fix test to split per OS specific newline
* replace all regex with semver.org ones adding new one for build label, update tests
---------
Co-authored-by: Steve Lee (POWERSHELL HE/HIM) (from Dev Box) <slee@ntdev.microsoft.com >
2024-04-22 16:32:22 -04:00
MartinGC94
a8457f8631
Don't complete parameter name and class member declarations ( #21182 )
2024-04-15 15:52:37 -07:00
dependabot[bot]
5edab1c10a
Bump Microsoft.CodeAnalysis.Analyzers ( #21449 )
2024-04-15 10:48:28 -07:00
Justin Grote
7ad43292a8
Add RecommendedAction to ConciseView of the error reporting ( #20826 )
2024-04-15 10:35:23 -07:00
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