APP01 is a running Windows Server 2025 VM on a local Hyper-V host. PowerShell Direct is working for the VM, but APP01 has no network connectivity. An administrator has an elevated Windows PowerShell console on the host and valid guest credentials.
Which command opens an interactive PowerShell prompt inside APP01?
Choose one answer.
New-PSSession -VMName 'APP01'Enter-PSSession -VMName 'APP01'Invoke-Command -VMName 'APP01' -ScriptBlock { hostname }Enter-PSSession -ComputerName 'APP01'