I have to save credentials using a service account onto a remote machine and also should be able to access the credentials from remote machine using the service credentials.
I have tried using credman.ps1 script not able to do it.
Is there a way that I can do this using cmdkey exe I can execute the same script from my c# code