<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osn_th</author_name>
  <author_url>https://blog.hatena.ne.jp/osn_th/</author_url>
  <blog_title>カタカタブログ</blog_title>
  <blog_url>https://totech.hateblo.jp/</blog_url>
  <categories>
    <anon>Windows</anon>
    <anon>PowerShell</anon>
  </categories>
  <description>はじめに エラーの原因 方法1: 直接実行ポリシー設定を変更する 方法2: PowerShellコマンドに実行ポリシーオプションを付与してスクリプト実行する まとめ はじめに PowerShell ISEやPowerShell対話式コンソールからは実行できるのに、スクリプトファイル化したps1ファイルを実行しようとすると 以下のようなセキュリティエラーが発生する場合があるので、この場合の対処法についてまとめる。 今回はecho Hello PowerShellとだけ書かれたtest.ps1と言う名前のPowerShellスクリプトファイルを用意して、検証を行った。test.ps1 echo H…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftotech.hateblo.jp%2Fentry%2F2017%2F09%2F29%2F162411&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>2017-09-29 16:24:11</published>
  <title>PowerShell スクリプトの実行が無効となっている場合の対処法</title>
  <type>rich</type>
  <url>https://totech.hateblo.jp/entry/2017/09/29/162411</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
