I am having some issue with Powershell Runbook which works fine locally

Samsul Islam 0 Reputation points
2023-10-02T11:11:35.9633333+00:00

I am having some issue with Powershell Runbook which works fine locally. Error as per screenshot attached and powershell script attached. Please can you help or advise. ThanksRunbook erroe

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,356 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,943 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.