-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Description
We have internally been referring to this as the "Nano Server Scenario" aka headless, remote-only remoting activation. The idea is that we need a way to register a non-running instance of PowerShell Core with WinRM. In Nano Server, you can create a remote session (New-PSSession)to the instance of Windows PowerShell running on the system. Once in that session (Enter-PSSession), you can unzip PowerShell Core on Nano Server to make it available for use. The only way to register the new instance of PowerShell Core as a WinRM endpoint is to run Install-PowerShellRemoting.ps1 from within the current Windows PowerShell remote session.
Enable-PSRemoting works to register the running instance of PowerShell Core with WinRM, but the script Install-PowerShellRemoting.ps1 is the only solution to this problem. We should consider building that functionality into a new cmdlet or an existing cmdlet to make it more permanent.
Environment data
Windows
Beta.5