Powershell script to delete a file if it already exists:
If (Test-Path $strFileName){ Remove-Item $strFileName }
Read full article from Steve Hardie » Powershell: Delete File if Exists
Powershell script to delete a file if it already exists:
If (Test-Path $strFileName){ Remove-Item $strFileName }
Read full article from Steve Hardie » Powershell: Delete File if Exists
No comments:
Post a Comment