Updated script for setting the node state during install on windows nodes.