[Solved] AmbiguousParameterSet error

You get the following error: CategoryInfo          : InvalidArgument: (:) [], ParameterBindingException FullyQualifiedErrorId : AmbiguousParameterSet, The reason You have this error in two situations: Your command-line uses simultaneously two or more parameters members of different exclusive parameter sets. Your command-line doesn’t use any of the parameters members of a parameter set. Let’s illustrate your error Example […]

How to view/add an SPN with Powershell

No need to bother with the syntax of SetSPN anymore (despite it still works). There is now a native function built into the Get-ADComputer and Set-ADComputer cmdlets. View all SPN for a given computer Use the Get-ADComputer cmdlet and specify the ServicePrincipalNames parameter. It returns an array of values you can easily expand with the […]

Telnet is obsolete for testing ports

On recent versions of Windows, neither the telnet client nor the telnet service is installed by default, but they are still available as features. Years ago, they were used as a terminal service system to manage remote hosts. Currently, a lot of people are still using the telnet client to test if a TCP port […]