In powershell you can do a foreach loop much like perl
$array = @("test1", "test2", "test3") foreach ($value in $array) { $value }
Donate by bitcoin: 12E1LyKb9Wwzw3iy6V4oWpHDXkTRC6UHJ9
In powershell you can do a foreach loop much like perl
$array = @("test1", "test2", "test3") foreach ($value in $array) { $value }
Test if our file exists and delete if true.
$FileName = "C:\Path\somefile.txt" if (Test-Path $FileName) { Remove-Item $FileName }