Phil thank you so much for this series of posts this and 2 others. To anyone having trouble getting the powershell scripts to run you can just hijack phils sql.