Kenneth Qvistgaard Dalbjerg, IT Konsulent i århus
Citrix Certified

Archive for the ‘Computer’ Category

Lost trust on my Exchange 2010 after revert to a older snapshot

Friday, May 18th, 2012 Posted in Exchange, Windows | No Comments »

I was returing to an older snapshot of my Exchange servers. But when i want to logon to the Exchange server, it came with "Trust relationship has been lost with domain controller". Normally you just rejoin the domain, but this is ...

Exchange 2010, show permission on all folders in all mailboxes

Tuesday, May 15th, 2012 Posted in Exchange, Powershell | No Comments »

Here is a script, that runs though you Exchange server, and return all permission on all folders in all mailboxes. The script needs to be running from the Exchange management Shell, and will create a subfolder in c:\ call ExchangeMailboxPermission, where ...

Exchange 2010, powershell full access and send-as permission

Monday, May 14th, 2012 Posted in Exchange | No Comments »

To get a CSV file, from you exchange with full access and send as permission, from all you mailboxes run these commands: Full Access Get-Mailbox | Get-MailboxPermission | where {$_.user.tostring() -ne "NT AUTHORITY\SELF" -and $_.IsInherited -eq $false} | Select Identity,User,@{Name='Access Rights';Expression={[string]::join(', ', ...

Revert to snapshot causes virtual machine to be suspended

Tuesday, May 8th, 2012 Posted in ESXi | No Comments »

Error: host cpu is incompatible with the virtual machine's requirements at cpuid level 0x1 Details If you take a snapshot of the virtual machine and then VMotion or cold-migrate the virtual machine to another host that uses a different CPU model and/or family, you ...

Citrix Provisioning Server “An unexpected MAPI error occurred.” when you try to change an image mode

Tuesday, May 8th, 2012 Posted in Citrix | No Comments »

When you change the mode from private to standard, you may get this error: “An unexpected MAPI error occurred.”. If you click on "More details", there stand: ”Failed to map vDisk, no Driver.". The solution to this problem could be, changing the the ...

Delete mails from a sender or to recipient address

Monday, May 7th, 2012 Posted in Postfix | No Comments »

Here is a simple script "pfdel" that can be use to delete a mail from a sender or recipient address. Save the perl script as pfdel in /usr/local/bin and chmod +x /usr/local/bin/pfdel Then you can use the perl script as: pfdel 123test@test.com ...

Show number of mails in queue

Monday, May 7th, 2012 Posted in Postfix | No Comments »

[crayon-4fb710557b71b/] [crayon-4fb710557b7c3/]

There is not enough space available on the disk(s) to complete this operation

Saturday, March 31st, 2012 Posted in Windows | No Comments »

When you want to resize the disk in Windows 7, server 2008 or server 2008 R2, you might get this warning: Error: there is not enough space available on the disk(s) to complete this operation This could be fixed by the following ...

Get number of files in current directory in linux

Friday, March 30th, 2012 Posted in Andet, Linux | No Comments »

You can use this command to get the list of the number of file in current directory [crayon-4fb710557bba3/] [crayon-4fb710557bc4a/] [crayon-4fb710557bcee/] [crayon-4fb710557bd99/]

Change SQL Collation

Friday, March 23rd, 2012 Posted in MSSQL | No Comments »

Steps for chaning Collation: Take backup of Databases and logins. Detach all databases execpt system databases. (All users databases) Find the SQL server installation path (Root of the CD) Run this command: Setup /QUIET /ACTION=REBUILDDATABASE /INSTANCENAME=MSSQLServer /SAPWD=Qwerty123 /SQLSYSADMINACCOUNTS="administrator" /SQLCollation=SQL_Scandinavian_Cp850_CS_AS /QUIET - Run it as a sillent ...