title: Prompt for credentials in a c# cmdlet test project
body: <p>Is there a way to prompt for a <code>PSCredential</code> in the <code>Initialize</code> method of a C# test project?</p>
  
  <p>I'd use PowerShell's <code>Get-Credential</code> Cmdlet, but I'm not sure how to call it from within the Cmdlet's class.</p>
  
  <p>If that's not possible, prompting for a <code>SecureString</code> would be acceptable.</p>
  
  <p><strong>Edit</strong>
  I need the <code>username</code> and <code>password</code> properties to pass to a system (SAP BI) that doesn't currently support single sign-on.</p>