Installing a software using a script

Hello, If I have a Powershell Script to install a Software, How can I create a task so I can add it to our deployment?