PowerShell7/KNOWNISSUES.md
2016-02-17 17:43:11 -08:00

2.3 KiB

Known Issues

ControlPanelItemCommand.cs

The file monad/src/commands/management/ControlPanelItemCommand.cs has been removed temporarily from Microsoft.PowerShell.Commands.Management because we cannot resolve [Shell32.ShellFolderItem] for FullCLR builds. This must be fixed ASAP.

Microsoft.Management.Infrastructure.Native

Windows builds currently use the native stub; this should be replaced with actual compilation of the managed C++ library on Windows (with the stub used on Linux).

CorePS Eventing Library

The Eventing library reimplementation for Core PowerShell does not exist on Linux, and so the ETW stub is used via a #if LINUX guard. On Windows, this library now exists, but its build needs to be ported to .NET CLI. Until then, the stub is also used with a #if ETW guard.

xUnit

The xUnit tests cannot currently be run; we are working to integrate the prototype .NET Core runner to re-enable them.

Console Output

The console output on Windows and under certain TERM environments on Linux (xterm is known to work fine), the console scrolls badly. We believe this is due to incomplete System.Console APIs, which have been fixed upstream and will be updated when new packages drop.

Performance issues have been seen in some scenarios, such as nested SSH sessions. We believe this is likely an issue with Console.ReadKey() and are investigating.

Remoting

Only basic authentication is implemented

Multiple sessions are not yet supported

Server shut-down is not complete (must restart omiserver after a session is completed.

Unavailable cmdlets

This project includes the CoreCLR versions of the Commands.Management, Commands.Utility, Security, and PSDiagnostics modules.

The Archive, Diagnostics, PSGet, and Host modules are not yet included.

The WSMan.Management module cannot be included unless the Management.Infrastructure.Native library is ported.

The CoreCLR version of the Commands.Utility module does not contain the following cmdlets that exist in the FullCLR version:

  • ConvertFrom-String
  • ConvertTo-Html
  • Export-PSSession
  • Get-TraceSource
  • Import-PSSession
  • Invoke-RestMethod
  • Invoke-WebRequest
  • Out-GridView
  • Out-Printer
  • Send-MailMessage
  • Set-TraceSource
  • Show-Command
  • Trace-Command
  • Update-List