I'm looking for some documentation that would pretty much tell me how to find a line in a file (hostname=server_1) and replace it with the actual host name of where the file resides. I plan on running this against 5,000+ servers; we want to use the FQDN and not the short name. Will any of the books point me in the correct direction and if so, which one's? We have an environment of Windows 2003, 2008, and 2012 servers.
Thanks everyone/anyone.