如何删除证书映射条目?

时间:2016-04-27 12:13:00

标签: powershell certificate remote-access winrm

我使用以下命令创建一个证书映射条目:

winrm create winrm/config/service/certmapping?Issuer=‎87d604dae22d91ee90f10a7dd91c33fc3093fd9b+Subject=PC01URI=* @{UserName="Administrator";Password="test123"}

但是如何删除此条目?

1 个答案:

答案 0 :(得分:1)

使用PublicNotCreatable

Mac-mini-user:project user_wrk$ ls -lha | grep '.git'
drwxr-xr-x  17 user_wrk  staff   578B Apr 27 15:08 .git
-rw-r--r--   1 user_wrk  staff   249B Mar 11 15:21 .gitignore

Mac-mini-user:project user_wrk$ git status
fatal: Not a git repository (or any parent up to mount point /Users/user_wrk)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Mac-mini-user:project user_wrk$ git init
Reinitialized existing Git repository in /Users/user_wrk/RubymineProjects/project/.git/
Mac-mini-user:project user_wrk$ git status
fatal: Not a git repository (or any parent up to mount point /Users/user_wrk)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Mac-mini-user:project user_wrk$ git init
Reinitialized existing Git repository in /Users/user_wrk/RubymineProjects/project/.git/