Commit Graph
362 Commits
Author SHA1 Message Date
PowerShell Team Bot 015b5cd801 Update build to use .NET SDK 10.0.100 (#26448) 2025-11-17 17:26:45 -08:00
Dongbo Wang 943257b247 Make some experimental features stable (#26348)
The following experimental features are made stable:
- PSNativeWindowsTildeExpansion
- PSRedirectToVariable
- PSSubsystemPluginModel
2025-10-30 14:26:03 -07:00
df8fe254b9 Update SDK to 10.0.100-rc.2.25502.107 (#26305)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-10-28 16:49:53 -07:00
ThioJoeandTravis Plunk 1b3a3215d2 Fix a few simple typos in comments and string outputs (#25805)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-10-23 09:09:26 +05:00
PowerShell Team BotandDongbo Wang a1b417691f Move PowerShell build to use .NET SDK 10.0.100-rc.1 (#26027)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2025-09-10 14:55:07 -07:00
PowerShell Team Bot 2fb12a31f3 Update PowerShell to use .NET SDK v10-preview.7 (#25876) 2025-08-20 14:38:09 -07:00
Dongbo Wang d68c15e743 Update PATH environment variable for package manager executable on Windows (#25847)
Implementation for PowerShell/PowerShell-RFC#391. A few implementation decisions:

1. Check the package manager list only once per process (**same as CMD**). So, changing the package manager list in registry doesn't affect a PowerShell session that is already running.

2. When detecting user/system PATH value changes, only check new items PREPENDED or APPENDED to the original string (**same as CMD**). The detection is made simple, which is not intended to detect complex changes to the user/system PATH.

3. The PATH update feature is disabled when the `Environment` provider is not available, or when the current session is restricted.
    - Both `Environment` provider and `IsSessionRestricted` are checked only once per PowerShell session.
    - Use `ConditionalWeakTable` to cache whether the feature is enabled or not for a given session.
    - We cannot use `thread-static` variable for the caching because it's possible for Runspace to reuse threads.
2025-08-20 12:53:59 -07:00
Patrick Meinecke c5f2446e69 Suppress false positive PSScriptAnalyzer warnings in tests and build scripts (#25864) 2025-08-19 11:51:38 +05:00
PowerShell Team Bot 5de50164c9 Update to .NET 10 Preview 6 (#25828) 2025-08-06 22:28:13 +00:00
Jordan Borean 4415386172 Improve the $using expression support in Invoke-Command (#24025)
Always use the v5.1 `$using:` logic when dealing with any connection type that is not based on the `WSManConnectionInfo`. This allows the caller to use the more advanced `$using` features like variables with special names, having `$using` vars inside sub scopes, and more. `WSMan` based connections might still communicate with older versions but as the oldest supported version is v3 on Server 2012. We don't need to keep the default as v2 (which has been deprecated) to support some of the newer features.
2025-08-04 16:31:30 -07:00
PowerShell Team BotandDongbo Wang 82f016ffe2 Move to .NET 10 preview 4 and update package references (#25602)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2025-06-03 09:50:33 -07:00
Dongbo Wang f53865d1a4 Fix the isolated module test that was disabled previously (#25420) 2025-05-03 16:51:51 -07:00
68a5fdba3d Update to .NET 10.0.100-preview.3 (#25358)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
2025-04-17 20:27:30 +00:00
PowerShell Team BotandTravis Plunk 94a37db4cb Update .NET SDK to 10.0.100-preview.2 (#25225)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-03-24 21:06:42 +00:00
Aditya Patwardhan eef334de1b Bump .NET to 10 preview.1 (#25154) 2025-03-19 15:48:08 -07:00
PowerShell Team BotandTravis Plunk 6d6515b7e4 Update branch for release - Transitive - false - none (#24995)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-02-12 12:21:42 -06:00
xtqqczze f22ad2e384 Set LangVersion compiler option to 13.0 in Test.Common.props (#24621) 2025-02-08 07:24:31 +00:00
PowerShell Team BotandAditya Patwardhan 9935033b0f Update outdated package references (#24758)
* Update package references

* Update cgmanifest

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2025-01-16 20:55:30 +00:00
PowerShell Team Bot e7311eb08c Update outdated package references (#24580) 2025-01-06 14:03:20 -08:00
xtqqczze 060cbe3412 Set LangVersion compiler option to 13.0 (#24617) 2024-11-26 08:44:05 +05:00
PowerShell Team Bot c2f1ff00ae Bump .NET 9 and dependencies (#24573) 2024-11-12 15:57:38 -08:00
PowerShell Team BotandTravis Plunk 7db6a70b56 [master] Update branch for release (#24534)
* Update package references

* Update cgmanifest

* Update IsolatedModule.Tests.ps1

---------

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2024-10-31 15:15:28 -07:00
Aditya Patwardhan 4b40e5f60e Revert "Update package references (#24414)" (#24532)
This reverts commit 01ae632636.
2024-10-31 13:29:49 -07:00
Travis Plunk adac4c7117 Add a way to use only NuGet feed sources (#24528)
* Update build.psm1

* update default feeds

* fix issue with cgmanifest having duplicate existing entries

* update pattern
2024-10-31 20:13:04 +00:00
PowerShell Team Bot 01ae632636 Update package references (#24414) 2024-10-11 19:08:14 +00:00
Jordan Borean 3e3d83cfa4 Treat large Enum values as numbers in ConvertTo-Json (#20999) 2024-09-19 17:24:20 +00:00
Aditya Patwardhan 9303de597d Bump .NET 9 to 9.0.100-rc.1.24452.12 (#24273) 2024-09-12 12:10:07 -07:00
Travis PlunkandDongbo Wang 3097c1862e Update and add new NuGet package sources for different environments. (#24264)
* Update nuget.config

* Update build.psm1

* Update build.psm1

---------

Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2024-09-10 19:41:53 +00:00
Travis Plunk 5919a249a1 Fixes to Azure Public feed usage (#24149)
* Fix code PATs

* Fix feed PATs

* remove gallery commit

* update feed url

* Update to new variable groups

* Fix Variable name

* Fix credential template

* Disable Signing setup in prep stage

* Capture nuget source list

* lock down the firewall

* Add creds to feed switch to allow single switch location

* Use switch from build.psm1

* Use switch template instead of commands

* update to test feed

* disable codeql in jobs where we don't compile

* disable code sign validation for prep

* move capture steps to restore phase to see if it speeds things up

* remove duplicate capture of nuget config

* update test service

* Only build windows test service on windows

* warn when no config is generated

* try to fix test service

* fix web listener refs

* try removing dotnet tool

* update feedname with user info

* update package version that is not found

* try moving failing jobs to restore phase

* allow nuget inset in either phase

* update package ref

* use the right reporoot

* Move everything to restore

* Try adding build phase

* put nuget files in the right place

* move bootstrap into yaml

* remove onebranch agent items from macos build

* switch to environment variable

* bump a couple of packages

* fix formatting

* Fix static analysis issue

* update feed url to test restoring everything

* install the AzFeed cred provider

* fix binlog issues
2024-08-15 09:06:29 -07:00
Travis PlunkandJames Truher [MSFT] c11e4cf0d1 Move to 9.0.0-preview.6.24327.7 (#24133)
---------

Co-authored-by: James Truher [MSFT] <jimtru@microsoft.com>
2024-08-13 10:18:39 -07:00
Travis Plunk 8a8f2d4b23 Make Microsoft feeds the default (#24098) 2024-07-31 19:41:15 +00:00
James Truher [MSFT] 0be73f1a42 Add debugging to the MTU size test (#21463) 2024-05-21 13:45:07 -07: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
Aditya Patwardhan a145f47787 Bump to .NET 9 Preview 1 (#21229) 2024-02-16 03:15:11 +00: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
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
Travis Plunk 687383bcc1 Block getting help from network locations in restricted remoting sessions (#20593) 2023-10-31 16:06:15 -07:00
Aditya Patwardhan 5b05198d4f Fix package version for .NET nuget packages (#20551) 2023-10-20 10:29:53 -07:00
Aditya Patwardhan 17930e5e45 Bump to .NET 8 RC2 (#20510) 2023-10-18 18:10:25 +00:00
Aditya Patwardhan 242af6adb5 Fix the release build by moving to the official .NET 8-rc.1 release build version (#20333) 2023-09-25 09:28:14 -07:00
Aditya Patwardhan f71404d834 Update .NET SDK to version 8.0.100-rc.1.23455.8 (#20269) 2023-09-20 14:33:49 -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
Aditya Patwardhan ddf40db675 Bump to .NET 8 Preview 7 (#20092) 2023-08-09 10:47:09 -07:00
Steve Lee e97105bf7d Move build to .NET 8 preview 6 (#19991) 2023-08-07 21:30:33 +00:00
CarloToso e8ce6a5b1f Support Unix-Socket in WebCmdlets (#19343) 2023-07-24 16:44:32 -07:00
Sean Wheeler 5595072568 Change docs.microsoft.com to learn.microsoft.com (#19994) 2023-07-17 15:54:17 -07:00
Aditya Patwardhan ebe0b54340 Update to .NET 8 Preview 4 (#19696) 2023-06-21 15:17:22 -07:00
stevenebutler d614858550 WebCmdlets: Rename -TimeoutSec to -ConnectionTimeoutSeconds (with alias) and add -OperationTimeoutSeconds (#19558) 2023-06-19 15:07:16 -07:00
James Truher [MSFT] ba0de3b4fe Add some debugging to the transcript test for SilentlyContinue (#19770) 2023-06-12 17:03:53 -07:00