Tag Archives: remove

Remove Forefront Client Security by force

I was recently trying to upgrade the Antivirus software on some servers from Forefront Client Security to System Center Endpoint Protection 2012 R2. On most servers it worked fine. However on a few I was unable to remove some of … Continue reading

Rate this:

Posted in Scripting, Security, Windows | Tagged , , , , , , , , , , , , , , , , | 3 Comments

Find the DLL used by an Internet Explorer Add-on

Found this by accident, but it’s surprisingly easy. I’m using the latest IE, version 11. Click the IE settings cog, and then click Manage add-ons from the menu. In the Manage Add-ons dialogue box, highlight the add-on you want to … Continue reading

Rate this:

Posted in Applications | Tagged , , , , , , , , , | Leave a comment

Add and remove VMware NFS datastores via PowerCLI

Been experimenting with these recently, and they have to be added to or removed from each host individually, which is tedious via the GUI. Easy via PowerShell/PowerCLI though. Add: $hosts = Get-VMHost -Location “RCM” foreach($VMHost in $hosts){ Write-Host $VMHost.Name New-Datastore -VMHost … Continue reading

Rate this:

Posted in PowerShell, vSphere | Tagged , , , , , , , , | Leave a comment

Powershell function to pin and unpin from Windows Taskbar

Wrote this to make it easy to add and remove pinned items from the taskbar. Code function Pin-Taskbar([string]$Item = “”,[string]$Action = “”){ if($Item -eq “”){ Write-Error -Message “You need to specify an item” -ErrorAction Stop } if($Action -eq “”){ Write-Error … Continue reading

Rate this:

Posted in Applications, PowerShell, Scripting, Windows | Tagged , , , , , , , | 3 Comments

Get and delete DNS A and PTR records via PowerShell

My Remote Desktop Session Host build process is now pretty slick. I can easily rebuild a lot of RDSH VMs very quickly. The process basically involved powering off the existing VM, deleting both it and its Active Directory account, and … Continue reading

Rate this:

Posted in PowerShell, Scripting, Windows | Tagged , , , , , , , , , , , , | 7 Comments

Tidy/Remove VMware Snapshots – possibly created by NetBackup

Diagnosis I’ve found that sometimes Symatec NetBackup v7.0/7.1 doesn’t remove the snapshots it takes of VMs whilst it’s backing them up direct from the SAN. These snapshots don’t show in the vSphere Client GUI: However, viewing the VM disk configuration … Continue reading

Rate this:

Posted in NetBackup, vSphere | Tagged , , , , , | 3 Comments