@@ -208,11 +208,25 @@ class WdsServer < ApplicationRecord
defimages(type,name=nil)
raiseArgumentError,'Type must be :boot or :install'unless%i[boot install].include?type
objects=connection.run_wql("SELECT * FROM MSFT_Wds#{type.to_s.capitalize}Image#{" WHERE Name=\"#{name}\""ifname}")["msft_wds#{type}image".to_sym]rescuenil