title: Powershell pack uri object
body: <p>I'm trying to create a pack ui referencing a xaml resource inside of an assembly file in powershell. After reading this <a href="http://geekswithblogs.net/NewThingsILearned/archive/2008/04/30/pack-uri-authority---local-assembly--executable.aspx" rel="nofollow">post</a> I tried to do this:</p>
  
  <pre><code>$resource = new-object system.uri("pack://application:,,,/WPFResource;component/test.xaml")
  </code></pre>
  
  <p>The I get an error noting that it is expecting a port since there are two colons.</p>
  
  <p>Can anyone please advice?</p>