IBM Support

Powershell back up script fails with unauthorized access error

Troubleshooting


Problem

A Powershell script that creates a back up a folder structure fails with an unauthorized access error

Symptom

Error thrown by Powershell:

File Backup.ps1 cannot be loaded. The file \Backup.ps1 is not digitally signed.
You cannot 
run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
  + CategoryInfo     : SecurityError: (:) [], ParentContainsErrorRecordException
  + FullyQualifiedErrorId : UnauthorizedAccess

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSD29G","label":"IBM Planning Analytics"},"ARM Category":[{"code":"a8m3p000000PC9RAAW","label":"Planning Analytics-\u003EServer Data Tier-\u003EInstall Configure Upgrade Backup"}],"ARM Case Number":"TS010184244","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Product":{"code":"SSKVSF","label":"Planning Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSCTEW","label":"IBM Planning Analytics Local"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
09 August 2022

UID

ibm16611247