Monday, March 25, 2013

Export Active Directory to CSV

Exporting users of a group to CSV file

csvde -f c:\Export.csv -r "(memberof="CN="Group",OU="Security Groups",DC=Domain,DC=com")"

Friday, March 22, 2013

Fixing the Volume Shadow Copy service DHCP



Found this artical on Link

After installing DHCP on Windows Server 2008 R2, you may start to see the following error message in the event logs :
 

Volume Shadow Copy Service error: Unexpected error calling routine RegOpenKeyExW(-2147483646,SYSTEM\CurrentControlSet\Services\VSS\Diag,…). hr = 0×80070005, Access is denied.

Inspection of the detailed tab of the event log entry will show information about the process that generated the error. Take note of the user mentioned after the “- User: Name:” portion of the bytes. To resolve this error, simply give that user full permission to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VSS registry key.

Friday, December 14, 2012

Listing all VM's with Snapshots via PowerShell


 
get-vm | get-snapshot | select name,vm,sizemb

Thursday, December 13, 2012

EMC Avamar virtual machine combination proxy


I always forget these and spend so much time trying to find it.

This is the username and password need to access the EMC Avamar virtual machine combination proxy.

Username root
Password avam@r


Tuesday, December 11, 2012

Setup Host Dump Config

VMware KB2002955
esxcli -s servername system coredump network get
esxcli -s servername system coredump network set --interface-name vmk0 --server-ipv4 X.X.X.X --server-port 6500
esxcli -s servername system coredump network set --enable true

Commands to Disable navi reg

esxcli system setting advanced list -o /Disk/EnableNaviReg
esxcli system setting advanced set -o /Disk/EnableNaviReg --int-value "0"
esxcli system setting advanced list -o /Disk/EnableNaviReg