if
(
exists
(
computer name
)
whose
(
it as string as lowercase contains "nts700"
)
)
AND
(
exists drive "D:"
)
then "D:" else if
(
(
exists
(
computer name
)
whose
(
it as string as lowercase contains "saps01" OR it as string as lowercase contains "saps02"
)
)
)
AND
(
exists drive "F:"
)
then "F:" else "No Drive Available"
if ( exists (computer name) whose (it as string as lowercase contains "nts700") ) AND ( exists drive "D:" ) then "D:" else if ( (exists (computer name) whose (it as string as lowercase contains "saps01" OR it as string as lowercase contains "saps02")) ) AND ( exists drive "F:" ) then "F:" else "No Drive Available"