2024-04-01から1ヶ月間の記事一覧
Get-ChildItemコマンドレットの結果をクリップボード経由でワークシートに貼り付けたほうが早いけど、Excel VBAを使用しての方法を考える。 # PowerShell 5.1, Windows 11 (2024年4月頃) $fileInfos = Get-ChildItem -File -Force -Recurse -Depth 1 -Litera…
VBA: WshShell.Exec PowerShell: WshShell.Exec PowerShell: ProcessStartInfo VBA: WshShell.Exec Excelマクロから簡単にPowerShellの出力結果を取得する方法を考える ' Excel 2019, Windows 11 (2024年4月頃) ' 参照設定 ' Windows Script Host Object Mod…
crypto.subtle.digestでファイルのハッシュ値を求める。 PowerShellのGet-FileHashコマンドレットではなく、Webブラウザでファイルのハッシュ値を求める方法を考える。 filesプロパティ(<input type="file">) dataTransfer.files 参考: Get-FileHashコマンドレット filesプロパ…