Error while promoting new Windows Domain Controller While trying to add a new Windows 2019 server to a Microsoft Windows Domain and then dcpromo it to a domain controller I […]
You are browsing archives for
Category: command line
Flush DNS cache on Centos Server
Flush DNS cache on Centos Server I have a client with a Centos 6.9 server acting as the internal DNS server. This client made some DNS changes through register.com for […]
How to list Active Directory groups for a pc and user.
How to list Active Directory groups for a pc and user I have been using Microsoft Group Policy more lately and would like to post this as a reminder on […]
How to remove old service pack files from Windows 2008 R2
This is a quick post as a reminder for anyone that may not know this.This command will remove old service pack files from a Windows 2008 R2 server.Run the below […]
How to get a list of folders only to be used in a batch fil...
I have been asked a few times “How do I get a list of folder names only to be used in a windows batch file?” There a likely several ways […]
Two useful Linux commands
I came across a couple of Linux commands that I have not used before and wanted to share them in case anyone else find them useful. I used them to […]
How do I include the date in a Windows Batch file?
I have used this many times to add a date in batch files. This example works for Windows batch files but can be adjusted for other uses. You can set […]
Useful Linux Command – with output redirection
This one has been around for a while but in case you have not come across (and in case I forget myself) here is another useful Linux command: ls > […]
Use SCONFIG in Windows Server 2012
SCONFIG is a very simple command to help get a Windows 2012 server initially set up. It is called the Server Configuration Tool and is started by running the command sconfig […]
How to have Device Manager show non present devices.
Here are a few small commands that a colleague of mine showed me. These commands will start the Windows Device Manager and allow you to see devices that have been removed […]




