title: Parameterattribute default value (C# cmdlet) in PowerShell
body: <p>I'm designing a cmdlet using plain C#. Is it possible to define a default value for a parameter?</p>
  
  <p>Script cmdlet:</p>
  
  <pre><code>[Parameter] [string] $ParameterName = "defaultValue"
  </code></pre>
  
  <p>Which is the equivalent for C#?</p>
  
  <pre><code>[Parameter]
  public string ParameterName { get; set; }
  </code></pre>