{"author_name":"shikaku","blog_url":"https://blog.systemjp.net/","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F2022%2F07%2F08%2F194529\" title=\"VBA\u304b\u3089PowerShell\u5b9f\u884c - shikaku&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","description":"sPS1Path = \"\u30d5\u30a1\u30a4\u30eb.ps1\" Call ExecPowerShell(sPS1Path) ' PowerShell\u306e\u5b9f\u884c\uff08Exec\u30b3\u30de\u30f3\u30c9\u4f7f\u7528\u30d0\u30fc\u30b8\u30e7\u30f3\uff09 Private Function ExecPowerShell(cmdStr As String) As String ' WshShell\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 Dim oExec As Object ' Exec\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u884c\u3059\u308b ' -NoLogo \u8457\u4f5c\u6a29\u306e\u898b\u51fa\u3057\u3092\u51fa\u3055\u306a\u3044 ' -ExecutionPolicy RemoteSigned \u5b9f\u884c\u6a29\u9650\u3092\u8a2d\u5b9a ' -Command \u30b3\u30de\u30f3\u30c9\u5f15\u6570\uff08\u3053\u308c\u4ee5\u964d\u306bPowerShell\u306e\u30b3\u30de\u30f3\u30c9\u30ec\u2026","version":"1.0","url":"https://blog.systemjp.net/entry/2022/07/08/194529","author_url":"https://blog.hatena.ne.jp/shikaku/","categories":[],"image_url":null,"height":"190","blog_title":"shikaku's blog","title":"VBA\u304b\u3089PowerShell\u5b9f\u884c","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","published":"2022-07-08 19:45:29"}