wmic computersystem where “name=’abc’” call rename dgzhongxuwei1
Error:
Code = 0x80041017
Description = Invalid query
Facility = WMI
wmic computersystem where “name=’WORKGROUP’” call joindomainorworkgroup “”,”",”EMC”,1
Error:
Code = 0x80020005
Description = Type mismatch.
Facility = Dispatch
Why won't these two lines execute?
One more question. Is it possible to let the computer name be arbitrary, and then I specify the name that needs to be changed afterward? Same for the workgroup? Thanks.
[ Last edited by vergr on 2010-8-20 at 10:49 ]
Error:
Code = 0x80041017
Description = Invalid query
Facility = WMI
wmic computersystem where “name=’WORKGROUP’” call joindomainorworkgroup “”,”",”EMC”,1
Error:
Code = 0x80020005
Description = Type mismatch.
Facility = Dispatch
Why won't these two lines execute?
One more question. Is it possible to let the computer name be arbitrary, and then I specify the name that needs to be changed afterward? Same for the workgroup? Thanks.
[ Last edited by vergr on 2010-8-20 at 10:49 ]
