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 | |
Generate a cacerts.crt file. This allows you to use Requests with an SSL Termination proxy your machine already trusts | |
#> | |
[CmdletBinding()] | |
Param( | |
$Path = "C:\Tools\cacerts.crt" | |
) | |
$Output = "" | |
$Certs = Get-ChildItem -Path Cert:\CurrentUser\Root |
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
#!bin/bash | |
# Adds the Comodo Cert to Citrix Workspace location, so you can use Thomson Reuters applications. | |
curl https://support.comodo.com/index.php?/Knowledgebase/Article/GetAttachment/969/821026 >> /opt/Citrix/ICAClient/keystore/cacerts/Comodo.pem |
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 | |
CSV_Filter takes a CSV and returns a new one based off a filter | |
.DESCRIPTION | |
A simple script to return a filtered CSV. The matching is wildcard (so X will find X AND exhibit) | |
Please note this is not robust. If you give it a column that doesn't exist, output is empty. It will fail if the input CSV doesn't exist | |
.PARAMETER Input_CSV | |
The path to the CSV you want to ingest and filter. You must specify this. |
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 | |
This PowerShell script is designed to install the latest Datadog agent seamlessly on windows | |
.PARAMETER APIKey | |
The API Key for your datadog installation. Contact support if you don't have one! | |
.PARAMETER Location | |
Where the MSI should be dropped. Defaults to C:\Windows\temp |
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
{ | |
"schemaVersion":"2.2", | |
"description":"Installs Datadog.", | |
"parameters":{ | |
"workingDirectory":{ | |
"type":"String", | |
"default":"/tmp", | |
"description":"(Optional) The path to the working directory on your instance.", | |
"maxChars":4096 | |
}, |
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
{ | |
"schemaVersion":"2.2", | |
"description":"Installs Instana.", | |
"parameters":{ | |
"workingDirectory":{ | |
"type":"String", | |
"default":"/tmp", | |
"description":"(Optional) The path to the working directory on your instance.", | |
"maxChars":4096 | |
}, |
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
[CmdletBinding()] | |
<# | |
.SYNOPSIS | |
This script builds an XL Release support package. it is designed to be used when you run as a service, since Windows locks certain key files. | |
.PARAMETER PackageName | |
The name of the output zip | |
.PARAMETER TempName | |
The Name of the temporary file generated (defaults to GetDate) |
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
print("Hello World") |
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
#!/bin/bash | |
#If path given as argument, that is used as the starting point. Else it starts from . | |
if [ -z "$1" ]; then | |
1="." | |
fi | |
echo "{" | |
SEP="" | |
find "${1}" | while read DIR | |
do | |
stat "${DIR}" -c "$SEP\"%n\":\"%a\"" |
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 Uninstall-Program{ | |
<# | |
.SYNOPSIS | |
Uninstalls Windows Programs using display name | |
.Parameter DisplayName | |
String match for the programs to uninstall. Accepts pipeline input | |
#> | |
[CmdletBinding()] | |
Param( |
NewerOlder