
新元号発表まであと1週間となりましたが、PowerShellで日付を和暦表示するスクリプトを作ってみました。
#
# Get-WarekiDate.ps1
#
#パラメータ
Param($date, $time)
try{
if (($date -eq $null) -And ($time -eq $null)){
#両方nullなら現在の日付を取得
$d = Get-Date
...
2019年3月25日 (月) 22:54 in PowerShell