Powershell in Uipath

How to get server password expiry in UiPath by powershell script activity ,please guide step by step.

@nilu.kumari

I guess this helps

Invoke the code using powershell activities

Cheers