Remove-SPTrustedRootAuthority not working
-
jeudi 21 juin 2012 16:06
Hi,
I am using the following command to remove a trusted aruthority:
Remove-SPTrustedRootAuthority -Name "My Token Cert"
... but got the following error:
Remove-SPTrustedRootAuthority : A parameter cannot be found that matches parame
ter name 'Name'.
At line:1 char:36
+ Remove-SPTrustedRootAuthority -Name <<<< "My Token Cert"
+ CategoryInfo : InvalidArgument: (:) [Remove-SPTrustedRootAuthor
ity], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.SharePoint.Powe
rShell.SPCmdletRemoveTrustedRootAuthorityAny other ways to do this?
Toutes les réponses
-
jeudi 21 juin 2012 16:17
Give a space after the "-"
Remove – SPTrustedRootAuthority –Name "WFEFarm1"
MVP Office Development, MCP, MCTS SharePoint 2010 Development
- Proposé comme réponse sjmondal jeudi 21 juin 2012 16:22
-
jeudi 21 juin 2012 16:35
I've tried the following and still not luck:
Remove - SPTrustedRootAuthority -Name "My Token Cert"
Remove- SPTrustedRootAuthority -Name "My Token Cert"
Remove -SPTrustedRootAuthority -Name "My Token Cert"
Remove-SPTrustedRootAuthority - Name "My Token Cert"
-
vendredi 22 juin 2012 06:41
Hi,
You can try this:
Remove-SPTrustedRootAuthority -Identity "My Token Cert"
Thanks
Pengyu Zhao
TechNet Community Support
- Marqué comme réponse Ultragc88 vendredi 22 juin 2012 15:13
-
vendredi 22 juin 2012 15:13

