Author: paulligocki

  • AWS Lightsail Essentials

    AWS Lightsail Essentials

    AWS Lightsail Essentials Related Links Related AWS Essentials AWS Lightsail Essentials AWS CLI Essentials AWS CloudFormation Essentials AWS CloudWatch Essentials AWS IAM Essentials AWS S3 Essentials AWS Tools for PowerShell AWS VPC Essentials AWS ELB Essentials AWS EBS Essentials AWS CloudTrail Essentials AWS CloudWatch Essentials Links https://docs.aws.amazon.com/cli/latest/reference/lightsail/get-instance.html https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lightsail.html

  • AWS Organizations Essentials

    AWS Organizations Essentials

    AWS OrganizationsCentral management for multiple AWS accounts Service Control Policies (SCP) Related Links Service Control Policies (SCP) Related AWS CLI Essentials AWS CloudFormation Essentials AWS CloudWatch Essentials AWS IAM Essentials AWS S3 Essentials AWS Tools for PowerShell AWS VPC Essentials AWS ELB Essentials AWS EBS Essentials AWS CloudTrail Essentials AWS CloudWatch Essentials Links

  • AWS CloudTrail Essentials

    AWS CloudTrail Essentials

    AWS CloudTrail Essentials Related Links Related AWS Essentials AWS CloudFormation Essentials AWS VPC Essentials AWS Tools for PowerShell Links https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-aws-service-specific-topics.html

  • AWS CloudWatch Essentials

    AWS CloudWatch Essentials

    AWS CloudWatch Essentials Related Links Related AWS Essentials AWS CloudFormation Essentials AWS VPC Essentials AWS Tools for PowerShell Links https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/US_AlarmAtThresholdEC2.html

  • AWS ELB Essentials

    AWS ELB Essentials

    AWS ELB Essentials Application Load Banancers Network Load Balancers Gateway Load Balancers Classic Load Balancers Target Groups Launch Config Related Links Application Load Banancers Network Load Balancers Gateway Load Balancers Classic Load Balancers Target Groups Launch Config Related AWS Essentials AWS CloudFormation Essentials AWS VPC Essentials AWS Tools for PowerShell Links https://docs.aws.amazon.com/elasticloadbalancing/latest/application/x-forwarded-headers.html#x-forwarded-for https://docs.aws.amazon.com/AmazonECS/latest/developerguide/load-balancer-types.html https://aws.amazon.com/elasticloadbalancing/features/

  • AWS EBS Essentials

    AWS EBS Essentials

    AWS EBS Essentials Related Links Related AWS Essentials AWS CloudFormation Essentials AWS VPC Essentials AWS Tools for PowerShell Links https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html

  • Raspberry Pi Essentials

    Raspberry Pi Essentials

    Raspberry Pi Essentials Related Links Related Add GUI to Raspberry Pi OS Lite Setup Encrypted Disk on Raspberry Pi Setup Duck DNS Updater on Raspberry Pi Setup Free Raspberry Pi 4 Minecraft Java Server Pinecraft How to Auto Start Applications in Raspberry Pi OS Set Static IP Address on Raspberry Pi OS Cisco AnyConnect VPN…

  • AWS Lambda Essentials

    AWS Lambda Essentials

    AWS Lambda Essentials Deploy From CLI Related Links Deploy From CLI lambda_function.py { “FunctionName”: “HelloWorldPython”, “FunctionArn”: “arn:aws:lambda:us-east-1:999999999999:function:HelloWorldPython”, “Runtime”: “python3.7”, “Role”: “arn:aws:iam::999999999999:role/LambdaRole”, “Handler”: “python_function.lambda_handler”, “CodeSize”: 281, “Description”: “”, “Timeout”: 3, “MemorySize”: 128, “LastModified”: “2022-04-05T01:35:36.249+0000”, “CodeSha256”: “h9AEbl2IE9r+D3hcfFhkDFExL8JVFEtV51VOPL5xmXY=”, “Version”: “$LATEST”, “TracingConfig”: { “Mode”: “PassThrough” }, “RevisionId”: “fe568404-6ff8-4195-99ab-d3a23d669134”, “State”: “Pending”, “StateReason”: “The function is being created.”, “StateReasonCode”: “Creating”, “PackageType”:…

  • Windows Firewall Essentials

    Windows Firewall Essentials

    Windows Firewall Essentials Reset Related Links Reset Reset to factory defaults Related How to turn the Windows Firewall On or Off Via the Command Line AWS Tools for PowerShell Powershell Split Text into Individual Lines PowerShell Accepting Pipeline Input Install PowerShell Core on Raspberry Pi OS Moving AD Computer Object with Powershell Rounding Numbers in…

  • usermod Essentials

    usermod Essentials

    usermod Essentials Also see Linux Users and Linux Groups Add User to a Group Check-Group-Membership Change Home Directory Change User Name Lock Out User Set Password Expiration Check Password Policy Related Links Add User to a Group Check Group Membership Change Home Directory Do not run this command as the user that owns the home…

  • bash Essentials

    bash Essentials

    bash Essentials Config History Show Time Stamp Search Omit a Command from History Loop Related Links Config History 1970 sudo docker container inspect 44 1971 sudo docker port 44 1972 sudo docker ps Lists out all previously run command for the current user. To rerun a previous command you can use This would re run…

  • Add PowerShell Snippets to Visual Studio Code

    Add PowerShell Snippets to Visual Studio Code

    Add PowerShell Snippets to Visual Studio Code Intro Linux Windows Edit powershell.json Related Links Intro Visual Studio Code Snippets are stored in JSON files, one JSON file for each language PowerShell, Python, rust etc. In this write up we will be adding a new custom snippet ForEachWithProgress. Prefix = what you need to type in…

  • Access Power and Battery Status with PowerShell

    Access Power and Battery Status with PowerShell

    Access Power and Battery Status with PowerShell. Unfortunately this only applies to WindowsTested on Windows 10Detect power status with PowerShell BatteryChargeStatus, BatteryFullLifetime, BatteryLifePercent, and BatteryLifeRemaining Code Plugged In Unplugged Related Links Code Plugged In PowerLineStatus : Online BatteryChargeStatus : High BatteryFullLifetime : -1 BatteryLifePercent : 1 BatteryLifeRemaining : -1 Unplugged PowerLineStatus : Offline BatteryChargeStatus :…