Update DatastoreFunctions.ps1