<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>frontline</author_name>
  <author_url>https://blog.hatena.ne.jp/frontline/</author_url>
  <blog_title>misc.log</blog_title>
  <blog_url>https://www.backyrd.net/</blog_url>
  <categories>
    <anon>業務日誌</anon>
  </categories>
  <description>客先環境のWindows10にて、PowerShellで記述したスクリプトファイルを powershell.exe c:\temp\script.ps1 のように実行しようとしたところ このシステムではスクリプトの実行が無効になっているため、 ファイル C:\temp\script.ps1 を読み込むことができません。 というエラーが出ました。どうやらPowerShellスクリプトの実行自体が制限されているようです。これの回避策についてメモしておきます。 正攻法 正攻法は「設定を変えて制約を外す」です。これには、PowerShellの Set-ExecutionPolicy unrestric…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.backyrd.net%2Fentry%2F20171227%2F1514357308&quot; title=&quot;Windows10でPowerShellスクリプト実行の制約を回避する - misc.log&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>https://images-fe.ssl-images-amazon.com/images/I/516asannWdL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-12-27 15:48:28</published>
  <title>Windows10でPowerShellスクリプト実行の制約を回避する</title>
  <type>rich</type>
  <url>https://www.backyrd.net/entry/20171227/1514357308</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
