{"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/boonv4m312s/","author_name":"boonv4m312s","title":"\u3010Powershell\u3011Check existence of files in folder","categories":["PowerShell"],"image_url":"https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png","blog_url":"https://boonx4m312s.hatenablog.com/","version":"1.0","width":"100%","url":"https://boonx4m312s.hatenablog.com/entry/2022/11/17/180000","published":"2022-11-17 18:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboonx4m312s.hatenablog.com%2Fentry%2F2022%2F11%2F17%2F180000\" title=\"\u3010Powershell\u3011Check existence of files in folder - \u793e\u5185SE\u306e\u8a71\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","blog_title":"\u793e\u5185SE\u306e\u8a71","provider_url":"https://hatena.blog","type":"rich","description":"Use Test-Path function for existence check. An error will occur if the file does not actually exist when copying or moving the file. If you execute the command after confirming the existence of the file before executing the command, the intended operation will be possible. learn.microsoft.com Comman\u2026"}