this days I had an issue, where a registry key was missing after a reboot. the registry key was created by an third party software and was needed by an other software part to function well. I created the registry key manually using Powershell or the Registry Editor, and the registry key wasn’t removed. My … Read More “Volatile Registry Keys” »
Tag: PowerShell
This is quite huge for me, because I’ve been working on this script for the last two months and finally decided, to release the script to public, although I know that it’s still far from complete. Document your Operations Manager 2012 environment You should know your environment and what happens in it and you should be … Read More “document your SCOM 2012 environment” »
Today I had a request from a first-level-admin which need the Bitlocker Recovery Password for a already deleted computer object. Here is what I came up with: $compname = “ComputerName” $SearchRoot = “CN=Deleted Objects,DC=domain,DC=local” $recoverykeys = Get-QADObject -Tombstone -Recycled -Type “msFVE-RecoveryInformation” -SizeLimit 0 -Includedproperties msFVE-RecoveryPassword -SearchRoot $SearchRoot | ? {$_.lastknownparent -like “*$compname*”} | select msFVE-RecoveryPassword … Read More “recover deleted Bitlocker Recovery Informations” »
i like vCheck to daily report my virtual environment status. But a lot of our guest systems are not in my responsibility, so the VM Tools are not uptodate or aren’t installed. i wroted this plugin for vCheck: $Title = “VMs by VM Tools status” $Header = “VMs by VM Tools status : $($VMToolsVersions.count)” $Comments … Read More “List VMTools Status with vCheck” »
I had the task to list all existing virtual machines in our vSphere vCenter to an Excel-List. Cause i have alot of VM’s and they change often, i wrote a powershell-script, which creates an excel-file like this: The requirements for this script are Microsoft Excel and VMware PowerCLI 5. Look at the script or download … Read More “discover informations about all virtual machines to Excel” »
To shutdown a VMware datacenter on UPS failure i found a PowerShell script, which i modified: The script will shutdown the desired VMware datacenter, but it will ask you first, if you are sure. If you like to run the script in silent mode, you can run it with parameter yes. You have to define … Read More “Shutdown full VMware datacenter on UPS failure” »