// RemoveResourceSettings removes a list of resource settings
RemoveResourceSettings removes a list of resource settings
// RemoveResourceSettings removes a list of resource settings
func RemoveResourceSettings(svc *wmi.Result, resources []string) error {
	jobPath := ole.VARIANT{}
	jobState, err := svc.Get("RemoveResourceSettings", resources, &jobPath)
	if err != nil {
		return errors.Wrap(err, "calling ModifyResourceSettings")
	}
	if jobState.Value().(int32) == wmi.JobStatusStarted {
		err := wmi.WaitForJob(jobPath.Value().(string))
		if err != nil {
			return errors.Wrap(err, "waiting for job")
		}
	}
	return nil
}
func RemoveResourceSettings ( svc * wmi . Result , resources [ ] string ) error { jobPath := ole . VARIANT { } jobState , err := svc . Get ( " " , resources , & jobPath ) if err != nil { return errors . Wrap ( err , " " ) } if jobState . Value ( ) . ( int32 ) == wmi . JobStatusStarted { err := wmi . WaitForJob ( jobPath . Value ( ) . ( string ) ) if err != nil { return errors . Wrap ( err , " " ) } } return nil }
RemoveResourceSettings removes a list of resource settings
RemoveResourceSettings removes a list of resource settings
// RemoveResourceSettings