Remove byte-order mark from the beginning of the file

When a file is saved with BOM (byte-order mark) on a Mac or Linux machine Windows PowerShell cannot execute the script. Unfortunately the “cat” command does not show the byte-order mark at the beginning of the file. Some editors show a question mark at the beginning of the file. I have discovered it when I […]

Clear cookies and site data of one site in Chrome

Some sites do not load properly when old cached data is stored in the web browser. To clear the cached images, cookies and other site related data for one specific site in Chrome Start Chrome The quick and easy way Navigate to chrome://settings/siteData In the upper right corner search for the site name Click the […]

MSSQL database migration to another database server

When a database is migrated to another server by copying the database file or restoring it from a backup file, the original database user account references are also carried with it. Those accounts contain the account IDs specific to the original database server. To provide access to the restored database on the new database server […]

RuntimeError: Volume vol-… attached at xvdf but does not conform to this resource’s specifications

When the Chef aws cookbook’s ebs_volume.rb resource tries to bring a volume online, partition, and format it we get the error message: RuntimeError: Volume vol-… attached at xvdf but does not conform to this resource’s specificationsC:/chef/cache/cookbooks/aws/resources/ebs_volume.rb:46:in `block in class_from_file’ Make sure the “size” attribute value in the aws_ebs_volume resource call matches the actual size of […]

The installation of this package failed

When we tried to install the Microsoft Access Database Engine and Office 2007 System Driver on a Windows Server 2016 an error message popped up immediately: The installation of this package failed When we ran the installation with the logging option, we have found a message at the bottom of the file: Will create the […]

Invoke-WebRequest : The request was aborted: Could not create SSL/TLS secure channel.

Older PowerShell versions do not use TLS1.2 as the default version during the SSL handshake. When the API requires TLS1.2 the rrror message appears:  Invoke-WebRequest : The request was aborted: Could not create SSL/TLS secure channel.  To force PowerShell to use TLS1.2 during the SSL handshake, issue this command before executing the Invoke-Webrequest