Function GetPowerShellResult(cmdStr) As String Dim result As String ' Rnuコマンド、非表示(0)で実行して完了を待つ ' -NoLogo 見出しを出さない ' -ExecutionPolicy RemoteSigned 実行権限を設定 ' -Command コマンド引数(これ以降にPowerShellのコマンドレット構文を記載) Call objWshShell.Run("...
Windows10にしたらVBAから.Net Frameworkが使えなくなった Windows10で実行したスクリプトでArrayListの作成がエラーになった How can I run PowerShell with the .NET 4 runtime? 最後に VBScript内だけであれば簡単なFormatは自作してしまえばいいですが、バッチファイルで日時計算(9時間前計算)...