I have two test servers, a 2012R2 server and a 2008R2 server. Both are up to date on all updates and both are running the same version of PS (4.0). When I run the following command, I get different results:
get-childitem Cert:\LocalMachine\My -sslserverauthentication
On the 2012R2 server, it runs fine and gives me appropriate results. On the 2008R2 server, I get the following error:
Get-ChildItem : A parameter cannot be found that matches parameter name ‘sslserverauthentication’.
At line:1 char:37
- Get-ChildItem Cert:\LocalMachine\My -sslserverauthentication
-
~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidArgument: (
[Get-ChildItem], ParameterBindingException - FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
- CategoryInfo : InvalidArgument: (
What am I missing?