What is PowerShell Direct?

Find out what PowerShell is and how to use it?

John Savill

January 22, 2016

1 Min Read
What is PowerShell Direct?

Q. What is PowerShell Direct?

A. PowerShell Direct enables PowerShell interaction between a Windows 10/Windows Server 2016 host and the VMs on that host without any firewall or network requirements nor special remote management configuration. You still require credentials to use within the VM so this is not a way to bypass security. Think of this of a way be able to use PowerShell even when there are problems such as networking misconfigurations that would typically prohibit management.

To use PowerShell Direct leverage the new -VMName parameter for cmdlets such as Invoke-Command and Enter-PSSession. For example:

Enter-PSSession -VMName VM01

Invoke-Command -VMName VM01 -ScriptBlock {}

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like