We’ve got some 200+ servers and climbing, all of which I’ve set up a few little scripts and tidbits in the profile for easy use but it’s now past the point it should all be in a module.
Part of the module is a variable that holds a path to a particular file. It could be in one of several locations and rarely may need to be set manually, so I need to store this path somewhere.
Problem is I can’t work out how to package this data with the module. I could save it in a data file in the module directory but as far as I’ve found I have to point to the full path to find it - meaning it would be useless if moved to another user account name.
EDIT I should note this is all on PowerShell v4