This file contains 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) <jborean93@gmail.com> | |
# 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 |
This file contains 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 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 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
2022-05-06 17:32:25,178 26604 [DEBUG] - XmlConfiguration is now operational | |
2022-05-06 17:32:25,254 26604 [INFO ] - ============================================================ | |
2022-05-06 17:32:25,414 26604 [DEBUG] - User may be subject to UAC, checking for a split token (not 100% | |
effective). | |
2022-05-06 17:32:25,439 26604 [DEBUG] - Chocolatey is running on Windows v 10.0.19043.0 | |
2022-05-06 17:32:25,441 26604 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old". | |
2022-05-06 17:32:25,442 26604 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old". | |
2022-05-06 17:32:25,449 26604 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" outdated -r | |
2022-05-06 17:32:25,450 26604 [DEBUG] - Received arguments: outdated -r | |
2022-05-06 17:32:25,494 26604 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage. |