Search the Community
Showing results for tags 'Powershell'.
-
I'm trying to upload a file to an existing password via API, using Powershell. I try to get this code to work (from Passwordstates API Manual): # PowerShell Request $documentPath = "D:\Build-Specifications.txt" $uri = "https://passwordstate/api/document/password/123?DocumentName=<DocumentName>&DocumentDescription=SomeDescription" $result = Invoke-RestMethod -Uri $uri -Method Post -InFile $documentPath -ContentType 'multipart/form-data' -Header @{ "APIKey" = "<apikey>" } Write-Host $result But I get this error message: Invoke-RestMethod: "An error has occurred., Value cannot be null.\r\nParameter name: plainText, System.ArgumentNullException Any suggestions about what that can mean?
-
Hi, we want to use passwortstate implement in our company. But as emergency storage for local accounts if Active Directory is down. In this scenario all access to passwords must trigger an alarm to the security team. Is there a possibility to trigger an custom script automatically when a password is copied?
-
Hello, I have PasswordState 9 (Free 5 users) and everything runs smooth except 2 features and this topic is for one of them. The dependencies discovery. I try to use the PasswordState powershell script that's called "Discover Windows Account Dependencies" to troubleshoot the reason why when an AD password is reset, it doesn't onto Scheduled Tasks... When I put the list of our servers and precise the identity, the script seems to work but for an unknown reason, some servers just don't return Scheduled Tasks. Even 2 identicals servers (like load-balancing's ones) which are supposed to be smiliars... Just don't behave the same way... For exemple, SRV1 and SRV2 are supposed to have similar configuration. SRV1 returns it Scheduled Tasks and SRV2 returns : "Cannot call a method on a null-valued expression" I am not a developper and this issue just surpass my skills... Does anyone have any idea about how to troubleshoot this ? Ever encountered this ? Or anything that could help us to get a relation AD Account <-> Scheduled Tasks (per Host) Really appreciate any help, thanks !
-
- powershell
- ad
-
(and 2 more)
Tagged with:
-
Hi ! I have PasswordState 9 (Free 5 users) and everything runs smooth except 2 features and this topic is for one of them. The dependencies discovery. I try to use the PasswordState powershell script that's called "Discover Windows Account Dependencies". When I put the list of our servers and precise the identity, the script seems to work but for an unknown reason, some servers just don't return Scheduled Tasks. Even 2 identicals servers (like load-balancing's ones) which are supposed to be identical... Don't behave the same way... For exemple, SRV1 and SRV2 are supposed to have similar configuration. SRV1 returns it Scheduled Tasks and SRV2 returns : "Cannot call a method on a null-valued expression" I am not a developper and this issue just surpass my skills... Does anyone have any idea about how to troubleshoot this ? Ever encountered this ? Or anything that could help us to get a relation AD Account <-> Scheduled Tasks (per Host) Really appreciate any help, thanks ! ----------------------------------------------------- Edit : Wrong version of General Support (PasswordState 8, I wanted v9...) Mea Culpa
-
- powershell
- dependencies
-
(and 4 more)
Tagged with: