PowerShell Cron Script

I was looking for a way to schedule jobs and yes windows has a task scheduler built in, however I wanted a bit more flexibility and less complexity. On the unix platform you can use cron. It is a scheduler that uses a simple format to define the time when the process should start and the process command. I was going to look at using it when I thought about the parsing that would be needed, I dod not want a system that much that I would write a cron parser....

January 22, 2021 · 3 min · Jon Bullen

Work at home and being a team

Now that we are dealing with COVID-19, a lot of companies are getting their employees to work remotely. For some this will be great and for other who crave social interaction not so great. For me the key thing is making sure that my team feels like a team still. Keeping the routine going is pretty important. For yourself and your team. There are lots of great posts about this so I will just list the key points....

March 13, 2020 · 3 min · Jon Bullen

Running Home Assistant on Pine64

This is a dump of me setting up Home Assistant on a Pine64 board I have. I am used to OpenHAB and have created bindings for it so this should be a new challenge and a way to see how well it works. The reason I am heading towards Home Assistant is the components it support fit some of my needs better. Also time to get to know python better :)...

August 19, 2016 · 2 min · Jon Bullen

Setting up Mosquitto on your Pi as part of the home hub

To enable all your nodes to communicate we are using a protocol called MQTT, on the pi we are using Mosquitto as the broker to support this. The broker allows nodes to publish information or subscribe to get information when it is published. MQTT uses simple channels to dictate where messages go, here are some examples: HOME/Garage/DoorOne/State HOME/Garage/DoorTwo/State HOME/Garage/Temperature The structure of the channel is up to you, just keep it short and logical!...

October 25, 2015 · 2 min · Jon Bullen

Setting up a Pi with a NRF24L01+ Radio

I’m using my PI as the central hub running OpenHAB, a MQTT broker and other services for home automation. On the Pi I am using a NRF24L01+pa+lna SMA Antenna Wireless Transceiver, this provide more range (1000m) from my main unit. All the nodes in the network will be running on Arduino chips and using a Mesh network so the house should have good coverage. First, wiring in the NRF24L01 to the Pi....

October 25, 2015 · 2 min · Jon Bullen

Dealing with Internet Explorer ‘Continue to this website’ option missing

Found the work around here: http://blog.oracle48.nl/internet-explorer-10-continue-to-this-website-option-missing/ To skip all the text on this page to the command one needs to unblock this restriction and for example set the minimum key length to 512; run the following in a elevated command line (cmd.exe ‘run-as-administrator’): certutil -setreg chain\minRSAPubKeyBitLength 512 Now the “Continue to this website (not recommended).” is back If you want to revert this change and go back to the default of an 1024 bit key minimum, run:...

December 19, 2014 · 1 min · Jon Bullen

Windows 8 Release Preview with eeePC T101MT

I have followed the same steps with the new build from Windows 8 Consumer Preview with Eee PC T101MT and it is still valid.

June 8, 2012 · 1 min · Jon Bullen

Windows 8 Consumer Preview with Eee PC T101MT

I have a Eee PC T101MT and wanted to run Windows 8 on it. The same steps can be run on the Consumer Preview Time to tweak the graphics! As the resolutions is only 600 not 768 in vertical you need to do the following. Type in regedit, you will then be shown a icon of regedit click/press on it or press Win + R to get the run prompt....

March 3, 2012 · 2 min · Jon Bullen

Running Windows 8 on the Eee PC T101MT

I have a Eee PC T101MT and wanted to run Windows 8 on it. This entry takes you through the steps. Download the Windows 8 Preview @ http://msdn.microsoft.com/en-us/windows/apps/br229516 I downloaded the 32-bit version as it was smaller and I only have 2Gb on the machine. :) Go to the Microsoft Store and download the Windows 7 USB/DVD download tool @ http://www.microsoftstore.com/store/msstore/html/pbPage.Help_Win7_usbdvd_dwnTool this will allow you to put the ISO on a bootable USB key....

November 19, 2011 · 2 min · Jon Bullen

Simple way to store credentials in Powershell

I know this is not the most secure way to store credentials but it works and is simple to manage. I use this when I need creds stored for accessing web based resources. To use it run the following: [code lang=“ps”] #To set Credentials Set-MyCredential -File c:\temp\thecreds.dat #To get Credentials $creds = Get-MyCredential -User domain\user -File c:\temp\thecreds.dat function Set-MyCredential($File) { $Credential = Get-Credential $credential.Password | ConvertFrom-SecureString | Set-Content $File } function Get-MyCredential($User, $File) { $password = Get-Content $File | ConvertTo-SecureString $credential = New-Object System....

September 24, 2011 · 1 min · Jon Bullen