title: passing values to a function in a powershell script
body: <p>I am curious if it's possible to pass arguments to a powershell module using object notation.  Look at the following definition of a function:</p>
  
  <pre><code>function Get-Something
  {
      Param
      (
           [Parameter(Mandatory=$true, Position=0)]
           [string] $Name,
           [Parameter(Mandatory=$true, Position=1)]
           [int] $Id
      )
  }
  </code></pre>
  
  <p>can I call this function in the following notation:</p>
  
  <pre><code>Get-Something(Name "Vance Refrigeration", Id "9")
  </code></pre>
  
  <p>instead of doing:</p>
  
  <pre><code>Get-Something -Name "Vance Refrigeration" -Id 9
  </code></pre>