Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Search for CSV in calling script's directory #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DamonStamper
Copy link

@DamonStamper DamonStamper commented Nov 27, 2017

When importing a module $PSScriptRoot is set to the module's directory not that of the calling script. Thus when you import remotely then look for $PSScriptRoot/machineConfig.CSV you aren't going to pull the config from the same directory as the calling script. This is IMHO a 'must have' feature for remotely.


This change is Reviewable

When importing a module $PSScriptRoot is set to the module's directory not that of the calling script. Thus when you import remotely then look for $PSScriptRoot/machineConfig.CSV you aren't going to pull the config from the same directory as the calling script. This is IMHO a 'must have' feature for remotely.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant