Difference between revisions of "Delete a file in powershell if it exists"
From MyWiki
(Created page with "<source lang="powershell"> If (Test-Path $strFileName){ Remove-Item $strFileName } </source>") |
(No difference)
|
Latest revision as of 08:09, 16 June 2016
If (Test-Path $strFileName){ Remove-Item $strFileName }