diff --git a/src/Microsoft.PowerShell.ConsoleHost/WindowsTaskbarJumpList/TaskbarJumpList.cs b/src/Microsoft.PowerShell.ConsoleHost/WindowsTaskbarJumpList/TaskbarJumpList.cs index e6a5c2aa71..58f639d342 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/WindowsTaskbarJumpList/TaskbarJumpList.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/WindowsTaskbarJumpList/TaskbarJumpList.cs @@ -23,7 +23,7 @@ namespace Microsoft.PowerShell { // The STA apartment state is not supported on NanoServer and Windows IoT. // Plus, there is not need to create jump list in those environment anyways. - if (Platform.IsNanoServer || Platform.IsIoT) + if (!Platform.IsWindowsDesktop) { return; }