Create Bootable USB Drive
open a command line window on your Vista machine then type the following sequence of commands:Diskpartlist disk (you should be able to spot your USB stick by the size, take note of the number listed against it)select disk n (where n is the number from the previous step)cleancreate partition primaryselect partition 1activeformat fs=ntfs quickexit[@more@]
Disable Dynamic DNS update
Unfortunately enabling and then disabling the "Register the connections address in DNS" option again did not resolve the issue. I figured this occurred as when upgrading VMware tools the servers network adapters are removed and re-added. To resolve this issue I opted to disable Dynamic DNS updates on the server all together using a registry entry. To disable Dymanic DNS on a Windows Server 2008 or Server 2008 R2 machine, perform the following actions. 1. Login to the server
reduce the database log file
use DatabaseNamegocheckpointDBCC SHRINKFILE('DBlogName', 1) BACKUP LOG DatabaseName WITH TRUNCATE_ONLY DBCC SHRINKFILE('DBlogName', 1)[@more@]
Disable Dynamic DNS Updates in Windows 2008
1. Login to the server with the issue. 2. Click the Start menu and select Run. 3. In the Run dialog box type the following entry without the quotation marks and then click ok: "reg add hklm system currentcontrolset services tcpip parameters /v DisableDynamicUpdate /t REG_DWORD /d 1 /f" 4. Reboot the server to complete the process. [@more@]
Migrate DPM datasource to another hard drive using powershell
PS C:Program FilesMicrosoft DPMDPMbin> $disk = get-dpmdisk -DPMServerName dpmserverPS C:Program FilesMicrosoft DPMDPMbin> $pg = Get-ProtectionGroup dpmserverPS C:Program FilesMicrosoft DPMDPMbin> $ds = Get-Datasource $pg[12]PPS C:Program FilesMicrosoft DPMDPMbin> .MigrateDatasourceDataFromDPM.ps1 -DPMServerName active-dpm -Source $ds[0] -Destination $disk[2][@more@]
Some Exchange Powershells
1. How to remove disconnected mailboxes:Remove-StoreMailbox –database “DB2” –identity “Chakka Rajith” –MailboxState DisabledIf you want to remove all disconnected mailboxes from a database, run the following commandGet-MailboxStatistics –Database “dbname” | Where-Object {$_.DisconnectReason –eq “Disabled”} | ForEach {Remove-StoreMailbox –Database $_.database –identity $_.mailboxguid –MailboxState DisabledIf you want to remove all soft-deleted mailboxes from a database, run the fo
Recovery from LTO3 tapes with LTO5 tape drives using Backup Exec 2010
Steps:Assign the media to RetireDelete the media from retired mediaGo to “tools” – “options” , in the “Settings” – “Catalog”, unselect “Request all media in the sequence for catalog operations”Run Inventory on the mediaWhen Inventory is finished, assign to media to “keep data infinitely – do not allow overwrite”Run Catalog on the mediaIf there’s byte counts and catalog finished successfully, then start the restore.[@more@]