Skip to content
View psitem's full-sized avatar

Block or report psitem

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. uptime-kuma-pacman-ghost-light Public

    Turn a Pacman Ghost Light into an Uptime Kuma status monitor with CircuitPython.

    Python 4

  2. This is the Plex monitoring script t...
    1
    #Start-Transcript -Append -Path .\plex-monitor-transcript.log -IncludeInvocationHeader:$false -Force
    2
    
                  
    3
    <#
    4
        This is my Plex monitoring script. There are many like it, but this one is mine. If 
    5
        you're running Plex as a Windows Service this script is not for you as-written, but 
  3. Backup BitLocker recovery keys to Ac...
    1
    Get-BitLockerVolume | `
    2
    Where-Object { $_.VolumeStatus -like "FullyEncrypted" } | `
    3
    ForEach-Object { 
    4
        foreach( $Key in $_.KeyProtector ) {
    5
            if( $Key -like "RecoveryPassword" ) {
  4. Output total disk read/write activit...
    1
    Get-Counter -Counter "\LogicalDisk(_Total)\Disk Read Bytes/sec","\LogicalDisk(_Total)\Disk Write Bytes/sec" -Continuous -SampleInterval 1 | ForEach-Object {
    2
        [PSCustomObject]@{
    3
            Time     = (get-date $_.Timestamp -Format u).replace("Z", "")
    4
            Read    = [math]::round($_.CounterSamples[0].CookedValue /1Mb, 0) 
    5
            Write    = [math]::round($_.CounterSamples[1].CookedValue /1Mb, 0) 
  5. Modifies the output of Get-PhysicalD...
    1
    <#
    2
        Wrote this to scratch an itch for tracking where my disks are physically located within and across
    3
        storage enclosures. Before writing this I was using a spreadsheet, which was tedious to maintain. 
    4
        For this script to be useful, you'll need a storage enclosure that Windows recognizes and exposes 
    5
        through WMI, ie: one that provides SCSI Enclosure Services (SES).
  6. Create PTRs from dnsmasq's -dhcp-scr...
    1
    $dnsServer = '10.10.10.10'         # Replace with a DNS server accepting insecure updates.
    2
    $dnsDomain = 'home.mydomain.com'   # Replace with your domain name.
    3
    
                  
    4
    $dhcpCmd = $args[0]
    5
    $dhcpMac = $args[1]