Removed references to System.Management.Automation