<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pshell</author_name>
  <author_url>https://blog.hatena.ne.jp/pshell/</author_url>
  <blog_title>PowerShell覚え書き</blog_title>
  <blog_url>https://pshell.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>http://technet.microsoft.com/ja-jp/scriptcenter/powershell_owner07.aspx を見ていて躓いたのでメモ。引数つきのコマンドはエイリアスに登録できない。 たとえば、sal ipca ipconfig /allとすると、「Set-Alias : 引数 '/all' を受け入れる位置指定パラメーターが見つかりません」と怒られる。最も単純に「ipconfig /all」や「notepad.exe C:\xxx\foo.log」を登録するには、関数を作ってそれをエイリアスに登録すればいい。 function IpcAll() { ipco…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpshell.hatenadiary.org%2Fentry%2F20140428%2F1398690933&quot; title=&quot;エイリアスに引数つきのコマンドを登録する - PowerShell覚え書き&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-04-28 22:15:33</published>
  <title>エイリアスに引数つきのコマンドを登録する</title>
  <type>rich</type>
  <url>https://pshell.hatenadiary.org/entry/20140428/1398690933</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
