You can't use wildcards for the shutdown command, but you could probably do something like this in a batch file:
@echo off
for /f "tokens=*" %%a in ('net view ^| findstr /i /b "\\\\abc"') do (
echo Rebooting %%a
shutdown.exe -r -f -m "%%a" -c " Automatic system restart has been called for by the system administrator. Shutdown will begin in 30 seconds"
)
As with all batch scripts, this should be tested in a controlled environment before run on a live network.