Alan's sysadmin Blog

Working smarter not harder

Archive for August, 2009

ESX 3.5 msg.hbacommon.corruptredo

Posted by Alan McBurney on August 18, 2009

One of my virtual machines was stuck in a powered on state after a reboot with the error

“msg.hbacommon.corruptredo: The RedoLog of SERVERNAME-0000001.vmdk has been detected to be corrupt. If the problem still persists, you may need to discard the redolog.”

Following this KB resolved the issue.

Posted in VMware | Tagged: | Leave a Comment »

Granting multiple users access to specific computers using RWW in SBS 2008

Posted by Alan McBurney on August 14, 2009

While working on an SBS 2008 migration I was faced with having to grant 60 users access to only Terminal Servers in the corporate network when using Remote Web Workplace

Powershell and Quest Active Roles to the rescue again.

The following script sets the msSBSComputerUserAccessOverride attribute to the desired computer

[PS] C:\> Get-QADUser | Where {$_.ParentContainerDN -eq “OU=MyOU,DC=Domain,DC=Local”} | Set-QADUser –ObjectAttributes @{msSBSComputerUserAccessOverride = ”S:1:3:CN=MyTerminalServer, OU=SBSServers, OU=Computers, OU=MyBusiness, DC=Domain, DC=Local”}

Posted in PowerShell, SBS | Tagged: , , | Leave a Comment »

PowerShell Script to hide users from GAL

Posted by Alan McBurney on August 13, 2009

This script using Quest Active Roles will check Active Directory for disabled accounts and then hide these from the Exchange GAL.

[PS] C:\> Get-QADUser | Where-Object { $_.AccountisDisabled -eq “TRUE” -and $_.MailNickName -like “*” } | Set-QADUser -ObjectAttributes @{msExchHideFromAddressLists=”TRUE”;ShowInAddressBook=”"}

Posted in Exchange 2010, PowerShell | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 153 other followers