I hereby claim:
- I am steviecoaster on github.
- I am steviecoaster (https://keybase.io/steviecoaster) on keybase.
- I have a public key ASAkTmyMBHZACWCaR9NaOul6cuOhuucZnNnjUZRxXXIqDQo
To claim this, I am signing this object:
| function New-EncryptedEnvironmentVariable { | |
| <# | |
| .SYNOPSIS | |
| Writes an Environment variable as a secure string using DPAPI | |
| .DESCRIPTION | |
| Writes an Environment variable as a secure string using DPAPI | |
| .PARAMETER Scope | |
| The scope of the variable. Can be machine, user, or process |
| function Merge-Csv { | |
| <# | |
| .SYNOPSIS | |
| Merge the data from multiple csv files into one | |
| .DESCRIPTION | |
| Merge data from multiple csv files into one. Data from each file should be the same shape | |
| .PARAMETER CsvFile | |
| The path to two or more csv files to combine |
I hereby claim:
To claim this, I am signing this object:
| function New-QueryString { | |
| <# | |
| .SYNOPSIS | |
| Turn a hashtable into a URI querystring | |
| .DESCRIPTION | |
| Turn a hashtable into a URI querystring | |
| .PARAMETER QueryParameter | |
| The hashtable to transform |
| function Set-CollectionOrder { | |
| [CmdletBinding()] | |
| Param( | |
| [Parameter(Mandatory)] | |
| [System.Collections.Generic.List[string]] | |
| $Collection, | |
| [Parameter(Mandatory)] | |
| [String] | |
| $Item, |
| function Set-ProGetSslConfig { | |
| <# | |
| .SYNOPSIS | |
| Updates the ProGet configuration file and restarts the ProGet services. | |
| .DESCRIPTION | |
| This script updates the ProGet configuration file with specified parameters, handles SSL certificate settings, and restarts the ProGet services. It processes parameters, updates the XML configuration file, and ensures the correct attributes are set. | |
| .PARAMETER ConfigFile | |
| Specifies the path to the ProGet configuration file. Default is 'C:\ProgramData\Inedo\SharedConfig\ProGet.config'. |
| function ConvertFrom-WinGetManifest { | |
| <# | |
| .SYNOPSIS | |
| Generates a Chocolatey install script for a WinGet manifest | |
| .DESCRIPTION | |
| Generate a Chocolatey package from a WinGet manifest, even though it'll probably already be on the CCR. | |
| .PARAMETER WinGetManifestRawUrl | |
| The Github raw url of the WinGet YAML manifest |
| format = """ | |
| $directory$git_branch$git_commit$git_state$git_status$cmd_duration | |
| $character""" | |
| # Get editor completions based on the config schema | |
| "$schema" = 'https://starship.rs/config-schema.json' | |
| # Inserts a blank line between shell prompts | |
| add_newline = false | |
| # Disable the package module, hiding it from the prompt completely |
| #Setup variables | |
| $ErrorActionPreference = 'Stop'; | |
| $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" | |
| $url = 'https://server:8443/repository/choco-install/Fabrikam_Office_Setup.iso' | |
| $isoChecksum = 'c3a5c0d10747f80d0e60767b92a8ee4e8f0bdc5067b8747368fcf322926f887c' | |
| $destination = Join-Path $toolsDir -ChildPath 'Fabrikam_Office_Setup.iso' | |
| $officetempfolder = Join-Path $env:Temp 'chocolatey\Office365ProPlus' | |
| #Download iso from URL |