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 […]
Category Archives: Windows Server
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 […]
Prevent Silverlight from showing up under Windows Updates FOR GOOD!
Prevent Silverlight from showing up under Windows Updates One thing that’s annoying is that Windows 7 with SP1 and Windows 8 and 8.1 all have Silverlight baked into the OS for minimum functionality. The truth is though that most people never use it unless they are running Netflix which is also in the process of […]
Get list of software installed from a remote computer WMI and PowerShell
Get list of software installed from a remote computer WMI and PowerShell Ever wanted to Get list of software installed from a remote computer via WMI and PowerShell Open PowerShell and run the following command: Get-WmiObject -Class “Win32_Product” -ComputerName RemoteHost -Credential localhost\LocalUser | Export-CSV (Join-Path $home “SoftwareList.csv”) Now to understand how this all ties together. Get-WmiObject -Class […]
Get list of software installed from a remote computer via WMIC from DOS
Get list of software installed from a remote computer Have you ever needed to get a quick local inventory of installed software across your network? You can use the WMIC command from the DOS CLI. Simply run the following command: wmic /user:”localhost\UserName” /password:”UsersPassword” /node:”RemoteHostname” product get name,version,vendor You can copy and paste this to a […]