Uses an existing SQL Server linked server with RPC Out enabled to invoke xp_cmdshell on a Windows-hosted target and run one operating-system command. The target must have xp_cmdshell enabled, and the linked-server login mapping must grant the required execution rights; a configured xp_cmdshell proxy is required for non-sysadmin users.
T-SQL
RESTRICTED_ACCESS_BLUR_MARKER