Files
PowerShell/test/powershell/Modules/Microsoft.PowerShell.Management
Dongbo Wang 9337fa1411 Fix the scripts used for Copy-Item -FromSessoin/-ToSession scenarios and also enable tests (#27773)
- Fix the scripts used for `Copy-Item -FromSessoin/-ToSession` and `PSEdit`. They use `-Encoding Byte`, which only works in PS5.1. In PS 7+, we need to use `-AsByteStream` instead. So, those scenarios (copy alternate data stream to/from remote PS 7 session and edit file from a remote PS 7 session) have been broken for a long time.
- The remote tests for `Copy-Item` have always been disabled. This PR re-enables those tests for Windows (the `HelperRemoting` module only works on Windows).
2026-08-18 16:01:04 -07:00
..
2016-06-29 12:05:41 -07:00