Skip to main content

Posts

Showing posts from May, 2018

Activate Windows from command line

How to activate Windows from command line? If you have decided to convert an evaluation Windows server (Windows 2016 or other server version), or Windows 10 to a license Operating system then you need to replace the product key. You will need to change the product key and activate the system, in order to use the product outside of its evaluation period. Assuming you have done the steps of converting the evaluation software and all the evaluation packages has been removed. Of course, if you have plenty of time in your hands and you just want to redo everything then you can just install or setup a new environment. To activate a new product key from command line, first the product key must be installed and replaced the existing one. Second, activate the product key. Here’s how to do it via command line: a. slmgr /ipk windows-product-key-with-slashes /ipk = installed product key windows-product-key-with-slashes – replace this with the actual windows product

How to search for string in Excel

There’s quite a lot of ways to do this in Excel, using Macro or Excel formula will be able to get the desired output. Macro I think is good if the number of rows is not so large, but if the number of rows is quite large then a buffer overflow error might occur. Formula can take quite large of data and able to deliver the result as expected. ISNUMBER is a function that can check whether value is a number or not, the function itself tells what the formula will be doing. Adding a search function to ISNUMBER then it can be used to search for a string with in a cell or the specified range in the formula. Example below shows how ISNUMBER can be used to search for a specified string whether it exists or not. The position of the string doesn’t matter as long as the string exist within the cell, the formula will return TRUE, otherwise it will return FALSE if the string does not exist. Here’s the example: =ISNUMBER(SEARCH("search string", A5)) The “