Creating A Script Using Powershell For Automation