Change System.Management.Automation.Runspaces.PSSession to array