Skip to content

Instantly share code, notes, and snippets.

View node-red-example-device_tracker.see-flow
"id": "3195e36b.99fe1c",
"type": "tab",
"label": "Example",
"disabled": false,
"info": ""
"id": "e898cdb8.33c14",
View snmp.yml
version: 2
community: public
- name: vSidx
View Hyper-V-VM-Storage-Optimization.ps1
function Start-VMStorageOptimization {
Function to optimize storage usage on CSV volumes by using Hyper-V Live Storage Migration.
If you use dynamic virtual disks with VMs, you may need to monitor free space on your CSV volumes.
View csv-to-prom.ps1
# variables
$promLocation = "C:\Program Files\wmi_exporter\textfile_inputs\csv.prom"
Import-Module FailoverClusters
$clustername = Get-Cluster
$objs = @()
$CurrentFree = @{}
View Office 365 - Enable calendar processing.ps1
# The following script enables the calendar processing feature for a shared mailbox
$UserCredential = Get-Credential
$Identity = Read-Host -Prompt "Please enter the identity for which you want to enable calendar processing"
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session
get-mailbox $Identity | set-mailbox -type room
Set-CalendarProcessing -Identity $Identity -AutomateProcessing AutoAccept -AllBookInPolicy $true Optional -AllowConflicts $true
get-mailbox $Identity | set-mailbox -type shared
Remove-PSSession $Session
View gist:f416d9d69b4d1887caec
### Keybase proof
I hereby claim:
* I am smaroovers on github.
* I am smaroovers ( on keybase.
* I have a public key whose fingerprint is 72E0 9616 90C2 A4D7 E269 6A5E FD06 4793 1C4C 9818
To claim this, I am signing this object: