Hyper-V, fixing moved VHD files
Here is a scenario for you: some lowly admin thinks he will free up space by moving a VHD file, or perhaps you add more storage to your home test lab, and move your VHD files to the new drive. If you tried this operation while the VM is running, the file copy will fail. If you try this on saved or shut down VMs, you can definitely move the virtual hard drive (.vhdx file) which will cause the VM associated with it to rather predictably fail when powered on, as seen below. Continue Reading...
Resolving 'No Programs available from a Terminal Services Session'
Another SCCM post here. You've probably been in this scenario before: You have a user complaining that an advertisement doesn't work from his/her computer and they are being vague about it. Typically, we would dive in with SCCM Client Center or read the logs (or status messages from a program, more on that in a bit) to determine what went wrong. Continue Reading...
PowerShell - getting Remote network adapters
How to work with Remote Network Adapters in PowerShell! Continue Reading...
SCCM Resolving Error 620 'The Delete Statement Conflicted with the Reference Constraint…'
Ah yes, who doesn't love these pretty red icons. Like little Christmas ornaments. Anyway, if you're like me, you want an all-green and all-happy SCCM Summary page, and not just because you have a scheduled task or Status Filter to reset counts every thirty minutes. (If you're doing this, consider yourself admonished!). So, why does this happen and what does 'The DELETE statement conflicted with the REFERENCE constraint' mean? We're not DBAs you know! Continue Reading...
SCCM SQL Reporting code "Computers with one of many installed apps"
Today at a Client, the need arose to create a report which would list computers that have any of two applications installed. The principles used could easily be modified to fit a much larger list of applications, if the need arises. Continue Reading...
Using Powershell Internet Explorer Object automation to save work!
At one client, I had to use the Microsoft Baseline Security Analyzer to obtain a list of locally installed patches on all workstations. This application runs a check for installed patches on target workstations, and returns the output of a .CSV file (I'm leaving out some steps, but this is close enough.) However, this list leaves a lot to be desired, namely what the patches or KBs were meant to address, among other issues. As the clients wanted to review over and approve each update before proceeding with the project, I had to do something about this. Continue Reading...