Remove-WebConfigurat ionProperty -pspath MACHINE WEBROOT APPHOST -Loca

1
2
3
4
5
Remove-WebConfigurationProperty -pspath 'MACHINE/WEBROOT/APPHOST' -Location "wl-info-be" -filter "system.webServer/security/authentication/iisClientCertificateMappingAuthentication/oneToOneMappings" -name "."
Remove-WebConfigurationProperty -pspath 'MACHINE/WEBROOT/APPHOST' -Location "wl-info-be" -filter "system.webServer/security/authentication/iisClientCertificateMappingAuthentication/manyToOneMappings" -name "."
Add-WebConfigurationProperty -pspath 'MACHINE/WEBROOT/APPHOST' -location 'wl-info-be' -filter "system.webServer/security/authentication/iisClientCertificateMappingAuthentication/oneToOneMappings" -name "." -value @{userName='<beiismappinguser>';password='<beiismappingpass>';certificate='<fe1Base64EncodedCert>'}
Add-WebConfigurationProperty -pspath 'MACHINE/WEBROOT/APPHOST' -location 'wl-info-be' -filter "system.webServer/security/authentication/iisClientCertificateMappingAuthentication/oneToOneMappings" -name "." -value @{userName='<beiismappinguser>';password='<beiismappingpass>';certificate='<fe2Base64EncodedCert>'}
Add-WebConfigurationProperty -pspath 'MACHINE/WEBROOT/APPHOST' -location 'wl-info-be' -filter "system.webServer/security/authentication/iisClientCertificateMappingAuthentication/oneToOneMappings" -name "." -value @{userName='<logsreaderuser>';password='<logsreaderpass>';certificate='<SCOMBase64EncodedCert>'}