You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
On a bamboo remote agent i want to run a script which contains this code:
Import-Module WebAdministration;
...
It worked until now (we updated to 6.10 recently).
The error that i get is this:
Import-Module : Process should have elevated status to access IIS configuration data.
At D:\bamboo-agent-home\temp\SC-SR7AR-TS-202-ScriptBuildTask-413057583993768370.ps1:1 char:1
+ Import-Module WebAdministration;
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [Import-Module], InvalidOperationException
+ FullyQualifiedErrorId : Module_ImportModuleError,Microsoft.PowerShell.Commands.ImportModuleCommand
Environment: Windows Server 2019 Datacenter
Bamboo: 6.10
The windows service runs as a user called "bambooagent" who is an administrator.
Could someone help me fixing this? i didn't find anything on the internet.