Windows 10 Windows Central has a article on getting Cortana to do custom commands.