Windowsのファイルエクスプローラには「プレビュー」という機能が用意されている。この機能を利用すると、ファイルエクスプローラからファイルの中身を閲覧することができる。デフォルトではこの機能というかビューウィンドウは表示されていないので ...
To avoid errors, it's important to write PowerShell scripts that prevent code from running on an unintended platform. Luckily, this is easier to do than it sounds. Up until a few years ago, PowerShell ...
You can wrap an executable file around a PowerShell script (PS1) so that you can distribute the script as an .exe file rather than distributing a “raw” script file. This eliminates the need of ...
In my previous post, I showed you how to create a clickable button in Excel. That button displayed a simple message box. Now, I want to show you how to use the button to kick off a PowerShell script.
前回作成したPowerShellスクリプト「test-6.ps1」は次の通りだ。 #!/usr/bin/env pwsh #===== # 気温データを取得して整理する #===== $URL ...
On Windows 10, the Task Scheduler is a useful tool that has been around for many years, and it provides a friendly graphical interface to create automated routines. When you use this tool, you can ...
Creating arrays in PowerShell is a common occurrence for any scripter. Arrays are an important data structure in any language and PowerShell is no different. However, not all arrays are the same. In ...
When automating a ton of tasks, creating a visual cue on the activate is helpful in knowing that things are running smoothly. No one likes to wait. We all want stuff done now but, unfortunately, ...
BASH is a Unix shell and command language which can run Shell Script files. You do not need to install Ubuntu or any other Linux Distros unless your scripts need the ...