by skufel | Mar 14, 2016 | Scripting, Windows
Quick side note, not to forget for future. Rename computer Netdom renamecomputer %computername% /newname:Test-Server Join computer to domain Netdom join %computername% /domain:domain.com /UserD:Administrator...
by skufel | Jan 3, 2014 | Infrastructure, Scripting, SysAdmin, Windows
By default remote management on Windows Server 2012 Core can be blocked by firewall. In order to enable this functionality, issue following command from Command Prompt window: Netsh.exe firewall set service remoteadmin enable ALL Once it’s done you should be...
by skufel | Oct 24, 2013 | Automation, Infrastructure, Scripting, SysAdmin, Windows
Handful list of parameters possible to use in CMD scripts: %~I - expands %I removing any surrounding quotes ("") %~fI - expands %I to a fully qualified path name %~dI - expands %I to a drive letter only %~pI - expands %I to a...
by skufel | Oct 3, 2012 | Scripting, Security
Little issue with OpenSSL for Windows came out recently when I tried to create certificate request. Just after installation when tried to generate cert request got error message: WARNING: can't open config file: /usr/local/ssl/openssl.cnf Unable to load config info...
by skufel | May 15, 2012 | Automation, Infrastructure, Scripting, SysAdmin, Windows
Recently I was wondering how to list all available drives in Windows 7 PE Command Prompt. That happened to me when stuck in PXE boot command prompt window trying to find out what letter is assigned to USB stick I just plugged in. It looks like it’s not quite...