Forum Discussion

nifournier's avatar
nifournier
Copper Contributor
Nov 26, 2019

IncludePortInSPN session option

Hello,

 

To use PS remoting on some of my servers, I need to include the -IncludePortInSPN as shown in the example below:

 

$option = New-PsSessionOption -IncludePortInSPN
Enter-PSSession -ComputerName <computer> -UseSSL -SessionOption $option

 

Now it is possible to force the use of SSL in Windows Admin Center but is it possible to set the SessionOption somewhere?