Tag Archives: files

VMware: Unmount a datastore/volume from an ESXi Server at command line

Hi,

these steps describe the steps to unmount an datastore from an ESXi host. If you tried it with the GUI and you got an error:

The resource ‘my_esxdatastore’ is in use. Cannot unmount volume ‘esxdatastore_F00’ because “One or more virtual machines are still registered on it”.
Continue reading VMware: Unmount a datastore/volume from an ESXi Server at command line

Advertisment to support michlstechblog.info

Windows: Adobe flash player files have an outdated version

Hi,

since Windows 8/Server 2012 Microsoft delivers the Adobe Flash Player with it Operating System.
Continue reading Windows: Adobe flash player files have an outdated version

PDF: Merge multiple PDF Files

Hi,

the Standard PDF Viewer Adobe Acrobat Reader has no edit function, therefore a merge of multiple pdf files is also not possible.
Continue reading PDF: Merge multiple PDF Files

Windows: Cleanup files from WSUS which are no longer needed

Hi,

the content of an WSUS Server crows every month for several GiBytes because WSUS does held all files which has the approval state “install”.
Continue reading Windows: Cleanup files from WSUS which are no longer needed

Linux: HEX edit and diff in a shell

Hi,

let us assume you want to edit a binary file /tmp/binfile and you want to replace all strings matches to “sda” by “hda”.

gnu sed can edit bin files by the \xnn hex notation. The option –in-place changes the original file and makes a backup copy with a file extension .org

michael@devdeb ~#  sed -e 's/\x73\x64\x61/\x68\x64\x61/g' /tmp/binfile --in-place=.org

Continue reading Linux: HEX edit and diff in a shell