Skip to content

Use $PSScriptRoot as $Source#1

Open
theaquamarine wants to merge 1 commit into
SMSAgentSoftware:masterfrom
theaquamarine:psscriptroot
Open

Use $PSScriptRoot as $Source#1
theaquamarine wants to merge 1 commit into
SMSAgentSoftware:masterfrom
theaquamarine:psscriptroot

Conversation

@theaquamarine

Copy link
Copy Markdown

Powershell knows where the script's running, so use that instead. Also
allows the scripts to run from anywhere, rather than just Program
Files.

Powershell knows where the script's running, so use that instead. Also
allows the scripts to run from anywhere, rather than just Program
Files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant