Outlook password expiry date

Hi everyone,
I wanted to know is there any way that we can come to know about the expiry date of password of a outlook account. I want to create a bot which will check the expiry date of password and accordingly 15 days before the password is expiring it will send a mail regarding the expiry of password to the client

Hi!
You can use a PowerShell based script, such as this one for example: windowsserveressentials.com/…/
It will give the password expiry date.

Hi
I have never used powershell and not able to get the code can u please tell me how to exactly use it in the ui path. I tried to copy paste the code in a text file and then run it in invoke power shell activity but still its not working

Hi @ashish_negi

I hope the below one will be useful.

You can invoke powershell script as given above to achieve your requirement.

Thank you.

Open the search bar and type “cmd” or press the “Windows logo + R” keys to open the Run utility, and type “cmd.” On a command prompt, use the “net user” with the following additional parameters: net user [username] [/DOMAIN]

Thanks this worked

Hi jobin thanks for the reply.
i tried with cmd and it worked

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.