<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>boonv4m312s</author_name>
  <author_url>https://blog.hatena.ne.jp/boonv4m312s/</author_url>
  <blog_title>社内SEの話</blog_title>
  <blog_url>https://boonx4m312s.hatenablog.com/</blog_url>
  <categories>
    <anon>Powershell</anon>
  </categories>
  <description>Commands use case 存在確認にTest-Path関数を使用します。 ファイルのコピー、移動をさせる時に実際にファイルが無いとエラーになってしまいます。 コマンド実行前にファイルの存在確認した後にコマンド実行すると意図した動作が可能になります。 learn.microsoft.com Commands フォルダの存在確認 test-path -path c:\test ※-pathは省略可能 フォルダ内にフォルダがあるか確認 Test-Path C:\test\* フォルダ内に指定の拡張子があるか確認 Test-Path C:\test\* -Exclude .txt フォルダ内…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboonx4m312s.hatenablog.com%2Fentry%2F2022%2F11%2F17%2F180000_1&quot; title=&quot;【Powershell】フォルダ内のファイル存在確認 - 社内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>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-11-17 18:00:00</published>
  <title>【Powershell】フォルダ内のファイル存在確認</title>
  <type>rich</type>
  <url>https://boonx4m312s.hatenablog.com/entry/2022/11/17/180000_1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
