Commit Graph
9201 Commits
Author SHA1 Message Date
Hong Minhee (洪 民憙) ae38dad04f Let macOS installer run without Rosetta on Apple Silicon (#16742) 2022-01-24 09:37:56 -08:00
Brannen Hall 0302b1f48e Support OpenSSH options for PSRP over SSH commands (#12802)
Add an -Options parameter to Invoke-Command and Start-PSSession to pass SSH options

Options parameter added to Invoke-Command
Options parameter added to Start-PSSession
Options parameter added to Enter-PSSession
Options parameter added to SSHConnection Hashtable
2022-01-22 11:59:58 +05:00
xtqqczze f83660e0e6 Seal ClientRemotePowerShell (#15802)
Seal `System.Management.Automation.Runspaces.Internal.ClientRemotePowerShell

Simplify IDisposable implementation
2022-01-21 18:54:16 +05:00
hammy3502 3eca7c019e Adds a .ResolvedTarget Property to File-System Items to Reflect a Symlink's Target as FileSystemInfo (#16490) 2022-01-21 09:23:11 +05:00
Aditya Patwardhan 2c2722984d Update the expect .NET SDK quality to GA for installing dotnet (#16784) 2022-01-20 15:15:43 -08:00
Dongbo Wang ee9097602d Update Engine Working Group members (#16780) 2022-01-20 12:28:41 -08:00
Dongbo Wang 8f0fc9e43a Replace the broken link about pull request (#16771) 2022-01-18 15:58:11 -08:00
Dongbo Wang 186d6be47d Use NotifyEndApplication to re-enable VT mode (#16612)
Use NotifyEndApplication to re-enable VT mode instead of doing it in InputLoop.Run, so that we run this code only after invoking native commands
2022-01-14 09:07:06 +05:00
Mathias R. Jessen 686c84cccc Add new parameter to Start-Sleep: [-Duration] <timespan> (#16185) 2022-01-13 17:39:54 -08:00
Sergey ZalyadeevandSergey Zalyadeev da7c52a52f Add lock and null check to remoting internals (#16542) (#16683)
* fix crash Copy-Item to remote session (#16542)

* update comments

* remove lock (#16542)

Co-authored-by: Sergey Zalyadeev <sergey.zalyadeev@cayosoft.com>
2022-01-13 12:28:03 -08:00
KiwiThePoodle 83a809b1f0 Make Measure-Object ignore missing properties unless running in strict mode (#16589) 2022-01-13 09:33:43 -08:00
Steve Lee 87b61a0452 remove assert that is incorrect and affecting our tests (#16588) 2022-01-12 15:08:47 -08:00
Thomas-Yu ed6e0588c8 Add -StrictMode to Invoke-Command to allow specifying strict mode when invoking command locally (#16545) 2022-01-12 11:17:02 -08:00
Dongbo Wang cce64f49de Report error when PowerShell built-in modules are missing (#16628) 2022-01-12 10:02:03 -08:00
Dongbo Wang 1cb3553349 Update change log to remove a broken URL (#16735) 2022-01-12 00:29:35 -08:00
Steve Lee 0f21156dee Fix $PSNativeCommandArgPassing = Windows to handle empty args correctly (#16639) 2022-01-11 23:21:32 -08:00
Keith Hill e2f39fa0eb Reduce the amount of startup banner text (#16516) 2022-01-10 15:08:00 -08:00
Steve Lee 2e8009bf72 Change nuget release yaml to use UseDotNet task (#16701) 2022-01-04 16:16:53 -08:00
Steve Lee a9b14a13fd Add exec cmdlet for bash compatibility (#16462) 2022-01-04 14:09:27 -08:00
Paul Higinbotham 0834c65877 Add AMSI method invocation logging as experimental feature (#16496)
* Add AMSI method invocation logging as experimental feature

* Add fix for value type errors in logging expression

* Fix recursion error
2022-01-04 08:30:14 -08:00
dependabot[bot] 9b8916fe5a Bump Microsoft.ApplicationInsights from 2.19.0 to 2.20.0 (#16642) 2022-01-03 16:25:15 -08:00
Steve Lee 7a2b44523b Fix web cmdlets so that an empty Get does not include a content-length header (#16587) 2022-01-03 11:20:33 -08:00
Sean Wheeler bf8a13908d Update HelpInfoUri for 7.3 release (#16646) 2022-01-03 11:15:07 -08:00
Travis Plunk 6c22065d77 Register NuGet source when generating CGManifest (#16570)
* Register nuget source

* update cgmanifest
2021-12-20 11:26:27 -08:00
Travis Plunk 67faa4888b Update Images used for release (#16580) 2021-12-18 12:09:19 -08:00
Travis Plunk a3788b0de0 Update SBOM generation (#16641) 2021-12-17 11:28:14 -08:00
Joey Robichaud b7ce3c568c Fix parsing SemanticVersion build label from version string (#16608) 2021-12-17 09:39:26 -08:00
Travis PlunkandAditya Patwardhan 3e3c56f674 Bring changes from 7.3.0-preview.1 (#16640)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2021-12-16 14:49:33 -08:00
Andrew 1d1e42fd1a Merge branch 'master' into BringChangesFrom730P1 2021-12-16 13:45:37 -08:00
Andrew Menagarishvili c8f32fc52c Merged PR 18465: Changelog for v7.3.0-preview.1
Changelog for v7.3.0-preview.1
2021-12-16 13:40:38 -08:00
Aditya Patwardhan 2b550d2f69 Check for feed value before registering 2021-12-16 13:40:19 -08:00
Andrew Menagarishvili 3f1c03d494 Merged PR 18449: Change default for $PSStyle.OutputRendering to Ansi
Cherry picked from !18333

Cherry-picked from commit `5cb8a2b3`.
2021-12-16 13:39:56 -08:00
Andrew 083df00354 Updated README.md and metadata.json for v7.3.0-preview.1 release (#16627) 2021-12-16 12:12:09 -08:00
Dongbo Wang 6662e21cb6 Fix the DSC overview URL in a markdown file and some small cleanup changes (#16629) 2021-12-15 16:38:37 -08:00
Andrew 6b06625cc6 Updating changelog for 7.2.1 (#16616) 2021-12-14 15:20:13 -08:00
Andrew d4bad46e61 Updated README.md and metadata.json for 7.2.1 release (#16586) 2021-12-14 10:40:09 -08:00
Paul Higinbotham cadd5762ea Fix ForEach-Object -Parallel when passing in script block variable (#16564)
ForeEach-Object -Parallel using variable processing walks the script block AST to determine if the using variable was defined in the current scope, and does this by tracking the number of 'ForEach-Object -Parallel' commands in the call chain.
However, the provided script block is different, depending on whether it is passed in as a variable or via parameter binding.

$myScript = '"Hello!"'
1 | ForEach-Object -Parallel ([scriptblock]::Create($myScript))
# Script block Ast does not contain the 'ForEach-Object' command in the call chain

1 | ForEach-Object -Parallel { "Hello!" }
# Script block Ast does contain the 'ForEach-Object' command in the call chain

This change takes into account the two forms of script blocks
2021-12-14 08:11:19 +05:00
Aditya Patwardhan a54b9a2c44 Update the vmImage and PowerShell root directory for macOS builds (#16611) 2021-12-13 16:13:17 -08:00
Aditya Patwardhan bb7e0e3ba9 Update macOS build image and root folder for build (#16609) 2021-12-13 13:57:07 -08:00
Andrew 7bebf442af Disabled Yarn cache in markdown.yml (#16599) 2021-12-10 16:24:44 -08:00
Travis Plunk 4a11a205cf update cgmanifest (#16600) 2021-12-10 14:38:52 -08:00
Travis Plunk 6f2737238a Fix broken links in markdown (#16598)
* Update coding-guidelines.md

* Update coding-guidelines.md
2021-12-10 14:35:40 -08:00
Aditya Patwardhan f0cf95ce67 Add explicit job name for approval tasks in Snap stage (#16579) 2021-12-08 16:11:58 -08:00
Steve Lee 4f546551f5 Remove declaration of experimental features in Utility module manifest as they are stable (#16460) 2021-12-07 12:24:31 -08:00
Travis Plunk f922883757 Set clean state before testing UseMU in the MSI (#16543) 2021-12-06 21:18:44 +00:00
Aditya Patwardhan 2d27da40d8 Bring back pwsh.exe for framework dependent packages to support Start-Job (#16535)
* Bring back pwsh.exe for framework dependent packages to support Start-Job

* Update wix file

* Add release tests for fxd packages

* Fix tests

* Fix stage dependencies

* Address CR comments

* Fix typo

* Add value for the hashtable item
2021-12-02 15:05:54 -08:00
Bar Arnon 1920b1b6ea Fix race condition between DisconnectAsync and Dispose (#16536) 2021-12-02 23:25:12 +05:00
Paul Higinbotham 64d2fe26f3 Fix PSVersion parameter version checks and error messages for PowerShell 7 remoting (#16228) 2021-12-01 15:54:25 -08:00
Matt Gucci c2966acfd5 Fix PowerShell/PowerShell#13201 (#16416) 2021-11-30 11:23:42 -08:00
Aditya Patwardhan 40837dd860 Fix NuGet package generation in release build (#16509) 2021-11-23 14:36:11 -08:00