Category: Command Line

Find a machine serial number from command line

The Windows Management Instrumentation Command-line (WMIC) is a command-line and scripting interface that simplifies the use of Windows Management Instrumentation (WMI) and systems managed through WMI.

Continue reading

How to check when my Windows machine booted up.

The Command Prompt will display the exact time and date that the PC was last booted. It can take the console up to a minute to find this information, so be patient if it seems like it’s taking a while.

Continue reading

How to install and use Nikto utility on Ubuntu

Nikto – an open source tool that identifies potentially interesting files by referencing the robots.txt file, by spidering the surface of the application, and by cycling through a list of known files that contain sensitive information.

Continue reading

How to add PowerShell syntax support into Sublime Text 3 on Windows

Sublime Text is a sophisticated text editor for code, markup and prose. If you like this editor and work with PowerShell, you find this editor excellent tool for your scripting work. PowerShell syntax is not supported by default but you can add the support for PowerShell in very simple way in both environments, Windows and Mac.

Continue reading

Setting a system environment variable from command line in Windows Server 2012 R2

setx utility – Creates or modifies environment variables in the user or system environment. Can set variables based on arguments, regkeys or file input.

Continue reading

How to find out which server in domain is Global Catalog – Windows Server 2012 R2

The global catalog is a distributed data repository that facilitates searching and logons in an Active Directory® Domain Services (AD DS) directory service forest.

Continue reading

Extend Active Directory Schema on Windows Server 2012 R2 by adding UNIX attributes

Identity Management for Unix enables you to integrate Windows users into an existing Unix or LInux environment, including managing user accounts, passwords on Windows and Unix systems.

Continue reading