Tuesday, 9 February 2016

OneLiners with PowerShell with SharePoint for Secure Store Service Application

Secure Store in SharePoint 2013 replace the Single Sign on in MOSS 2007.
#Get details of the Secure Store Service
Get-SPSecureStoreApplication -All  -ServiceContext "http://w15-sp"
#Get the Secure Store System Account.a list of user accounts for the secure store system
Get-SPSecureStoreSystemAccount
#Get security token service (STS) for the farm.
Get-SPSecurityTokenServiceConfig
#View ID of STS
(Get-SPSecurityTokenServiceConfig).ID
#View Public Url of STS
(Get-SPSecurityTokenServiceConfig).SecurityTokenServicePublicUrlSuffix
#View Cookie LifeTime
(Get-SPSecurityTokenServiceConfig).CookieLifeTime
#View Services
(Get-SPSecurityTokenServiceConfig).TrustedSecurityTokenServices

No comments:

Post a Comment