•  ru
ShellHacks
Command-Line Tips and Tricks

windows

  • Blog

What Domain Controller Am I Connected To – CMD & PowerShell

Posted on Tuesday April 21st, 2020Wednesday April 29th, 2020by admin

Windows Domain Controller (DC) is a server that responds to security authentication requests within a Windows Domain (group of networked computers controlled by domain controller). In this short note i will show how to find out which DC a computer is authenticated to using Windows CMD and PowerShell.

Read More
No comments yet
  • Blog

Check If Computer Is In Domain – CMD & PowerShell

Posted on Tuesday April 21st, 2020Wednesday April 29th, 2020by admin

Windows Domain Controller (DC) is a server that responds to security authentication requests within a Windows Domain (group of networked computers controlled by domain controller). In this article i will show how to find out whatever a computer is a part of a Windows domain and how to get the name of the domain the […]

Read More
3 Comments
  • Blog

Windows: Prevent Lock Screen Timeout When Idle

Posted on Wednesday April 8th, 2020by admin

Corporate Windows computers and servers are usually configured to lock the screen after some time of inactivity. This is especially inconvenient when your remote desktop session keeps disconnecting with “RDP Session Timeout” each time after few minutes of being idle. In this article i will show how to stop computer from locking and keep the […]

Read More
6 Comments
  • Blog

Run CMD as Administrator – Command Prompt

Posted on Wednesday April 1st, 2020Monday June 15th, 2020by admin

The elevated command prompt allows users to execute commands with administrative privileges. By default, when opening the command line in Windows, you will not have full rights and not all commands will work. In this short note i am showing the easiest and quickest way of how to run CMD as administrator. This method of […]

Read More
1 Comment
  • Blog

Install Maven in Windows

Posted on Thursday March 12th, 2020Wednesday July 8th, 2020by admin

Apache Maven is a command-line tool for building and managing dependencies of Java-based applications. Maven requires Java and before installing Maven in Windows it needs to ensure that Java Development Kit (JDK) is installed and JAVA_HOME environment variable is set. As only this requirement is satisfied, you can download and install Maven. In this note […]

Read More
No comments yet
  • Blog

Windows: `Cat` Equivalent – CMD & PowerShell

Posted on Thursday March 5th, 2020by admin

The cat command in Linux is used to concatenate files and print on the standard output. The type command is a Windows cat equivalent that works across a command-line prompt (CMD) and a Windows PowerShell. In this short note i will show how to concatenate files and how to print the contents of a text […]

Read More
1 Comment
  • Blog

File is Open in Another Program: Delete – Find Locking Process

Posted on Thursday March 5th, 2020Tuesday August 25th, 2020by admin

If you try to delete a file or a folder locked by some process (open in another program) in Windows you may get an error as follows: The action can’t be completed because the file is open in another program The action can’t be completed because the folder or a file in it is open […]

Read More
No comments yet
  • Blog

Windows: Environment Variables Editor – Quick Shortcut

Posted on Wednesday March 4th, 2020by admin

The most convenient way to create and modify environment variables in Windows is to use the default environment variables editor. Unfortunately it is not easy to find where to launch this tool from that is quite annoying if you have to edit environment variables in Windows often. In this article i will show how to […]

Read More
No comments yet
  • Blog

Windows: `Watch` Equivalent – CMD & PowerShell

Posted on Thursday January 30th, 2020by admin

The watch command in Linux is used to execute a command periodically and show the output. This is extremely useful if you need to track any changes in the output of a repeatedly executed command. There is no direct equivalent for the watch command in Windows, however the same result can be achieved using the […]

Read More
4 Comments
  • Blog

Windows: MD5/SHA256 CheckSum – Built-In Utility

Posted on Thursday January 23rd, 2020by admin

In Windows you can make a checksum of a file without installing any additional software. For this you can use the certUtil – built-in command-line utility that works both in Windows CMD and Powershell. In this note i will show the examples of how to make md5sum and sha256sum of a file in Windows from […]

Read More
9 Comments

Posts navigation

Older posts
Newer posts

Online Tools

  • Base64 Decode
  • Base64 Encode

Tags

access-control anonymity ansible apache archive artifactory aws bash boot cmd command-line curl dns docker encryption git java jenkins kubernetes linux mail mongodb mysql network nmap openssl oracle password pdf performance powershell prometheus proxy python rabbitmq raspberry pi redis ssh systemd telnet text-processing tor tsm windows yum
  • Twitter
  • RSS
Privacy
Copyright © 2011-2020 | www.ShellHacks.com