Added [SessionData] static class to setup script Utilized SessionData for scoop refreshing, so it will happen once per login session - otherwise it's a nuisance.
Also minor fix to edit-textfile to accept Path named property as input (cherry picked from commit 272d3f91af836d094d5e19a14fbfa06331677eda)