Top "Powershell-core" questions

Use this tag for questions about writing and executing scripts for PowerShell Core, the cross-platform command line and scripting utility from Microsoft.

Determine the OS version, Linux and Windows from Powershell

How can I determine the OS type, (Linux, Windows) using Powershell from within a script? The ResponseUri isn't recognised when …

linux windows powershell operating-system powershell-core
Toggle between fullscreen editor and terminal in VS Code

As a Windows systems admin, I use PowerShell quite a lot. With the release of PS Core, and the implication …

visual-studio-code powershell-core
Connect-AzAccount - how to avoid azure device authentication?

I have installed the PowerShell 6.1.3 version and I want to get a connection to the Azure account using the following …

azure powershell powershell-core
PowerShell ISE: how to run new PowerShell version

How can I get PowerShell ISE to work with PowerShell 6.0. Currently, it has 4.0. This server has PowerShell 4.0 installed and I …

powershell version powershell-ise powershell-core
Getting home directory?

I'm trying to get a directory off of the user's home directory in a script. This is what I'm trying, …

macos powershell powershell-core
How to I remove the Powershell start text?

Powershell 6 has a Unix-style /etc/issue that mentions a link to the docs. PowerShell v6.0.0 Copyright (c) Microsoft Corporation. All …

powershell powershell-v6.0 powershell-core
How to find or install missing Commands in PowerShell Core (pwsh)?

I am using multiple versions of PowerShell, but only 2 can find all standard commands (or is it commandlets?). The original …

powershell repository powershell-core
Is it possible to install the PKI module on Powershell Core?

I'd like to use the various commands from Powershell 5's PKI module: $ Get-Command -module PKI CommandType Name Version Source ----------- …

powershell powershell-core powershell-v6.0