This file contains 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
$global:HostVar = $Host | |
$Branch = "test" | |
$Version = "v0.0.7" | |
$Title = @" | |
GIST - Gist Intune Script Trigger $Version ($Branch) by https://x.com/MrWyss | |
Source: https://github.com/MrWyss-MSFT/gist | |
`u{1F195}: New Menu by jonasgit & directly call scripts by number (e.g. iwr gist.ittips.ch/5 | iex) | |
"@ | |
$GistCatalog = @( |
This file contains 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
#requires -RunAsAdministrator | |
(Get-CimInstance -Namespace root/cimv2/mdm/dmmap -Class MDM_DevDetail_Ext01 -Filter "InstanceID='Ext' AND ParentID='./DevDetail'").DeviceHardwareData | clip |
This file contains 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
import std.core; | |
import std.string; | |
import type.mac; | |
import type.guid; | |
import type.base64; | |
import type.time; | |
namespace OA3TOOL { | |
struct Header { | |
char fileType[2]; |
This file contains 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
<# | |
# either $true or $false | |
$result.IsSuccess | |
# object containing all information Certify has about the saved Site | |
$result.ManagedItem | |
# the IIS (or other service) site ID | |
$result.ManagedItem.ServerSiteId # ex: 1, 2, 3, ... |
This file contains 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
blueprint: | |
name: "Argon40 Case: Set fan speed to XX % if CPU is above YY °C and lower than ZZ °C" | |
description: Controls the speed of the argon40 case fan depending on the cpu temperature | |
domain: automation | |
input: | |
cpu_temperature: | |
name: CPU Temperature Sensor Entity | |
description: This is the Raspberry Pi's CPU Temperature sensor. | |
default: sensor.cpu_temp | |
selector: |