SharePoint 2013 Powershell

Enviroment - SharePoint 2013

How to activate Service application "Secure Store Service" through powershell?
Who is Participating?
Rainer JeschorConnect With a Mentor Commented:
to create a Secure Store Server application please run the following Powershell cmdlet:
$SecStoreServiceApp = New-SPSecureStoreServiceApplication –ApplicationPool "Secure Store Service" –AuditingEnabled:$false –DatabaseServer "YourSharePointSQLServer" –DatabaseName "SecureStoreService" –Name "Secure Store Service App"
    New-SPSecureStoreServiceApplicationProxy –Name "Secure Store Service App Proxy" –ServiceApplication $SecStoreServiceApp -DefaultProxyGroup

Open in new window

See MSDN / Technet:

Are you wanting to provision a new Service Application, or simply make sure the existing one is running?  If provisioning, Rainer's got the right code - but a script to make sure it's running doesn't make sense... if provisioned, it should be running all the time (Unlike SharePoint 2010's User Profile Sync Service, which has a nasty habit of stopping)
dkumeriAuthor Commented:
Thanks, is it possible to add App pool service aaccount in the srcript as well?
FastFngrzConnect With a Mentor Commented:
The -applicationpool is a required parameter in the command, thereby implying the service account that would have already been defined in the Application pool before this command was run.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.