IPTVProvider's Xtreme API Credentials --> iptvproxy (converts xtreme api to .m3u file) --> xteve --> Plex Live TV
ScheduesDirect --> xteve (version from taylorbourne) runs a cronjob every hour to keep programming up to date
## authenticate | |
curl --request GET --url https://api.planningcenteronline.com/api/v2/personal_access_tokens --header `authorization: Bearer PUTTHEACCESSTOKENHERE` | |
## get checkin and list first name | |
curl https://api.planningcenteronline.com/check-ins/v2/check_ins | jq .attributes.first_name |
# Set file and folder path for SSMS installer .exe | |
$folderpath=$ENV:TEMP | |
$filepath="$folderpath\SSMS-Setup-ENU.exe" | |
$URL = "https://aka.ms/ssmsfullsetup" | |
$clnt = New-Object System.Net.WebClient | |
$clnt.DownloadFile($url,$filepath) | |
Start-Process -FilePath $filepath -ArgumentList @( | |
"/Install", |
# Copyright 2019, Alexander Hass | |
# https://www.hass.de/content/setup-microsoft-windows-or-iis-ssl-perfect-forward-secrecy-and-tls-12 | |
# | |
# After running this script the computer only supports: | |
# - TLS 1.2 | |
# | |
# Version 3.0.1, see CHANGELOG.txt for changes. | |
Write-Host 'Configuring IIS with SSL/TLS Deployment Best Practices...' | |
Write-Host '--------------------------------------------------------------------------------' |
function Search-M3UFile { | |
[CmdletBinding()] | |
param ( | |
[string[]] | |
$Filter, | |
[string] | |
$Path | |
) | |
IPTVProvider's Xtreme API Credentials --> iptvproxy (converts xtreme api to .m3u file) --> xteve --> Plex Live TV
ScheduesDirect --> xteve (version from taylorbourne) runs a cronjob every hour to keep programming up to date
$reportpath = "$ENV:Temp\ADReport.htm" | |
if ((test-path $reportpath) -like $false) { | |
new-item $reportpath -type file | |
} | |
$smtphost = "RDUSMTP" | |
$from = "no_reply@weee.local" | |
$email1 = "jmoss@weee.com" | |
$timeout = "60" |
$modules = @( | |
"ImportExcel", | |
"PoshRSJob", | |
"PowershellGet", | |
"Invoke-CommandAs", | |
"PSFramework", | |
"Posh365" | |
) | |
## Force TLS 1.2 |
## install homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
## install zulu via brew | |
brew install --cask zulu | |
## create new dir for dataloader and swt | |
mkdir -p ~/dataloader | |
mkdir -p ~/swt_m1 | |
## download dataloader | |
curl -L https://github.com/forcedotcom/dataloader/files/6172623/dataloader_mac_arm64.zip --output ~/dataloader/dataloader.zip | |
## download swt to ~/swtm1 .. (I can't get cURL to work for the swt.zip m1 zip) and unzip it |
# Check for Homebrew, | |
# Install if we don't have it | |
if test ! $(which brew); then | |
echo "Installing homebrew..." | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi | |
# Update homebrew recipes | |
echo "Updating homebrew..." | |
brew update |
[CmdletBinding()] | |
param( | |
[Parameter( Mandatory, Position = 1, ValueFromPipelineByPropertyName, ValueFromPipeline )] | |
[Alias( 'HostName', 'Server' )] | |
[string[]] | |
$ComputerName, | |
[System.DirectoryServices.ActiveDirectory.SyncFromAllServersOptions] | |
$SyncOptions = @( 'CrossSite', 'PushChangeOutward', 'SkipInitialCheck' ), |