Commit Graph
10841 Commits
Author SHA1 Message Date
Justin ChungandJustin Chung a69452ebeb Update metadata.json (#24764)
* Updated metadata.json

* Added 7.6 to version checks

---------

Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2025-01-14 12:42:18 -06:00
Anam Navied af55292ca7 Update Microsoft.PowerShell.PSResourceGet to 1.1.0 (#24767) 2025-01-13 16:13:45 -08:00
Justin ChungandJustin Chung 311674b9a5 Add a parameter that skips verify packages step (#24763)
* added a parameter that skips verify packages step

* fix parameter string to boolean value

---------

Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2025-01-10 12:06:01 -08:00
Dongbo Wang e051748e9d Make the AssemblyVersion not change for servicing releases (#24667) 2025-01-08 11:47:30 -08:00
Justin ChungandJustin Chung 93d85f1865 Fixed release pipeline errors and switched to KS3 (#24751)
* Fixed an error in the release pipeline

* Fixed ReleaseTag and Version variable in validate
packages

* Switched from Netlock to KS3

---------

Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2025-01-08 19:35:12 +00:00
Steven Bucher 16e81a60b1 Add the AIShell module to telemetry collection list (#24747) 2025-01-07 10:50:31 -08:00
PowerShell Team Bot e7311eb08c Update outdated package references (#24580) 2025-01-06 14:03:20 -08:00
dependabot[bot] c29e9140bf Bump actions/upload-artifact from 4.4.3 to 4.5.0 (#24689) 2025-01-06 10:40:38 -08:00
Rich Lander d8513fc1ef Update .NET feed with new domain as azureedge is retiring (#24703) 2025-01-06 10:38:56 -08:00
Frode Flaten c0d7fb787f Add helper in EnumSingleTypeConverter to get enum names as array (#17785) 2025-01-03 01:08:23 +05:00
Ryan Yates 61e9f5dcc2 Return correct FileName property for Get-Item when listing alternate data streams (#18019) 2025-01-02 16:45:57 +05:00
MartinGC94 c066cd85aa Add ExcludeModule parameter to Get-Command (#18955) 2024-12-31 00:06:28 +05:00
MartinGC94 57dbde625f Update Named and Statement block type inference to not consider AssignmentStatements and Increment/decrement operators as part of their output (#21137) 2024-12-29 17:29:03 +05:00
Armaan Mcleod 10d1785030 Update DnsNameList for X509Certificate2 to use X509SubjectAlternativeNameExtension.EnumerateDnsNames Method (#24714) 2024-12-29 15:21:50 +05:00
MartinGC94 8cdb728b6b Add completion of modules by their shortname (#20330) 2024-12-28 13:20:26 +05:00
xtqqczze b74e708cb5 Seal ClientRemoteSessionDSHandlerImpl (#21218)
The motivation of this PR is this comment by @PaulHigin https://github.com/PowerShell/PowerShell/pull/11820#discussion_r452405592_.

_Contributes to #15110._
2024-12-28 08:25:21 +05:00
Armaan Mcleod b5fbe9e613 Fix Get-ItemProperty to report non-terminating error for cast exception (#21115) 2024-12-27 09:09:32 +05:00
Armaan Mcleod e127345820 Add -PropertyType argument completer for New-ItemProperty (#21117) 2024-12-25 17:27:44 +05:00
xtqqczze 8017195541 Seal internal type ClientRemoteSessionDSHandlerImpl (#24705)
* Seal internal type `ClientRemoteSessionDSHandlerImpl`

* Fix `CS0628: new protected member declared in sealed type`
2024-12-25 09:08:51 +05:00
xtqqczze b0fbfb74ce Seal classes in RemotingProtocol2 (#21164) 2024-12-24 11:25:08 +05:00
Aditya Patwardhan 617dbda8f4 Skip CIM ETS member test on older Windows platforms (#24681) 2024-12-19 10:10:17 -08:00
dependabot[bot] 0e62b7ae67 Bump super-linter/super-linter from 7.2.0 to 7.2.1 (#24678) 2024-12-16 15:52:25 -08:00
Justin ChungandJustin Chung 8217fe43d9 added justin chung as powershel team memeber on releaseTools.psm1 (#24672)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2024-12-13 13:20:37 -06:00
Brendan Burns 90b0149805 Fix a bug in how Write-Host handles XmlNode object (#24669) 2024-12-13 10:24:02 -08:00
dependabot[bot] a2ac229f8d Bump github/codeql-action from 3.27.7 to 3.27.9 (#24674) 2024-12-13 10:18:20 -08:00
Ryan Yates d4a789af85 Update cmdlets WG members (#24275) 2024-12-12 14:06:21 -08:00
dependabot[bot] 2398d28284 Bump super-linter/super-linter from 7.1.0 to 7.2.0 (#24604) 2024-12-12 13:27:37 -08:00
dependabot[bot] 0d0a4602f6 Bump actions/dependency-review-action from 4.4.0 to 4.5.0 (#24607) 2024-12-12 13:27:18 -08:00
dependabot[bot] 88fdadf399 Bump github/codeql-action from 3.27.6 to 3.27.7 (#24659) 2024-12-12 13:26:28 -08:00
Justin ChungandJustin Chung da6384ca36 updated tpn (#24666)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2024-12-12 11:55:53 -08:00
b4b283b819 Deploy Box Update (#24632)
* reverted one time changes

* added ob_outputDirectory

* added mscode variable group

* forgot to move psm1 to ToolArtifact folder

* added pipeline name and passing toolartifact through context

* added tools

* PSPackagesOfficial

* removed tools clone

* added uploading CL

* verbose statements for release tag and release version

* trying to regerence variable with step name

* checking REPOROOT

* removed get child item

* Deploy box update

* nuget template context pipeline name correction

* changed other instances of releasetag

* added -Verbose to Copy-Item

* checkout task, instead of git clone

* changed to Build.SourcesDirectory

* removed path specification

* removed path

* added tsa and credscan

* not copying tools to artifacts

* official and production

---------

Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2024-12-12 10:41:00 -08:00
MartinGC94 e489cec604 Remove Regex use 2024-12-12 11:17:44 -05:00
MartinGC94 1452374fbf Improve cim ETS member inference completion 2024-12-12 11:17:44 -05:00
Jordan Borean 7cc8a9ad32 Emit ProgressRecord in CLIXML minishell output
Instead of never emitting a ProgressRecord if stdout is redirected, continue to emit the CLIXML serialized record when pwsh was started with -OutputFormat xml regardless of redirection. This allows calling processes to receive the progress record from the spawned process when it captures the output.
2024-12-11 20:22:43 -05:00
Patrick Meinecke 36740ab4a2 Assign the value returned by the MaybeAdd method 2024-12-11 15:31:04 -05:00
Jordan Borean 294adb47f1 Add support for interface static abstract props
Add support for writing a PowerShell class that can implement an
interface that contains a static abstract property introduced in C# 11.
2024-12-10 14:02:11 -05:00
Jordan Borean 06e2093e8c Change call to optional add in the binder expression 2024-12-09 14:35:05 -05:00
Jordan Borean 89921dd500 Turn off AMSI member invocation on nix release builds
Turn off the AMSI member invocation logging for non-Windows release
builds. This is slightly more efficient as there's no extra work to
create the AMSI string.
2024-12-09 14:35:05 -05:00
dependabot[bot] 75961d5afb Bump github/codeql-action from 3.27.0 to 3.27.6 (#24639)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.0 to 3.27.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/662472033e021d55d94146f66f6058822b0b39fd...aa578102511db1f4524ed59b8cc2bae4f6e88195)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 10:19:54 -08:00
Jordan Borean 1e07bd0cb5 Add error for Get-PSSession -ComputerName on Unix (#21009) 2024-12-05 16:26:57 +05:00
Jordan BoreanandIlya 8aea111930 Update src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs
Co-authored-by: Ilya <darpa@yandex.ru>
2024-12-04 11:13:47 -05:00
Jordan BoreanandIlya ad8d13b2ac Apply suggestions from code review
Co-authored-by: Ilya <darpa@yandex.ru>
2024-12-04 11:13:47 -05:00
Jordan Borean 82341b0e3b Add remote runspace check for PushRunspace
Add explicit exception when attempting to call PushRunspace on a
runspace that is not remote. Instead of failing with a hard to
understand NullReferenceException an ArgumentException is raised with
information about what went wrong.
2024-12-04 11:13:47 -05:00
Matej Kafka b18eacaa83 Resolve symbolic link target relative to the symbolic link instead of the working directory (#15235) (#20943) 2024-12-03 15:00:00 -08:00
xtqqczze c24e8e4402 Set LangVersion compiler option to 13.0 (#24619) 2024-11-26 21:25:50 +05:00
Jordan Borean 22beba4a47 Fix up buffer management getting network roots (#24600)
Fixes the logic used when getting the PSDrive DisplayRoot for network PSDrive paths to exclude null terminators.
2024-11-26 11:59:34 +05:00
xtqqczze 060cbe3412 Set LangVersion compiler option to 13.0 (#24617) 2024-11-26 08:44:05 +05:00
Sean Wheeler a2b2d7e704 Update HelpInfoUri for 7.5 (#24610) 2024-11-22 09:58:44 -08:00
Aditya Patwardhan 7ca7aae1d1 Update metadata.json for PowerShell 7.5 RC1 release (#24589) 2024-11-15 16:15:00 -08:00
Aditya Patwardhan 5dbc3d564d Update nuget publish to use Deploy Box (#24596) 2024-11-15 15:44:12 -08:00