Powershell Create Scriptblock From String To Datetime