Change a process priority and affinity with PowerShell

Yesterday I was using a virtual machine from my Hyper-V server and I noticed it became sluggish at one point. A quick look at the task manager and it was clearly Windows Update who was slurping away my CPU power. There is no real point in killing the process but it should not interfere as … Continue reading Change a process priority and affinity with PowerShell

Advertisements

Retrieve Disk Health information with PowerShell

With the PowerShell Get-StorageReliabilityCounter cmdlet you can get the storage reliability counters for a specified disk or all disks in your system. These counters include information about such things as the device temperature, errors, wear, and length of time the device has been in use (if your devices supports these). What happen? I just tried … Continue reading Retrieve Disk Health information with PowerShell

Is your Open command window here replaced with open PowerShell window here?

While PowerShell on Windows 10 doesn't take forever to open like it did with previous Windows versions it is still a larger burden on your system then good old CMD. I am on Windows 10 build 15058 and I noticed Microsoft has changed the right mouse button menu while holding the shift key. The shift … Continue reading Is your Open command window here replaced with open PowerShell window here?

Windows 10 – Remove app packages (.appx) with Powershell from your user account and machine.

There are a few ways to remove packages from Windows 10. While not every method is as easy as another, some might be less or more complete than others, this method seems to work with the current and previous Windows 10 builds and will keep working unless Microsoft makes some drastic changes. Here is how I … Continue reading Windows 10 – Remove app packages (.appx) with Powershell from your user account and machine.

Manage Hyper-V with Powershell – the Hyper-V cmdlets

Description This reference provides cmdlet descriptions and syntax for all Hyper-V-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet. Hyper-V Cmdlets Add-VMDvdDrive Adds a DVD drive to a virtual machine. Add-VMFibreChannelHba Adds a virtual Fibre Channel host bus adapter to a virtual machine. Add-VMGroupMember Adds … Continue reading Manage Hyper-V with Powershell – the Hyper-V cmdlets