Introduction Ad hoc distributed queries use the OPENROWSET and OPENDATASOURCE functions to connect to remote data sources that use OLE DB.
SQL PowerShell to check and repair Ad-hoc distributed queries Vulnerability from Blog Posts – SQLServerCentral
read more