Local PC:

wmic startup get command

Remote PC:

wmic /node:NOME_PC startup get command