Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


njordur last won the day on January 20 2017

njordur had the most liked content!

About njordur

  • Rank

Recent Profile Visitors

1095 profile views
  1. Of course you can use it... just make sure to test it well before
  2. Hi, Just wanted to give you a powershell script you can use the privileged accounts when its an AD user. I've tested this on my systems and it works fine with either SQL Auth or AD Auth. Error handling should be fine ... but feel free to add more or change the error handling or rename the second function in the script. Method: Way to add this into your discovery is to replace the contents of C:\inetpub\Passwordstate\setup\scripts\Get-MSSQLAccounts.ps1 (default path) and then restore the script from Administration -> Powershell scripts -> Scri
  3. I can't see it in the API documentation. Is it possible give individual permissions to passwords in Passwordstate? If not can I expect this to be in the API any time soon. /Njörður
  4. Thanks for this, didn't solve the input problem though. I just excluded $ from the input so I don't have to handle it. Nice touch with the psobject, will use that. /Njörður
  5. Hi, Can you fix so the whenever you use the API to create a password and the password has a $ sign in it truncates the rest of the password set in passwordstate. I proably can fix this with modifications in my script. But just wanted to have this so I wouldn't have to. Example of a powershell script, works fine if there are no $ signs in the password. Probably the same happens with other parameters. param($username, $password, $description) $jsonString = @" { "PasswordListID":92, "Title":"company\\$username", "Description":"$description",
  6. No rush, its just an improvement for you guys :). I'll just wait for the release.
  7. No thats not it, I'm overwriting it each time with the variable. I hadn't even started handling that part. What comes in the variable database is just [GenericField1] So if I switch the catch output to this... switch -wildcard ($error[0].Exception.ToString().ToLower()) { #"*A network-related or instance-specific*" { Write-Output "Failed to execute script correctly against Host '$HostName' for the account '$UserName'. Please check SQL details are correct, and that a firewall is not blocking access - default Port is 143
  8. I ran into a problem when I was trying to use a generic field in password validation. It doesn't seem to get through even though its available from the variable list. I even tried to pass on the URL variable which was standard and had the same results. I made a script for password reset with successful results. This is the script I tried without luck. What I'm trying to do is to validate a password for a contained database user. <# .SYNOPSIS Connect to a Microsoft SQL server and validates the password for a local SQL account. .NOTE
  9. I'm using the latest version 7.7 (Build 7737) When I'm adding a new password to a password list that does not have the password & password strength field shown on it nothing happens. This happens both to old password lists and new. The cause seems to be that the password strength field has the required field grayed out and enabled so it seems to be still in effect even if the field is not shown. This started when I upgraded directly from Version 7.6 (Build 7676) to Build 7737
  10. Yes this was it thanks a lot for clarifying. About the changelog on the webpage can you update it.
  11. Ah ok, that must be the case then. I'll try to add the value and see if it pops in.
  12. This does not work for me i have build 7537. Still creates a new password for a existing password in another password list. Also update the changelog plz.
  13. Seems the changelog web page hasnt been updated since november 18, version 7483. You might want to look at that. I would like to to be aware of the changes made
  14. Maybe I spoke too soon. I just added the same computer again manually with a different instance name and added a password reset task on it. Hopefully this will solve the issue.
  15. I have several SQL servers with multiple instances on them. What would be the best way to do change the password on the instances this as the hosts in passwordstate only provides an option for one instance. Is DNS alias my only option perhaps?
  • Create New...