if statement - If Computer Name Contains - Stack Overflow

if statement - If Computer Name Contains - Stack Overflow

瀏覽:643
日期:2024-07-10
I need to create a batch file that moves computer name object in Active Directory only if computer name contains some string, like: If %computername% contains "LAP" ( dsmove ... set check_computername=%computername:LAP=% if "%check_computername ......看更多