AnsweredAssumed Answered

PI-AF security configuration with PowerShell scripts

Question asked by MaximeHT on Sep 6, 2018
Latest reply on Dec 18, 2018 by a9woods



I have found a way to manage the PI-AF security cobfiguration with PowerShell scripts for the 2 following cases :

  • at the server level:
    • $AFSecurity = $afSrv.Security
    • $AFSecurity.SetSecurityString($_.SecurityString, $false)
  • at the database level:
    • $AFDb = $afSrv.Databases[$_.DatabaseName]

    • $AFSecurity = $AFDb.Security

    • $AFSecurity.SetSecurityString($_.SecurityString, $false)


Then, the config string is updated:


But, i didn't found a way to manage other "Items to Configure (Contacts, Notification Contacts Templates, ...):"


Someone has an idea?