Skip to content
View pcdoyle's full-sized avatar
Block or Report

Block or report pcdoyle

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. palogcrunch palogcrunch Public

    Palo Alto Log Cruncher

    Python

  2. hugo.pcdoyle.com hugo.pcdoyle.com Public

    TeX

  3. Opens a specific Microsoft Edge prof... Opens a specific Microsoft Edge profile by name on macOS
    1
    # Navigate to the profiles directory
    2
    cd ~/Library/Application\ Support/Microsoft\ Edge
    3
    
    
    4
    # List out the profile directories. Note that the directory name is what is used in the launch command, *not* necessarily the friendly name of the profile you see in Microsoft Edge.app
    5
    find ./ -type f -name Preferences
  4. This command will get the Azure AD U... This command will get the Azure AD User by their UPN's domain.
    1
    Get-AzureADUser -All $true | `
    2
        where-object {($_.UserPrincipalName -like "*@example.com") -and ($_.AccountEnabled -eq $true)} | `
    3
        Select-Object -property UserPrincipalName,DisplayName,AccountEnabled | `
    4
        Export-Csv -Path .\ActiveERISUsers.csv
  5. These are the commands to change the... These are the commands to change the login shell for Windows.
    1
    # To set the login shell on a Windows Core server to powershell instead of cmd:
    2
    Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name Shell -Value powershell.exe
    3
    
    
    4
    # To set the login shell on a Windows Core server back to cmd instead of PowerShell:
    5
    Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name Shell -Value powershell.exe
  6. Send Email with SMTP using TLS Send Email with SMTP using TLS
    1
    curl --ssl smtps:https://smtp.example.com:465 --mail-from [email protected] \
    2
         --mail-rcpt [email protected] --upload-file email.txt \
    3
         --user 'username:password'