Skip to content

Instantly share code, notes, and snippets.

😓
Head under water

Aaron Parker aaronparker

😓
Head under water
Block or report user

Report or block aaronparker

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@aaronparker
aaronparker / install-istatserver.sh
Last active Aug 21, 2019
Installing iStat Server for Linux on raspbian
View install-istatserver.sh
# https://bjango.com/help/istat3/linuxpackages/
# Commands used to install iStat Server for Linux on a Raspbery Pi running Raspbian
# Update Raspbian
# sudo apt-get update
# sudo apt-get upgrade
# Install dependencies
sudo apt-get install automake
sudo apt-get install libxml2-dev
@aaronparker
aaronparker / Disable-AzureADUserPasswordExpiration.ps1
Last active Feb 9, 2019
Disable password expiration for an individual Azure AD account
View Disable-AzureADUserPasswordExpiration.ps1
# Install the Azure AD module and log into Azure AD
Install-Module AzureADPreview
Connect-AzureAD
# Get details of the specific account
$user = Get-AzureADUser -SearchString "user@domain.com"
# View password policy on the acccount
$user | Select-Object @{N = "PasswordNeverExpires"; E = {$_.PasswordPolicies -contains "DisablePasswordExpiration"}}
@aaronparker
aaronparker / Switch-EmsLicenses.ps1
Created Dec 1, 2018
Find users registered in Intune with EMS E3 and replace with EMS E5 licenses
View Switch-EmsLicenses.ps1
# Connect to Office 365
Connect-MsolService
# Get specific user accounts
Get-MsolUser -UserPrincipalName "bill.murray@stealthpuppy.com"
# Get license SKUs
Get-MsolAccountSku
# EMS licenses
@aaronparker
aaronparker / Get-AdobeReaderUrl.ps1
Created Sep 15, 2018
Get download URLs for Adobe Reader DC for Windows and macOS
View Get-AdobeReaderUrl.ps1
Function Get-AdobeReaderUrl {
[CmdletBinding()]
Param (
[Parameter(Mandatory = $False)]
[string] $Uri = "https://armmf.adobe.com/arm-manifests/mac/AcrobatDC/reader/current_version.txt",
[Parameter(Mandatory = $False)]
[ValidateSet('win', 'mac')]
[string] $Platform = "win"
)
@aaronparker
aaronparker / AdobeReaderVersionUrls.txt
Created Sep 15, 2018
Adobe Acrobat / Reader current version URLs
View AdobeReaderVersionUrls.txt
Urls:
https://armmf.adobe.com/arm-manifests/mac/AcrobatDC/reader/current_version.txt
https://armmf.adobe.com/arm-manifests/mac/Acrobat2017/reader/current_version.txt
https://armmf.adobe.com/arm-manifests/mac/Acrobat2015/reader/current_version.txt
https://armmf.adobe.com/arm-manifests/mac/ServicesUpdater/reader/DC/current_version.txt
https://armmf.adobe.com/arm-manifests/mac/ServicesUpdater/reader/2017/current_version.txt
https://armmf.adobe.com/arm-manifests/mac/ServicesUpdater/reader/2015/current_version.txt
@aaronparker
aaronparker / Get-ChromeVersions.ps1
Last active Aug 21, 2019
Get latest Google Chrome versions from public JSON feed
View Get-ChromeVersions.ps1
Function Get-ChromeVersion {
[CmdletBinding()]
Param (
[Parameter(Mandatory = $False)]
[string] $Uri = "https://omahaproxy.appspot.com/all.json",
[Parameter(Mandatory = $False)]
[ValidateSet('win', 'win64', 'mac', 'linux', 'ios', 'cros', 'android', 'webview')]
[string] $Platform = "win",
@aaronparker
aaronparker / Get-DigitalSignatures.ps1
Last active Aug 21, 2019
Get digital signatures from files in a target folder.
View Get-DigitalSignatures.ps1
<#
.SYNOPSIS
Get digital signatures from files in a target folder.
.DESCRIPTION
Gets digital signatures from .exe and .dll files from a specified path and sub-folders.
Retreives the certificate thumbprint, certificate name, certificate expiry, certificate validity and file path and outputs the results.
Output includes files that are not signed.
.NOTES
@aaronparker
aaronparker / Get-AzureBlobItems.ps1
Last active May 13, 2019
Get-AzureBlobItems function to return an array from a list of files in an Azure blob storage container.
View Get-AzureBlobItems.ps1
Function Get-AzureBlobItems {
<#
.SYNOPSIS
Returns an array of items and properties from an Azure blog storage URL.
.DESCRIPTION
Queries an Azure blog storage URL and returns an array with properties of files in a Container.
Requires Public access level of anonymous read access to the blob storage container.
Works with PowerShell Core.
@aaronparker
aaronparker / Get-CitrixReceiverVersion.ps1
Last active Aug 21, 2019
Method to get the latest Citrix Receiver version from the public download page. Works on Windows PowerShell and PowerShell Core
View Get-CitrixReceiverVersion.ps1
Function Get-CitrixReceiverVersions {
<#
.SYNOPSIS
Gets the current available Citrix Receiver release versions.
.DESCRIPTION
Reads the public Citrix Receiver web page to return an array of Receiver platforms and the available versions.
Does not provide the version number for Receiver where a login is required (e.g. HTML5, Chrome)
.NOTES
@aaronparker
aaronparker / Set-RedirectOneDriveTask.ps1
Last active Dec 27, 2017
Creates a scheduled task to redirect folders into the OneDrive sync folder at logon
View Set-RedirectOneDriveTask.ps1
<#
.SYNOPSIS
Creates a scheduled task to enable folder redirection into OneDrive
#>
# Variables
$Url = "https://gist.githubusercontent.com/aaronparker/cf124f13bb58d95342707527900d307b/raw/e4683d9bf95c5ac77c6d2d43b5f2454185cf1e55/Redirect-FoldersOneDrive.ps1"
$Target = "$env:ProgramData\Scripts"
$Script = "Redirect-FoldersOneDrive.ps1"
You can’t perform that action at this time.