Commit Graph
9229 Commits
Author SHA1 Message Date
dependabot[bot]andTravis Plunk fbae40df83 Bump NJsonSchema from 10.5.2 to 10.6.9 (#16888)
* Bump NJsonSchema from 10.5.2 to 10.6.9

Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema) from 10.5.2 to 10.6.9.
- [Release notes](https://github.com/RicoSuter/NJsonSchema/releases)
- [Commits](https://github.com/RicoSuter/NJsonSchema/compare/v10.5.2...v10.6.9)

---
updated-dependencies:
- dependency-name: NJsonSchema
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update cgmanifest.json

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2022-02-16 11:01:54 -08:00
Aditya Patwardhan 77caf718cd Update projects and scripts to use .NET 7 preview 1 pre-release builds (#16856)
* Update script to consume .NET 7 builds

* Update target framework

* Add dotnet metadata override value

* Update dependencies

* Update analyzer

* Conditionally add output argument

* Update files.wxs

* Fix tests

* Update Microsoft.PowerShell.Native to 7.3.0-preview.1

* Disable psget tests

* Update to latest build for .NET 7 preview 1

* Disable ready to run

* Update version of `Microsoft.AspNetCore.Mvc.NewtonsoftJson` package

* Update cgmanifest and startup test
2022-02-16 09:56:41 -08:00
Paul Higinbotham add08d399f Add warning messages when package precheck fails (#16867) 2022-02-10 15:40:20 -08:00
ayousuf23andDongbo Wang a9a235d469 Prevent tab completion if the word to complete is a single dash (#16781)
* added code to prevent tab completion if the word to complete is a single dash

* added a test for testing tab completion if the word to complete is a single dash

* Minor update and add comment

Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2022-02-09 12:59:29 -08:00
Paul Higinbotham cf75ac58f7 Refactor Global Tool packaging to include SBOM generation (#16860)
* Refactor Global Tool packaging to include SBOM generation

* PR review comments, also fix verbose messages.
2022-02-09 09:03:39 -08:00
Steve Lee 7dd0c43fb3 Add newly joined members to their respective Working Groups (#16849) 2022-02-08 09:56:17 -08:00
Dongbo Wang 30eac0a11e Update to use windows-latest as the build agent image (#16831) 2022-02-07 17:34:52 -08:00
Ilya a5d41c2287 Use FindFirstFileW instead of FindFirstFileExW to correctly handle Unicode file names on FAT32 (#16840) 2022-02-05 07:13:14 -08:00
Aditya Patwardhan bcc1f10b67 Ensure alpine and arm SKUs have powershell.config.json file with experimental features enabled (#16823) 2022-02-04 15:21:42 -08:00
github-actions[bot] 434b238d1a Update experimental feature json files (#16838) 2022-02-03 17:25:49 -08:00
Aditya Patwardhan ce684c3abc Fix automation to update experimental json files in GitHub action (#16837) 2022-02-03 17:21:51 -08:00
Dongbo Wang 35ad64e11b Add a couple fixes to generic method invocation (#16822) 2022-02-03 11:58:02 -08:00
Dongbo Wang bbb11dd07a Fix the clean block for generated proxy function (#16827) 2022-02-03 11:39:08 -08:00
Travis Plunk b7f8556bcd Remove WiX install (#16834) 2022-02-02 15:20:41 -08:00
Aditya Patwardhan e840db81ab Add experimental json update automation (#16833)
* Add experimental json update automation

* Add dummy trigger

* Address CR comment
2022-02-02 14:51:22 -08:00
Dongbo Wang 47b4aa577c Update markdownlint to the latest version (#16825) 2022-02-01 16:09:58 -08:00
dependabot[bot] 79e3fa96d9 Bump the package path-parse from 1.0.6 to 1.0.7 (#16820) 2022-02-01 09:13:48 -08:00
MartinGC94 7d3260fe0d Add completion for loop labels after Break/Continue (#16438)
Adds completion for loop labels after labeled control flow statements such as Break and Continue.
The completion will look for any loops with a label that surrounds the Break/Continue keywords.
The tooltips for the completion entries shows the relevant loop.
2022-02-01 09:14:23 +05:00
Aditya Patwardhan 46e5af7381 Update .NET SDK to 6.0.101 and fix Microsoft.PowerShell.GlobalTool.Shim.csproj (#16821) 2022-01-31 16:36:49 -08:00
Paul Higinbotham 8af0834d66 Add SBOM manifest to nuget packages (#16711) 2022-01-31 12:13:32 -08:00
James Truher [MSFT] 0bb206aeee Improve logic for updating .NET in CI (#16808) 2022-01-31 09:47:27 -08:00
Ikko Ashimine 0ef30e54c7 Fix typo in PowerShellExecutionHelper.cs (#16776) 2022-01-28 16:04:34 +00:00
Travis Plunk 0b80b50656 Add Linux package dependencies for packaging (#16807) 2022-01-27 18:45:38 +00:00
Joel Sallow (/u/ta11ow) 8c53252969 Add support to allow invoking method with generic type arguments (#12412) 2022-01-27 09:55:54 -08:00
Ilya 9f722ef950 Use more efficient platform detection API (#16760)
* Use more efficient platform detection API

Use static and const new OperatingSystem class API to avoid string comparisons and extra allocations.

* Remove unused variable
2022-01-27 08:53:52 -08:00
Travis Plunk d45ff6a20a Switch to our custom images for build and release (#16801) 2022-01-26 11:47:14 -08:00
Travis Plunk 5e005b8a26 Remove all references to cmake for the builds in this repo (#16578) 2022-01-26 11:20:08 -08:00
Paul Higinbotham 0c6005637c Fix build for new InvokeCommand attributes (#16800) 2022-01-25 14:05:11 -08:00
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