Creating Scripts For Powershell Version