I\'m trying to create a Windows credential by calling PowerShell from C# using the code below:
using var securePassword = new SecureString(); foreach (char c in c