【Powershell】while文での無限ループ

止めるときはCtrl+Cで(^^)
1 2 3 4 5 6 7 8 9 |
PS C:\> while($true){Write-Output(Get-Date) ; Start-Sleep -Seconds 1} 2017年12月7日 18:49:01 2017年12月7日 18:49:02 2017年12月7日 18:49:03 2017年12月7日 18:49:04 2017年12月7日 18:49:05 2017年12月7日 18:49:06 PS C:\> |