Skip to content

Instantly share code, notes, and snippets.

@dmissp
dmissp / get-catfact.ps1
Created Nov 13, 2019
Grab a random catfact from catfact.ninja
View get-catfact.ps1
function get-catfact {
<#
.SYNOPSIS
Grab a random catfact from catfact.ninja.
.DESCRIPTION
Grabs a random catfact from catfact.ninja and either says it using speechsynth, or displays to the screen.
.PARAMETER say
Speaks the cat fact
You can’t perform that action at this time.