If you have a Trusted Root CA In your domain Environment you can use to Sign your PowerShell scripts In a few easy steps.
Request Code Signing Certificate
The first step is to request a Code Signing Certificate from your Trusted Root CA by:
Open MMC and open the Certificate snap In with Local User
Right Click on Personal -> Certificates – > Request New Certificate
Click on More Information under Code Signing
Add Value to the Common name ad Click Add and OK
Next, you will see the new Certificate under Personal store
Next open PowerShell as Administrator
To view all you code Sign Certificates type:
Get-ChildItem cert:\CurrentUser\My -codesign
You will see all your code signing certificates In an order that start from 0, 1, 2
Next, I’ll Sign my script with the Certificate called Mycert which is located on location 
Set-AuthenticodeSignature c:\v1.ps1 @(Get-ChildItem cert:\CurrentUser\My -codesign)
Make sure the Status is set to Valid after running the cmdlet.
Once completed you will see the certificate code inside your script