This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Search-Giphy { | |
<# | |
.SYNOPSIS | |
Fetches Gif Information and direct Gif Links from Giphy, a meme delivery service | |
.DESCRIPTION | |
This is a frontend to the Giphy API to find and request gifs from Giphy. It implements the API described here: https://developers.giphy.com/docs/api/ | |
.EXAMPLE | |
PS> Search-Giphy | |
Returns a random gif information object | |
title bitly_url username source |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Get Installed Software | |
.DESCRIPTION | |
Gets uninstall registry location with the Registry library | |
.NOTES | |
Information or caveats about the function e.g. 'This function is not supported in Linux' | |
.LINK | |
https://github.com/SeeminglyScience/dotfiles/blob/eb62bb91eb889c290d607c8f57762a9ec1cedbe4/Documents/PowerShell/Utility.psm1#L327 | |
.EXAMPLE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright: (c) 2022, Jordan Borean (@jborean93) <[email protected]> | |
# MIT License (see LICENSE or https://opensource.org/licenses/MIT) | |
<#Check if loaded to make dot-source testing easier#> | |
if(-not ('Wtsapi32.Native' -as [type])){ | |
Add-Type -TypeDefinition @' | |
using System; | |
using System.Runtime.InteropServices; | |
namespace Wtsapi32 |