Archive for May, 2021
Upgrade from LSI Logic SAS adapter to VMWare Paravirtual on existing VM
by Brian on May.25, 2021, under Computer Stuff, General Info, Linux, Windows Info
By default, when you add a hard drive to a VMWare virtual machine, the SCSI adapter default choice is LSI Logic SAS. For speed and optimization, the VMWare Paravirtual driver is the better choice. However, you need to have the driver installed in the guest OS before just flipping your controller to a new type. If you just change the controller type to VMWare Paravirtual, and the driver is not installed in the guest OS, your VM may not boot.
- Edit settings on the VM, and add a new SCSI controller to slot 1, selecting “VMWare Paravirtual” as the type.
- Add a 1gb disk to the VM, adding it to the new slot 1 controller you created in step 1.
- Check compmgmt.msc on the VM to ensure that you see the new SCSI controller driver under “Storage Controllers”
- Optionally, update the driver on the guest OS by searching online for an updated version. I found one from 2019.
- Shut the machine down, and edit settings again. Remove the 1gb disk you created earlier.
- Click on the old SCSI controller in slot 0 and expand it. Change the type to “VMware Paravirtual”
- Remove the additional SCSI controller added in step 1.
- Click OK, and boot the server again.
- Once the server is booted, it should report that it found and installed a new driver, (again) and will request a reboot.
- Reboot the server.
Office365 Content Search for External Recipients
by Brian on May.17, 2021, under Computer Stuff, General Info, Windows Info
Recently, I was asked to find all emails sent to and from a particular user, from an external email address. The mailbox exists in Office365, so I hopped into Compliance Center, and started a new Content Search. In trying to fill out the form for the recipient, or participant, I realized that I could not choose or enter an external email address. When I try to enter an external SMTP address, it says that there is “No User Chosen”, and you cannot continue with creating the search.
To get around this, you can enter your search parameters in the “Keywords” box, and ignore the other fields, like so:
KEYWORDS:
(date=2019-07-30..2020-09-17)(senderauthor=localuser@localdomain.com)(senderauthor=remoteuser@externaldomain.com)(participants=localuser@localdomain.com)(participants=remoteuser@externaldomain.com)(participants=remoteuser2@otherexternaldomain.com)
Find and delete a file on ALL drives using powershell
by Brian on May.05, 2021, under Computer Stuff, Windows Info
In the example below, replace filename.txt with the file you’d like deleted. It will be removed from all drives.
get-psdrive -PSProvider filesystem | ForEach-Object { Get-Childitem -Path $_.Root -Filter filename.txt -recurse | Remove-Item -force}