Overview
A PowerShell profile holds what SQIBS needs to run PowerShell scripts: the version. Create it once and use it in any workflow. You can create it on the Callgoose cloud, or as an internal profile of a runner to run inside your network.
You need
Permission to manage automation profilesWhere
Automation > ProfilesResult
A reusable PowerShell environmentCreate the profile
- Go to Automation > Profiles, choose Global or a team, click Add Profile and choose PowerShell. For a runner, open the runner profile instead and add the PowerShell profile under Internal Profiles.
- Fill in the fields below and click Save.
| Field | What to enter |
|---|---|
| Name, Description | What the profile is for. |
| Files from Git or Callgoose | Keep the profile files in SQIBS, or in Git with a profile entry file. |
| PowerShell Version | For example 7.4.5. |
| PowerShell Command To Run | Runner internal profiles only: for example pwsh. |
Use it
In a workflow, choose this profile for each PowerShell action. If the action runs on a runner, choose the Runner Internal Profile instead.