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
Jordan Borean
1e07bd0cb5
Add error for Get-PSSession -ComputerName on Unix ( #21009 )
2024-12-05 16:26:57 +05:00
Jordan Borean and Ilya
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 Borean and Ilya
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
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
PowerShell Team Bot
c2f1ff00ae
Bump .NET 9 and dependencies ( #24573 )
2024-11-12 15:57:38 -08:00
Jordan Borean
ba238808fb
Support PSObject wrapped values in ArgumentToEncodingTransformationAttribute ( #24555 )
2024-11-12 08:41:22 +05:00
PowerShell Team Bot and Travis 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
alerickson and Aditya Patwardhan
c2dd2c0202
Update PSResourceGet to v1.1.0-RC2 ( #24512 )
...
* Update PSResourceGet to v1.1.0-RC2
* Fix windows packaging
* Update windows bom
* Update version string to be lowercase
---------
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com >
2024-10-31 07:27:47 +00:00
PowerShell Team Bot
01ae632636
Update package references ( #24414 )
2024-10-11 19:08:14 +00:00
Dongbo Wang
1a39e4e8e1
Update PSReadLine to 2.3.6 ( #24380 )
2024-10-03 15:09:24 -07:00
alerickson
669d9e384e
Update Microsoft.PowerShell.PSResourceGet to 1.1.0-preview2 ( #24300 )
2024-09-23 14:58:24 -07:00
Jordan Borean
3e3d83cfa4
Treat large Enum values as numbers in ConvertTo-Json ( #20999 )
2024-09-19 17:24:20 +00:00
Dongbo Wang
0b3709b1e1
Remove the MD5 branch in the strong name signing token calculation ( #24288 )
2024-09-17 17:09:53 -07:00
James Truher [MSFT]
4fdc02b698
Add telemetry to track the use of features ( #24247 )
2024-09-16 16:28:19 -07:00
Aditya Patwardhan
9303de597d
Bump .NET 9 to 9.0.100-rc.1.24452.12 ( #24273 )
2024-09-12 12:10:07 -07:00
Dongbo Wang
7e27e63456
Handle global tool specially when prepending PSHome to PATH ( #24228 )
2024-09-10 13:01:27 -07:00
Steve Lee
4a47d3582e
Fix how processor architecture is validated in Import-Module ( #24265 )
2024-09-10 12:59:40 -07:00
Ikko Eltociear Ashimine
b428e1a393
Fix typos in ShowModuleControl.xaml.cs ( #24248 )
2024-09-09 12:28:03 -07:00
Steve Lee
ecb2ea6d44
Make features PSCommandNotFoundSuggestion, PSCommandWithArgs, and PSModuleAutoLoadSkipOfflineFiles stable ( #24246 )
2024-09-09 11:19:09 -07:00
MartinGC94
22e8fed058
Write type data to the pipeline instead of collecting it ( #24236 )
2024-09-05 10:01:18 +05:00
Steve Lee
9ceae0c544
Add support to Get-Error to handle BoundParameters ( #20640 )
...
* Add support to `Get-Error` to handle BoundParameters
* sort the keys
* change to generalize for all dictionaries
* address Patrick's comment to generalize and use one codepath for dictionaries
* address codefactor
2024-08-26 19:25:16 -04:00
Steve Lee
59bce18372
Fix Get-FormatData to not cast a type incorrectly ( #21157 )
2024-08-26 13:32:09 -07:00
Dongbo Wang
5bcda5d060
Update the URLs used in nuget.config files ( #24203 )
2024-08-23 22:25:23 +00:00
Ilya
5153f9ba63
Replace PSVersion source generator with incremental one ( #23815 )
2024-08-19 21:45:45 -07:00
SpyGod
be59e5e80e
Delay progress bar in Copy-Item and Remove-Item cmdlets ( #24013 )
2024-08-20 08:18:58 +05:00
Armaan Mcleod
07f0798026
Add -Force parameter to Resolve-Path and Convert-Path cmdlets to support wildcard hidden files ( #20981 )
...
* Added -Force parameter to Resolve-Path
* Added -Force parameter to Convert-Path
* Added tests
* Handle hidden file prefix for unix
* Use OS automatic variables and cleanup test setup code
* Add missing file prefix
2024-08-19 18:16:32 -07:00
Steve Lee
5eacbadb66
Use host exe to determine $PSHOME location when SMA.dll location is not found ( #24072 )
2024-08-19 23:13:50 +00:00
Steve Lee
ba043c4c27
Fix Test-ModuleManifest so it can use a UNC path ( #24115 )
2024-08-19 15:40:31 -07: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
alerickson
8c98b5cf60
Bump PSResourceGet to 1.1.0-preview1 ( #24129 )
2024-08-14 14:50:54 -07:00
Travis Plunk and James 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
Snowman-25
9456685252
Change type of LineNumber to ulong in Select-String ( #24075 )
2024-08-08 08:53:19 +05:00
Justin Chung
13e9aac36f
Fix Invoke-RestMethod to allow -PassThru and -Outfile work together ( #24086 )
2024-08-05 12:23:47 -07:00
Dongbo Wang
d173d8c2b5
Minor cleanup on local variable names within a method ( #24105 )
2024-08-05 11:41:07 -07:00
Jordan Borean
c9bd109686
Fix Hyper-V Remoting when the module is imported via implicit remoting ( #24032 )
2024-08-01 11:19:47 -07:00
Travis Plunk
8a8f2d4b23
Make Microsoft feeds the default ( #24098 )
2024-07-31 19:41:15 +00: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
Justin Chung
9995125454
Add OutFile property in WebResponseObject ( #24047 )
2024-07-23 21:04:20 +00:00
jshigetomi
666fdb5d5a
Show file name in Invoke-WebRequest -OutFile -Verbose ( #24041 )
2024-07-17 08:00:42 +05:00