meine Sys/Db admin & Developper Notitzen - wer Rechtschreibfehler findet darf sie behalten ...
my Sys/Db Admin and developper notes - I don't care about typos
Wednesday, September 23, 2015
powershell files and directory
#is there any *.Bak file ?
if (Get-ChildItem C:\sqlBackup\Stp1\*.Bak) {"exists"} else {"no"}
#create Dir if not exists and don't Display error if exists:
md mydir -Force
No comments:
Post a Comment