Jump to content

Option to enable/disable Password Checkout/Checkin on Passwords using the API


Recommended Posts

  • 1 year later...
  • 2 months later...
  • 2 weeks later...

I script a workaround with powershell sql cmdlet to reach this goal but it not use password state api

$query = "UPDATE dbo.passwords SET ChangeOnCheckin = '1', RequiresCheckOut = '1' where PasswordListID like '< Passwordlist ID >' AND passwordid like '<password id>'"


Invoke-Sqlcmd -Query $query -ServerInstance "DBSERVER\INstance,PORT" -Database <DBname> -Username <username> -Password <XXXXXXXX>


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...