setting up a windows state for the powershell scripts