Execute command from windows batch file

execute command from windows batch file

cmd.exe /K ""C:\Program Files\exeNameHere.exe" paramsHere"

    /C Carries out the command specified by string and then terminates
    /K Carries out the command specified by string but remains

Use: cmd /? to see cmd help command

DIsable LAPS

  Turn all items to disabled in LAPS GPO    Remove LAPS passwords Get-ADComputer -Filter * -SearchBase “OU=Servers,DC=mydomain,DC=com” | Se...

Mais vistos