This file contains hidden or 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
Verifying that +aaronparker is my blockchain ID. https://onename.com/aaronparker |
This file contains hidden or 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
$Cred = Get-Credential | |
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $Cred -Authentication Basic -AllowRedirection | |
Import-PSSession $Session | |
Set-OrganizationConfig -OAuth2ClientProfileEnabled $true |
This file contains hidden or 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
$Cred = Get-Credential | |
$session = New-CsOnlineSession -Credential $cred -Verbose -OverrideAdminDomain home.stealthpuppy.com | |
Import-PSSession $Session | |
Set-CsOAuthConfiguration -ClientAdalAuthOverride Allowed |
This file contains hidden or 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
body{ | |
font-family:'Segoe UI','Regular'; | |
background-color:#E6E6E6; | |
color:#000; | |
font-size:11pt; | |
margin:0px; | |
padding:0px; | |
overflow:hidden; | |
} | |
.header,.description,.confirm-btn{ |
This file contains hidden or 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 | |
Sets a known folder's path using SHSetKnownFolderPath. | |
.PARAMETER KnownFolder | |
The known folder whose path to set. | |
.PARAMETER Path | |
The target path to redirect the folder to. | |
.NOTES | |
Forked from: https://gist.github.com/semenko/49a28675e4aae5c8be49b83960877ac5 | |
#> |
This file contains hidden or 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 | |
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" |
This file contains hidden or 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 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. | |
This file contains hidden or 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 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 |
This file contains hidden or 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
# Connect to Office 365 | |
Connect-MsolService | |
# Get specific user accounts | |
Get-MsolUser -UserPrincipalName "[email protected]" | |
# Get license SKUs | |
Get-MsolAccountSku | |
# EMS licenses |
OlderNewer