Skip to content

Instantly share code, notes, and snippets.

View huntsman95's full-sized avatar
🖥️
Working on something cool

Hunter Klein huntsman95

🖥️
Working on something cool
  • Zivaro, Inc.
  • Colorado
View GitHub Profile
@RylandDeGregory
RylandDeGregory / AzureTablesREST.ps1
Last active June 10, 2024 22:01
Azure Table Storage REST operations using PowerShell.
$StorageAccount = ''
$Table = ''
$PartitionKey = ''
$RowKey = ''
# Set Azure Table Storage request headers
$Date = [DateTime]::UtcNow.ToString('R')
$AzTableHeaders = @{
'Accept' = 'application/json;odata=nometadata'
'x-ms-version' = '2020-08-04'
@joerodgers
joerodgers / Invoke-SharePointUnifiedAuditLogSearch.ps1
Last active January 4, 2024 16:55
Example how to search the unified audit log for SharePoint
#requires -modules "ExchangeOnlineManagement"
[System.Net.Http.HttpClient]::DefaultProxy.Credentials = [System.Net.CredentialCache]::DefaultCredentials
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12
function Invoke-SharePointUnifiedAuditLogSearch
{
[CmdletBinding()]
param
(
@mondain
mondain / public-stun-list.txt
Last active June 21, 2024 04:54
Public STUN server list
23.21.150.121:3478
iphone-stun.strato-iphone.de:3478
numb.viagenie.ca:3478
s1.taraba.net:3478
s2.taraba.net:3478
stun.12connect.com:3478
stun.12voip.com:3478
stun.1und1.de:3478
stun.2talk.co.nz:3478
stun.2talk.com:3478
@potatoqualitee
potatoqualitee / Get-Duplicates.ps1
Last active October 24, 2023 22:00
Get Duplicates from PowerShell Datatable using LINQ
# Create Datatable
$dt = New-Object System.Data.Datatable "Music"
[void]$dt.Columns.Add("Artist")
[void]$dt.Columns.Add("Genre")
[void]$dt.Columns.Add("Album")
[void]$dt.Columns.Add("ReleaseYear")
# Add data
[void]$dt.Rows.Add("Poison","Glam Metal","Open Up and Say... Ahh!",1988)
[void]$dt.Rows.Add("Cinderella","Night Songs","Flesh & Blood",1986)