I have a script that runs the following:
Connect-Keeper -Username $keeperCredentials.UserName -Password $keeperCredentials.Password -Server $keeperServer | Out-Null
for( X in 20 records) // pseudo code
{
$child = Add-KeeperRecord -Uid $Uid login=$Login password=$Secret -Notes $Notes
}
Disconnect-Keeper
The first records get updated correctly but halfway through it stops working: the last records aren't updated
- The new $child object correctly has the new $Secret
- When I check in Keeper client later (hours later) the secret is still the old secret
- There is no error thrown or error message written to console
I do notice there seems to be a pause halfway through processing the records.
Should I connect/disconnect for each record? Or sleep a couple of seconds between each update?
I have a script that runs the following:
The first records get updated correctly but halfway through it stops working: the last records aren't updated
I do notice there seems to be a pause halfway through processing the records.
Should I connect/disconnect for each record? Or sleep a couple of seconds between each update?