i Am trying to schedule a Powershell Scrip for SharePoint backups and got this:
C:\Backups\SharePoint>PowerShell -command C:\Backups\Sharepoint\SPScheduledbacku
File C:\Backups\Sharepoint\SPScheduledbackup_Full.ps1 cannot be loaded. The fil
e C:\Backups\Sharepoint\SPScheduledbackup_Full.ps1 is not digitally signed. The
script will not execute on the system. Please see "get-help about_signing" for
At line:1 char:49
+ C:\Backups\Sharepoint\SPScheduledbackup_Full.ps1 <<<<
+ CategoryInfo : NotSpecified: (:) , PSSecurityException
+ FullyQualifiedErrorId : RuntimeException
The problem here was that i copied the scripts from a Dropbox folder i shared it on.
i Recreated the PS1 file and pasted the content of the PS1 and this error was something of the past.