title: Cannot bind argument to parameter 'Path' because it is an empty string
body: <p>I am trying to run custom script on windows AWS AMI. The steps I am using is as given here:
      <a href="http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/mon-scripts-powershell.html" rel="nofollow">http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/mon-scripts-powershell.html</a>
  My Instance is already associated with IAM role and credential file path is set.</p>
  
  <p>I am trying to run following command in power-shell:
      .\mon-put-metrics-mem.ps1 -mem_util -mem_used -mem_avail -page_avail -page_used -page_util -memory_units Megabytes</p>
  
  <p>The error I am getting is:</p>
  
  <pre><code>Cannot bind argument to parameter 'Path' because it is an empty string.
  </code></pre>