-
- Influencer
- Posts: 15
- Liked: 2 times
- Joined: Mar 02, 2022 10:07 am
- Full Name: Darren Flatman
- Contact:
Powershell script to get encryption password details
Want to create a Powershell script that can get the details for the encryption passwords
The idea is for the script to run every 15 mins and to raise an alert if the password is changed
So need to be able to get the last modified details
I found a command for credentials but it does not include the encryption password
The idea is for the script to run every 15 mins and to raise an alert if the password is changed
So need to be able to get the last modified details
I found a command for credentials but it does not include the encryption password
-
- Product Manager
- Posts: 9848
- Liked: 2606 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Powershell script to get encryption password details
Hi Darren
Egor mentioned the Event IDs in this post. You can query the event logs with PowerShell.
Have a look at this topic.
Another user wrote a script to get the encryption password age from the Event Logs.
Thanks
Fabian
Egor mentioned the Event IDs in this post. You can query the event logs with PowerShell.
Have a look at this topic.
Another user wrote a script to get the encryption password age from the Event Logs.
Thanks
Fabian
Product Management Analyst @ Veeam Software
-
- Influencer
- Posts: 21
- Liked: 3 times
- Joined: May 17, 2021 11:40 am
- Full Name: Søren Døssing
- Location: Denmark
- Contact:
Re: Powershell script to get encryption password details
Feature request:
Regarding the Get-VBREncryptionKey, the only way to get a a result back from this cmdlet is to query on Description.
I would like to ask that it is possible to query on Id, and ModificationDataUtc aswell.
Regarding the Get-VBREncryptionKey, the only way to get a a result back from this cmdlet is to query on Description.
I would like to ask that it is possible to query on Id, and ModificationDataUtc aswell.
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Powershell script to get encryption password details
Noted. You can also use native powershell filtering capabilities:
Thanks!
Code: Select all
Get-VBREncryptionKey | where {$_.ModificationDataUtc -like $date}
-
- Influencer
- Posts: 15
- Liked: 2 times
- Joined: Mar 02, 2022 10:07 am
- Full Name: Darren Flatman
- Contact:
Re: Powershell script to get encryption password details
Thanks Oleg that worked
Who is online
Users browsing this forum: Bing [Bot] and 3 guests