Use Powershell to lookup your PDC

Using Powershell to look up the PDC Did you know that you can Use Powershell to lookup your PDC? If you have ever needed to look up your primary domain controller (PDC) this can sometimes be a daunting task especially in a large enterprise environment. Luckily you can open PowerShell and run a single command […]

How to retrieve your Dell Service Tag from DOS

Retrieve Dell Service Tag from DOS If you ever needed to retrieve Dell Service Tag from DOS, this works remotely or if you are unable to read the tag on the case below is the syntax to retrieve the Dell service tag by querying Windows WMI service via the DOS command line using the WMIC […]

List installed Windows updates from the command line / DOS

List installed Windows updates from the command line / DOS It is easier than most would think to List installed Windows updates from the command line / DOS. This can come in handy if you have two identical machines and one is having an issue. You could save the output from both systems and use something […]

Backup DNS settings in Windows Server 2012 R2

Backup DNS settings in Windows Server 2012 R2 Backing up your Domain Name Services is quite simple using powershell: Using powershell run: dnscmd ServerName /ZoneExport corp.DC1.local backup\ServerName.local.dns.bkup dnscmd ServerName /ZoneExport _msdcs.corp.DC1.local backup\_msdcs.ServerName.local.dns.bkup Where ServerName is replaced with your server’s hostname that is running DNS. The output should look similar to the screenshot below: The output files should be […]

Powershell scripts won’t run or import because running scripts is disabled on this system.

Powershell scripts won’t run or import because running scripts is disabled In the event that you are unable to run power shell script’s, it’s quite a simple fix actually. The error Powershell scripts won’t run or import because running scripts is disabled is because the execution policy within PowerShell is preventing it from running. From  and then […]