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 […]
Category Archives: Windows Server
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 […]
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 […]