Kenneth Dalbjerg Blog

0

Compiling Linux Kernel 3.6.X the debian/ubuntu way for Hyper-V

Here is a guide to compile a kernel 3.6.X kernel for hyper-v the debian way.

0

Linux find hidden files in path

If you want to find any hidden files (Files with a dot first), you can use this command:

You can change ./ to be /var/www to find any hidden files in /var/www

0

Problems with a shell script running from cron

If you have a shellscript thats run okay from shell, but not will running from cron, run this command (This is what it looks like when cron run it)

 

0

Search in Message Tracking log with wildcard

If you want to search the last 72 hours after mails sent to email recepitions on domain kennethdalbjerg.dk, you can run this command

0

Xenserver – Moving VM “VDINAME” to “VDINAME” on “Storage” This operation cannot be performed because this VDI OpaqueRef:8d37bee1-f85b-fb22-e47e-1b8f48b68b84 is in use by some other operation – copy

I have this error: Moving VM “VDINAME” to “VDINAME” on “Storage” This operation cannot be performed because this VDI OpaqueRef:8d37bee1-f85b-fb22-e47e-1b8f48b68b84 is in use by some other operation – copy When i was try moving...

0

Xendesktop 5 – Log off disconnected users after a certain time

Example: If you want to log off user after 120 minutes of disconnect time. You can set this up though Powershell

 

0

Xendesktop 5 – Change logoff behavior

If you want to change a desktop group logoff behavior, this is done by PowerShell. To turn off shutdown af use:

To turn on shutdown af use:

If you need to get...

0

Citrix Xenconvert failed with Failed to discover 1 of 2 volumes on the destination disk! or Enable Automount on windows server Enterprise edition and run Disk Management once to take effect

Today i should convert a machine with XenConvert to XenServer, but it come with these errors: Failed to discover 1 of 2 volumes on the destination disk! Enable Automount on windows server Enterprise edition...

0

Kill all process from ps and grep

This command will kill all instance from

0

Get mailbox sizes and export them to CSV/Excel

if you want to export all you mailboxes sizes to CSV/Excel, you can run this command in you powershell: