IncludePortInSPN session option

%3CLINGO-SUB%20id%3D%22lingo-sub-1033453%22%20slang%3D%22en-US%22%3EIncludePortInSPN%20session%20option%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1033453%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20use%20PS%20remoting%20on%20some%20of%20my%20servers%2C%20I%20need%20to%20include%20the%20-IncludePortInSPN%20as%20shown%20in%20the%20example%20below%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%24option%20%3D%20New-PsSessionOption%20-IncludePortInSPN%3CBR%20%2F%3EEnter-PSSession%20-ComputerName%20%3CCOMPUTER%3E%20-UseSSL%20-SessionOption%20%24option%3C%2FCOMPUTER%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20it%20is%20possible%20to%20force%20the%20use%20of%20SSL%20in%20Windows%20Admin%20Center%20but%20is%20it%20possible%20to%20set%20the%20SessionOption%20somewhere%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Visitor

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?

 

 

 

 

1 Reply
Highlighted

@nifournier 

 

This is not currently supported in WAC. It would be valuable for you to add your scenario as a comment on this feedback item.