wmic /node:@PC-list.txt os get csname,installdate
Command above yields this error:
Failed to open Node-list file (Please check the filename).
wmic /node:@PC-list.txt os get csname,installdate
Command above yields this error:
Failed to open Node-list file (Please check the filename).
Quoting the filename resolved:
wmic /node:@"PC-list.txt" os get csname,installdate
wmic doesn't like dashes/hyphens, I'd cite a Microsoft article on it, but I couldn't quickly find one detailing this. Error when hostname has a dash: Invalid Global Switch.