Commit Graph

10727 Commits

Author SHA1 Message Date
dependabot[bot]
963a4bd09b
Bump github/codeql-action from 3.25.13 to 3.25.15 (#24095) 2024-07-30 13:15:25 -07:00
dependabot[bot]
3529c6fb1a
Bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#24096) 2024-07-30 13:15:04 -07:00
Justin Grote
5ae0fbd547
RecommendedAction: Explicitly start and stop ANSI Error Color (#24065) 2024-07-29 16:52:11 -07:00
Armaan Mcleod
b39b5f4252
Add ConvertTo-CliXml and ConvertFrom-CliXml cmdlets (#21063) 2024-07-26 22:12:44 +05:00
Aditya Patwardhan
69dce1201f
Update metadata.json for PowerShell July releases (#24082) 2024-07-24 11:13:29 -07:00
Justin Chung
9995125454
Add OutFile property in WebResponseObject (#24047) 2024-07-23 21:04:20 +00:00
dependabot[bot]
1f84053ebf
Bump github/codeql-action from 3.25.12 to 3.25.13 (#24069) 2024-07-22 16:18:45 -07:00
dependabot[bot]
8016daadda
Bump actions/dependency-review-action from 4.3.3 to 4.3.4 (#24046) 2024-07-18 11:15:29 -07:00
dependabot[bot]
54e8b8bc9c
Bump github/codeql-action from 3.25.11 to 3.25.12 (#24053) 2024-07-18 11:15:16 -07:00
jshigetomi
666fdb5d5a
Show file name in Invoke-WebRequest -OutFile -Verbose (#24041) 2024-07-17 08:00:42 +05:00
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
Aditya Patwardhan
390a341a61
Add macos signing for package files (#24015)
* Sign macos packages

* Fix typo

* Add variables

* Remove signing cert

* Update signing

* Add signing cert

* Add uncompress

* Add variable group

* Download signed macos packages
2024-07-11 10:58:46 -07:00
dependabot[bot]
895f44623a
Bump agrc/reminder-action from 1.0.13 to 1.0.14 (#24042) 2024-07-11 10:04:58 -07:00
dependabot[bot]
4bddb33c1e
Bump agrc/create-reminder-action from 1.1.14 to 1.1.15 (#24043) 2024-07-11 10:04:46 -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
dependabot[bot]
1ed378175e
Bump agrc/create-reminder-action from 1.1.13 to 1.1.14 (#24029) 2024-07-09 10:54:48 -07:00
dependabot[bot]
1ed0ec4b28
Bump agrc/reminder-action from 1.0.12 to 1.0.13 (#24028) 2024-07-09 10:54:24 -07:00
dependabot[bot]
48cc6eb17d
Bump super-linter/super-linter from 6.6.0 to 6.7.0 (#24030) 2024-07-09 10:54:11 -07:00
Steve Lee
2d83b95539
Fix Move-Item to throw error when moving into itself (#24004) 2024-07-08 23:53:17 +00:00
dependabot[bot]
ed843f0e0c
Bump actions/upload-artifact from 4.3.3 to 4.3.4 (#24019) 2024-07-08 15:47:54 -07: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
Subham Bose
4a0decbc3c
Update install-powershell.sh to support azure-linux (#23955) 2024-07-01 12:52:07 -07:00
Aditya Patwardhan
dbb17afcb2
Skip build steps that do not have exe packages (#23945) 2024-07-01 11:36:04 -07:00
Ikko Eltociear Ashimine
8c5a72522a
Fix a typo in WebRequestSession.cs (#23963)
minor fix
2024-07-01 11:22:05 -07:00
dependabot[bot]
8ec223895d
Bump github/codeql-action from 3.25.10 to 3.25.11 (#23999) 2024-07-01 11:16:53 -07:00
Armaan Mcleod
ec3840d6a1
Add IgnoreComments and AllowTrailingCommas options to Test-Json cmdlet (#23817) 2024-06-24 13:03:22 +05:00
Aditya Patwardhan
121303e334
Update metadata.json for PowerShell June releases (#23973) 2024-06-19 15:23:33 -07: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
dependabot[bot]
47e804a8c2
Bump actions/checkout from 4.1.6 to 4.1.7 (#23947) 2024-06-17 15:54:25 -07:00
dependabot[bot]
b8e3ee5261
Bump github/codeql-action from 3.25.8 to 3.25.10 (#23953) 2024-06-17 12:41:09 -07:00
Andy Jordan
7ec8e4ed8f
Update Code of Conduct and Security Policy (#23811)
Updates the readme, code of conduct and security policy per OSPO request.
2024-06-14 23:44:39 +00:00
Aditya Patwardhan
bd8b0bd421
Create powershell.config.json for PowerShell.Windows.x64 global tool (#23941) 2024-06-12 16:47:36 -07:00
James Truher [MSFT]
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
Travis Plunk
7108ae0027
Fix error in the vPack release, debug script that blocked release (#23904)
* Update PowerShell-vPack-Official.yml for Azure Pipelines

* Merged PR 31369: fix version override parameter

- change default value of override version parameter to make actually optional
- eliminate redundant version override variable and use parameter directly

* Fix condition

* remove trailing spaces

* remove other syntax issue

---------

Co-authored-by: Tess Gauthier <tessgauthier@microsoft.com>
2024-06-10 21:22:55 +00:00
dependabot[bot]
7794503b72
Bump actions/dependency-review-action from 4.3.2 to 4.3.3 (#23897) 2024-06-10 10:24:07 -07:00
dependabot[bot]
875c6d0d23
Bump super-linter/super-linter from 6.5.1 to 6.6.0 (#23894) 2024-06-10 10:23:43 -07:00
dependabot[bot]
3f32e915c1
Bump github/codeql-action from 3.25.6 to 3.25.8 (#23893) 2024-06-10 10:23:23 -07:00
Steve Lee
2cb55e359f
Update working-group-definitions.md for the Security WG (#23884) 2024-06-10 10:22:59 -07:00
Tess Gauthier
2018c16df0
Add vPack release (#23898) 2024-06-06 10:02:35 -07: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
Aditya Patwardhan
51b8e5d1da
Fix exe signing with third party signing for WiX engine (#23878) 2024-05-31 17:02:03 +00:00
Tess Gauthier
bfa3dbe20d
Update wix installation in CI (#23870) 2024-05-29 09:45:18 -07:00
Aditya Patwardhan
cdb7556d04
Add checkout to fix TSA config paths (#23865) 2024-05-28 14:35:29 -07:00
James Truher [MSFT]
76bca8f3b2
Fix up broken links in markdown files (#23863) 2024-05-28 14:02:42 -07: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