title: Powershell Send-MailMessage InlineAttachments parameter cannot be found
body: <p>I don't know why this parameter can't be found but for some reason when using the example from David Wyatt on the <a href="https://gallery.technet.microsoft.com/scriptcenter/Send-MailMessage-3a920a6d" rel="nofollow">Technet Gallery</a> Powershell is kicking back the error:</p>
  
  <p><code>Send-MailMessage : A parameter cannot be found that matches parameter name 'InlineAttachments'.</code></p>
  
  <p>Its not like I'm using an old Powershell version or server, it is on a Windows Server 2012 R2 with PS versions of:</p>
  
  <pre><code>PS SQLSERVER:\&gt; $PSVersionTable
  
  Name                           Value
  ----                           -----
  PSVersion                      4.0
  WSManStackVersion              3.0
  SerializationVersion           1.1.0.1
  CLRVersion                     4.0.30319.42000
  BuildVersion                   6.3.9600.17090
  PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
  PSRemotingProtocolVersion      2.2
  </code></pre>
  
  <p>I'm all ears for any suggestions, thanks in advanced!</p>