$INCs=@" INC0517190 INC0517191 INC0517192 INC0517193 "@ $INCs = ConvertTo-Array -MultiLineString $INCs ForEach($IncNum in $INCs){ Update-ITDServiceNowRecord -ItemType Incident -Number $IncNum -Values @{ work_notes = 'new VMs deployed via OVA... added missing tags'; close_notes = 'new VMs deployed via OVA... added missing tags'; close_code = 'Solved (Permanently)'; u_underlying_cause = 'Configuration' category = 'sp_systems'; subcategory = 'sp_backup'; assigned_to = "Zachary L Meier"; state = 'Closed'; } }