<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fnyablog</author_name>
  <author_url>https://blog.hatena.ne.jp/fnyablog/</author_url>
  <blog_title>あるSEのつぶやき・改</blog_title>
  <blog_url>https://www.aruse.net/</blog_url>
  <categories>
    <anon>PowerShell</anon>
  </categories>
  <description>PowerShell には実行ポリシーというものがあり、デフォルトでは Restricted になっています。これは外部スクリプトを実行できない非常に厳しいものです。 セキュリティの観点からは望ましいものですが、いざ自分が PowerShell のスクリプトを配布しようとすると非常にやっかいです。 なぜかというと、実行ポリシーの変更を行うには、PowerShell のコマンドプロンプトを管理者権限で起動する上に、PowerShell のコマンドを実行する必要があるからです。 ですが、実行ポリシーが Restricted でもバッチファイルを経由することにより PowerShell のスクリプト…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.aruse.net%2Fentry%2F2018%2F09%2F08%2F154654&quot; title=&quot;PowerShellの実行ポリシーがRestrictedでも外部スクリプトを実行する方法 - あるSEのつぶやき・改&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>2018-09-08 15:46:54</published>
  <title>PowerShellの実行ポリシーがRestrictedでも外部スクリプトを実行する方法</title>
  <type>rich</type>
  <url>https://www.aruse.net/entry/2018/09/08/154654</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
