<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tyrik Emptage  on Medium]]></title>
        <description><![CDATA[Stories by Tyrik Emptage  on Medium]]></description>
        <link>https://medium.com/@temptage01?source=rss-7996aeb5ef8b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*EZk3UFta3mnYJrRjL6k20A.jpeg</url>
            <title>Stories by Tyrik Emptage  on Medium</title>
            <link>https://medium.com/@temptage01?source=rss-7996aeb5ef8b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 09:10:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@temptage01/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Exploring PowerShell Commands and Scripts: Filtering logs by word patterns, task manager grid, and…]]></title>
            <link>https://medium.com/@temptage01/exploring-powershell-commands-and-scripts-filtering-logs-by-word-patterns-task-manager-grid-and-a006756d587b?source=rss-7996aeb5ef8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a006756d587b</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[it-support]]></category>
            <category><![CDATA[powershell]]></category>
            <dc:creator><![CDATA[Tyrik Emptage ]]></dc:creator>
            <pubDate>Fri, 16 Oct 2026 12:01:01 GMT</pubDate>
            <atom:updated>2026-10-16T16:33:19.020Z</atom:updated>
            <content:encoded><![CDATA[<h3>Exploring PowerShell Commands and Scripts: Filtering logs by word patterns, task manager grid, and USB storage list.</h3><p>This blog is an overview of a PowerShell commands for filtering logs by word patterns and list of processes on a grid that can be stopped. There is also a script about a list of recent USB storage drives that can be connected on a Windows system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*fdOlIzhYxsnTleON" /></figure><h3>Prerequisites</h3><ul><li>Virtualization platform such as VirtualBox or VMWare</li><li>Hardware requirements to run a Virtual Machine (VM) such as CPU or RAM.</li><li>Windows Server installation ISO file</li><li>Admin access to the host machine</li><li>Or Powershell (IDE) if you dont have a virtual machine</li></ul><p>I was looking over a few PowerShell commands and a script about filtering logs and making a list of connected USB drives on a Windows system.</p><p>This includes:</p><h4>PowerShell commands for filtering logs in files based on a pattern of words</h4><p>After opening PowerShell IDE, I tested out this command to filter for specific logs that contains a word in a folder:</p><p>Get-ChildItem -Path “C:\Windows\Logs\*.log | Select-String -Pattern “Initializing”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*jRlkKWUf0RVBxreP" /></figure><p>The output displays the folder path, file name, and line number with the text found (ex: Initializing).</p><p>Note: I noticed this command after looking at a video from <a href="https://www.linkedin.com/in/richard-therrien-ab01bb41/">Richard Therrien</a>. It is posted in the comments.</p><p>If I wanted to look for a file through both folders and subfolders for a pattern of a specific word, then I would test out this command:</p><p>Get-ChildItem -Path “C:\Your\Path*.*” -Recurse |<br>Select-String -Pattern “YourPattern” |<br>Select-Object Filename, LineNumber, Line</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*fdOlIzhYxsnTleON" /></figure><p>The output displays the file name (instead of the file path), line number to scroll to, and line that matched the file.</p><h4>PowerShell command to set up a grid for stopping processes</h4><p>In order to setup a grid for what Process are running in order to delete them, I used this command:</p><p>Get-Process | Out-GridView -Title “Select a process to stop” -PassThru | Stop-Process</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*Ooa48klb_Y7q3E0p" /></figure><p>Similar to Task manager, this command opens a window with a list of processes on the system. When you select an application and click OK, the application window closes and stops running.</p><h4>PowerShell script for a list of some USB connected devices on a Windows system</h4><p>I was testing out this script because I was curious about what type of USB storage drives was connected on a Windows system.</p><p>Get-PnPDevice -Class ‘DiskDrive’ |<br> Where-Object { $_.InstanceId -like “*USBSTOR*” } |<br> Select-Object Name, Status,<br> @{N=’LastConnected’; E={(Get-PnPDeviceProperty -InstanceId $_.InstanceId -KeyName ‘DEVPKEY_Device_LastArrivalDate’).Data}} |<br> Format-Table -AutoSize</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*kszevkFH5o1Uhuj8" /></figure><p>The output displays properties such the device’s name, timestamp when the device was last connected, and the current status.</p><p>Let me know what feedback you have for this blog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a006756d587b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mac Terminal Commands Overview]]></title>
            <link>https://medium.com/@temptage01/mac-terminal-commands-overview-b1e40cbf502e?source=rss-7996aeb5ef8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1e40cbf502e</guid>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[macbook]]></category>
            <dc:creator><![CDATA[Tyrik Emptage ]]></dc:creator>
            <pubDate>Fri, 11 Sep 2026 12:01:01 GMT</pubDate>
            <atom:updated>2026-09-11T12:01:01.772Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog is an overview of built-in command line tools that are exclusive to macOS devices. These commands might not work on Windows devices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*pWErhhfXxLuzuMwd3jnlNw.png" /></figure><p>During my IT job search, I have been researching more about Apple and Mac devices recently. Since I am mostly familiar with using Windows commands, I did some research and took some notes to see any differences between Mac devices and Windows devices.</p><h4>Mac command Overview</h4><p>This includes an overview of some commands:</p><ul><li>sw_vers: displays the product name, build ID, and build version number of the device.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gIa_s9LiOfzwlF4v" /></figure><p>Note: This could be useful for understanding how outdated systems can impact licensing costs for a company.</p><ul><li>screencapture -c: captures a screenshot of the full screen and copies it to the clipboard.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iWGOuCB5o2ht-v5B" /></figure><p>Note: This might be useful for documenting flaws or fixes that could benefit other people at a company, similar to a guide.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KIu1hB7m2dicVNyd" /></figure><p>The screenshot can be found on the Clipboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vjkg2YBrcmD0mwHc" /></figure><ul><li>screencapture -i -c: activates a cursor that can be a selection box for an interactive screenshot (similar to snipping tool).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cszQDWuWQz9n_a4W" /></figure><p>Note: This could be useful for gathering specific visual evidence of technical errors to speed up response times when escalating expensive vendor tickets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JgUsouP3iKK7DB5I" /></figure><ul><li>pmset -g: displays the current power and sleep rules from that device, could be used to manage energy profiles on enterprise machines.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OSRgNAeC9F_ecuvS" /></figure><p>Note: This might provide some insight into how hardware efficiency affects the cost of enterprise machines and shapes overall corporate utility budgets.</p><ul><li>softwareupdate -l: displays list of all available software and system updates waiting to be installed on a Mac device.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tEG_aMHQTFjhA3-Z" /></figure><p>Note: This could help with learning about proactive maintenance by scheduling updates during off-hours to prevent costly daytime productivity drops.</p><ul><li>fdesetup status: checks to see if the Full Disk Encryption built-in in tool is turned on or off for that device.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WzpQla5V4xnsdLaF" /></figure><p>Note: This could be useful to learn about how encryption might shield the company from compliance fines and data breach liabilities.</p><ul><li>profiles status -type enrollment: verifies if a device is actively connected to an Mobile device Management server.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pVDnXwQX4xQobvrI" /></figure><p>Note: This could assist with asset tracking and figuring out how employees interact with the company network securely.</p><p>Let me know what feedback you have for this blog.</p><p>There are other commands that I took notes on. I might save that for another post, while I continue my IT job search.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1e40cbf502e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Overview of some PowerShell hashtable examples: Local user setup, Sample User and Laptop details]]></title>
            <link>https://medium.com/@temptage01/overview-of-some-powershell-hashtable-examples-local-user-setup-sample-user-and-laptop-details-ec71faaeada7?source=rss-7996aeb5ef8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec71faaeada7</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[windows-powershell]]></category>
            <category><![CDATA[powershell]]></category>
            <category><![CDATA[powershell-scripting]]></category>
            <dc:creator><![CDATA[Tyrik Emptage ]]></dc:creator>
            <pubDate>Wed, 02 Sep 2026 15:00:40 GMT</pubDate>
            <atom:updated>2026-09-02T15:00:40.806Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog is an overview of a few PowerShell commands and scripts for setting up some hashtables. Some of these examples are referenced from a few blogs I saw on the “Powershell is Fun” blog (from <a href="https://www.linkedin.com/in/harmveenstra/">Harm Veenstra 🚀</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*1eVviu54bWVIxYG_C5Fgag.png" /></figure><h3>Prerequisites</h3><ul><li>Virtualization platform such as VirtualBox or VMWare</li><li>Hardware requirements to run a Virtual Machine (VM) such as CPU or RAM.</li><li>Windows Server installation ISO file</li><li>Admin access to the host machine</li><li>Or PowerShell (IDE) if you don’t have a virtual machine</li></ul><h3>References:</h3><ol><li>Using the Hashtable PowerShell Module<br><a href="https://powershellisfun.com/2026/06/26/using-the-hashtable-powershell-module/">https://powershellisfun.com/2026/05/15/powershell-methods/</a></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*1eVviu54bWVIxYG_C5Fgag.png" /></figure><p>I was looking over a blog about hashtables from <a href="https://www.linkedin.com/in/harmveenstra/">Harm Veenstra 🚀</a> to familiarize myself with how different properties are packaged into a single object.</p><h4>Setting up a hashtable for a user</h4><p>In this example, $Employee is the variable that holds the data contained in the hashtable, such as the ID, Name, and Role.</p><p>$Employee = @{<br>ID = 101<br>Name = “Alice Smith”<br>Role = “IT Support Specialist”<br>}</p><p>$Employee.GetEnumerator() | Format-Table -AutoSize</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/737/1*aJ2ky7nTWsaC2NGmwVqRSA.png" /></figure><p>Also, the .GetEnumerator() method is called on the data in the hashtable one by one, while passed to the next command (|).</p><p>The output is packaged to fit due to AutoSize and Format-Table puts the data into a visual table with Name and Value columns.</p><h4>Short script for a temporary password</h4><p>Before setting up the hashtable, I was testing out the Read-Host command to see if I can prompt the user to type a password. Then, use the -AsSecureString to mask the data that was typed.</p><p>$SecurePassword = Read-Host -AsSecureString “Enter a temporary password”</p><h4>Setting up a hashtable for a sample local user</h4><p>The following script is added to $SecurePassword to $UserConfig in order to contain the account configuration data.</p><p>$UserConfig = @{<br>Name = “HelpDeskRef”<br>Description = “Temporary trainee account for IT training”<br>FullName = “IT Trainee One”<br>Password = $securePassword }<br>New-LocalUser @UserConfig</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*3j9o5VwQhoxWCelZIRpCDw.png" /></figure><p>The output sets up a local user named HelpDeskRef, with a description field, display name and password. Note: Local Windows accounts can be made through the New-LocalUser command.</p><p>The @ symbol allows PowerShell to map the keys like Description to the matching parameters.</p><h4>PowerShell commands for adding a local user to a Group and check the local user details</h4><p>In addition to the last two scripts, I was testing out this command to see if a local user can be added to a Admin group:</p><p>Add-LocalGroupMember -Group “Administrators” -Member “HelpDeskRef”<br>Get-LocalUser -Name “HelpDeskRef” | Format-Table Name, Enabled, Description -AutoSize</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*QNjvR3-ktiUzh0TcVwj5yA.png" /></figure><p>The output displays the account details and elevates the local user account to a local admin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*sH7A7W0x4yd598QtJm7Arw.png" /></figure><h4>Hashtable for laptop details</h4><p>Similar to the $Employee variable, the $Laptop variable contains data on the hashtable, such as Model and RAM.</p><p>$Laptop = @{<br>AssetTag = “LT-450”<br>Model = “ThinkPad X1”<br>RAM = “16GB”<br>}</p><p>Write-Host “ — — Reading Initial Data — -”<br>Write-Host “Asset Tag: $($Laptop.AssetTag)”<br>Write-Host “Model: $($Laptop.Model)”<br>Write-Host “”</p><p>$Laptop.RAM = “32GB”</p><p>Write-Host “ — — Reading Updated Data — -”<br>Write-Host “New RAM: $($Laptop.RAM)”<br>Write-Host “Assigned: `$($Laptop.Owner)”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*jRN50V1f-svm3MEDFCjYAA.png" /></figure><p>The output displays the $Laptop hashtable details, with the output from Write-Host commands.</p><p>Let me know what feedback you have for this blog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec71faaeada7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Overview of PowerShell commands: Transcript logging for recording commands, and PowerShell methods…]]></title>
            <link>https://medium.com/@temptage01/overview-of-powershell-commands-transcript-logging-for-recording-commands-and-powershell-methods-d0e0bb2aa199?source=rss-7996aeb5ef8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0e0bb2aa199</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[powershell]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Tyrik Emptage ]]></dc:creator>
            <pubDate>Tue, 18 Aug 2026 16:01:02 GMT</pubDate>
            <atom:updated>2026-08-19T17:22:12.528Z</atom:updated>
            <content:encoded><![CDATA[<h3>Overview of PowerShell commands: Transcript logging for recording commands, and PowerShell methods for a process object and string</h3><p>This blog is an overview of a few PowerShell commands for transcript logging for recording commands, display of all of the executable methods for a process object located on a system, and PowerShell Methods, or actions, for changing the state of the output. Some of these examples are referenced from a few blogs I saw on the “Powershell is Fun” blog (from <a href="https://www.linkedin.com/in/harmveenstra/">Harm Veenstra 🚀</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*sKlPhfQj08jOwFwA2SlOrw.png" /></figure><h3>Prerequisites</h3><ul><li>Virtualization platform such as VirtualBox or VMWare</li><li>Hardware requirements to run a Virtual Machine (VM) such as CPU or RAM.</li><li>Windows Server installation ISO file</li><li>Admin access to the host machine</li><li>Or PowerShell (IDE) if you don’t have a virtual machine</li></ul><h3>References:</h3><ol><li>PowerShell Methods<br><a href="https://powershellisfun.com/2026/05/15/powershell-methods/">https://powershellisfun.com/2026/05/15/powershell-methods/</a></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*i3U77XypfT5qxY1MA_R93g.png" /></figure><p>2. PowerShell Terminal tips and tricks<br><a href="https://powershellisfun.com/2026/06/19/powershell-terminal-tips-and-tricks/">https://powershellisfun.com/2026/06/19/powershell-terminal-tips-and-tricks/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*GdpBGpX5KRrTxbuhGSRhPQ.png" /></figure><p>For this short blog, I was testing out some PowerShell methods and commands in some blogs from <a href="https://www.linkedin.com/in/harmveenstra/">Harm Veenstra 🚀</a>.</p><p>This includes:</p><ul><li>Transcript logging for recording commands used and the output added to a text file (Start-Transcript, Stop-Transcript).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*BQRjWRmJ5ilvAi714Ex6yA.png" /></figure><p>For this example, I used the Get-Content command on a text file I created to get sample details of a laptop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/909/1*5zBn59T0uEgiK5PRliQezg.png" /></figure><ul><li>Command that displays of all of the executable methods for a process object located on a system (Get-Process | Get-Member -Membertype Method)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*DQ8kmo3hYkQ1DkegGhaidQ.png" /></figure><p>PowerShell Methods, or actions, for changing the state of the output including:</p><p>-Replacing a word in a string object</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*kD4uvuq4yHghiR3IzLC5Vg.png" /></figure><p>- Splitting a string object into multiple objects</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/1*onvcmD1LMrJFDP6J4QbaPQ.png" /></figure><p>- Converting text to Uppercase</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*Tg6GHblcsiJp6TYPCB7GDw.png" /></figure><p>- Removing a number of characters from a string</p><p>There are other examples of methods and terminal related tips that I might update at some point in this blog as well.</p><p>Let me know if you have any feedback for this blog and any similar blogs related to PowerShell.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0e0bb2aa199" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Overview of an AWS Project: Cloud Fun Facts Generator]]></title>
            <link>https://medium.com/@temptage01/overview-of-an-aws-project-cloud-fun-facts-generator-9f590cf3d5dd?source=rss-7996aeb5ef8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f590cf3d5dd</guid>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Tyrik Emptage ]]></dc:creator>
            <pubDate>Mon, 13 Jul 2026 12:21:00 GMT</pubDate>
            <atom:updated>2026-07-13T12:21:00.873Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog provides a brief overview about the free cloud project: AWS Cloud Fun Facts Generator (from Zero to Cloud), focusing on its architecture and the AWS services that power it. Rather than covering every implementation step, this overview is intended to help you understand how the project works and encourage you to build it yourself using the project link provided (in the references section).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*ZjjCaVkUk2xspTjf_Jf6UQ.png" /></figure><h4>References:</h4><ul><li>Project Instructions from Zero to Cloud: <a href="https://zerotocloud.co/course/free-project-aws-cloud-fun-facts-generator">https://zerotocloud.co/course/free-project-aws-cloud-fun-facts-generator</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hR3y7mUd7SRzhiFmd3fwhA.png" /></figure><h4>Project Highlights</h4><p>This project involved the following:<br>- Deploying an AWS Lambda function to serve random cloud fun facts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NCKByTt5MjcVLNrPXozrtQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*oWKPQNsl6osA_YjiljQUaA.png" /></figure><p>- Integrating API Gateway to expose Lambda as a REST API endpoint.<br>- Enhancing functionality by storing facts in a DynamoDB table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*-UnU5i6fvbP58s14ijCzZg.png" /></figure><p>- Configured IAM roles and permissions securely for DynamoDB and Bedrock access.</p><p>- Integrated Amazon Bedrock (GenAI) with Claude AI to rephrase cloud facts in an engaging style.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZuXLu9HnchN1X9t6pDtSVg.png" /></figure><h4>Important Tip to keep in mind</h4><p>After deploying the generator app, I got an API endpoint error about the CORS header configuration.</p><p>To troubleshoot this issue, I read the documentation about the example values from the Access-Control-Allow-Origin CORS header and tested out those changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J2chm9u5-yh7vaDE9cfpsA.png" /></figure><p>The changes made:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gNeoIyb8Mz4ZyGEhDdqknQ.png" /></figure><p>Overall, this project was informative for me to learn how some of these AWS services function together.</p><p>Reading the instructions provided and the developer guide helped with understanding each step since I had little experience using the AWS cloud features.</p><p>Let me know what feedback you have for this blog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f590cf3d5dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Overview of Essential Linux commands: ls, whereis, stat, truncate, unzip -l]]></title>
            <link>https://medium.com/@temptage01/overview-of-essential-linux-commands-ls-whereis-stat-truncate-unzip-l-ee2c3a4239d1?source=rss-7996aeb5ef8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee2c3a4239d1</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[linux-tutorial]]></category>
            <category><![CDATA[kali-linux]]></category>
            <category><![CDATA[linux-commands]]></category>
            <dc:creator><![CDATA[Tyrik Emptage ]]></dc:creator>
            <pubDate>Tue, 07 Jul 2026 13:01:02 GMT</pubDate>
            <atom:updated>2026-07-07T13:01:02.913Z</atom:updated>
            <content:encoded><![CDATA[<p>Linux includes many useful command-line tools for managing files and directories. This overview introduces the basic usage of the ls, whereis, stat, truncate -s, and unzip -l commands.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/0*Axt-Na2bY2bIwpir" /></figure><h3>Prerequisites</h3><ul><li>Virtualization platform such as VirtualBox or VMWare</li><li>Hardware requirements to run a Virtual Machine (VM) such as CPU or RAM.</li><li>Kali Linux installation ISO file</li><li>Admin access to the host machine</li></ul><h4>Some commands for listing directories (and variations)</h4><p>I have been using the ls command for a while, but I just realized I was missing some useful features. Here are some examples:</p><p>ls -lArt<br>-Shows detailed info, includes hidden files, and sorts by oldest modified first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*ibhNtE-75lUdQnVu" /></figure><p>What surprised me most was the timestamp formatting. Older files show a year, newer ones show time instead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/0*x2hoheswxOMsoTvS" /></figure><p>Then I tried this:</p><p>ls -lArt — time-style=long-iso</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*EPxo11KHyCoaytDJ" /></figure><p>Now everything is in a consistent YYYY-MM-DD HH:MM format.</p><p>Followed by this:</p><p>ls -lArt — time=birth — time-style=long-iso</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*MaciWIS-TSB2eqqN" /></figure><p>This shows when a file was created instead of modified.</p><p>I ended up adding an alias in my bashrc, so I canget readable timestamps by default.</p><p>Small change, but it makes scanning directories and files much easier.</p><h4>Overview of the whereis command</h4><p>The whereis command finds the locations of executables and manual pages of an application. If the location is not available, the output will be empty.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/0*lPuuGwm3_nC5HbvY" /></figure><p>Note: You could restrict the whereis search paths using a specific -f flag followed by the name of the command (ex: ls).</p><h4>Overview of the stat command</h4><p>The stat command can show the raw number of bytes in a text file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/0*WI93cREjz-5xwx6v" /></figure><h4>Overview of the truncate command</h4><p>The truncate -s command can increase the amount of bytes (+) or cutoff/decreasing (-) a specific number of bytes from a file. Ex: truncate -s +500.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*R1D_7iZz-j-ah2Pc" /></figure><h4>Overview of the unzip -l command</h4><p>The unzip -l command for looking at the file contents without unpacking it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/0*4Icce7r4iWeDiCls" /></figure><p>Also, I tested out this command to list out the largest to smallest files by 20 folders occupying the disk space in the /var directory:</p><p>sudo du -ah /var | sort -rh | head -20</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*3kSjF2CArfgHjT_F" /></figure><p>Let me know what feedback you have for this blog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee2c3a4239d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building an Automated Receipt Processing Tool with AWS S3, IAM, DynamoDB, and SNS.]]></title>
            <link>https://aws.plainenglish.io/building-an-automated-receipt-processing-tool-with-aws-s3-iam-dynamodb-and-sns-20d0a04276ed?source=rss-7996aeb5ef8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/20d0a04276ed</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Tyrik Emptage ]]></dc:creator>
            <pubDate>Mon, 18 May 2026 12:06:00 GMT</pubDate>
            <atom:updated>2026-05-18T21:29:56.339Z</atom:updated>
            <content:encoded><![CDATA[<p>Managing receipts manually can be tedious, error-prone, and difficult to scale.</p><p>In this sample project, I built an automated receipt processing tool using Amazon Web Services services including Amazon S3, AWS Identity and Access Management, Amazon DynamoDB, and Amazon Simple Notification Service to streamline the entire workflow. The system automatically stores uploaded receipts, manages secure access, tracks extracted data in a database, and sends real-time notifications, creating a lightweight, event-driven solution for modern expense management.</p><p>Some of these steps are referenced from a YouTube video from Tech with Lucy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/923/1*we7VknZdNHoJNUkeh23ptQ.jpeg" /></figure><h3>References:</h3><ul><li>Build With Me: Automating My Life with AWS &amp; AI (Cloud Project)</li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FCewrCUmwm90%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DCewrCUmwm90&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FCewrCUmwm90%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/fea18b70040d098ede599181008668d8/href">https://medium.com/media/fea18b70040d098ede599181008668d8/href</a></iframe><h3>Procedure</h3><h4>Step 1: Create an S3 Bucket for Receipt Uploads</h4><p>Log in to the AWS Console</p><p>Navigate to S3<br>Click “Create Bucket”</p><p>Enter a unique bucket name: automated-receipt-storage</p><p>Choose your preferred AWS Region</p><p>Enable optional settings:</p><ul><li>Versioning</li><li>Server-side encryption</li></ul><p>Click “Create Bucket”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mOdxE7Zy6yQtxM-VpQIzag.jpeg" /></figure><p>Upload a sample receipt image or PDF to verify the bucket works correctly.</p><h4>Step 2: Configure IAM Permissions</h4><p>Open IAM Console<br>Select “Policies”<br>Click “Create Policy”<br>Add the following JSON policy:</p><p>{<br> “Version”: “2012–10–17”,<br> “Statement”: [<br> {<br> “Effect”: “Allow”,<br> “Action”: [<br> “s3:*”,<br> “dynamodb:*”,<br> “sns:*”,<br> “logs:CreateLogGroup”,<br> “logs:CreateLogStream”,<br> “logs:PutLogEvents”<br> ],<br> “Resource”: “*”<br> }<br> ]<br>}</p><h4>Create an IAM Role</h4><p>1. Navigate to “Roles”<br>2. Click “Create Role”<br>3. Choose: AWS Service<br>Lambda<br>4. Attach the custom policy<br>5. Name the role: ReceiptProcessingRole</p><h4>Step 3: Create a DynamoDB Table</h4><p>1. Open DynamoDB Console<br>2. Click “Create Table”<br>3. Configure:</p><p>Table Name: Receipts</p><p>Partition Key: receiptId</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Km3BTZTaez6Yp96uwm1bNg.jpeg" /></figure><p>4. Leave default settings<br>5. Create the table</p><p>Example Stored Data</p><p>| receiptId | vendor | amount | uploadDate |<br>| — — — — — | — — — | — — — | — — — — — |<br>| 1001 | Amazon | 24.99 | 2026–05–10 |</p><h4>Step 4: Create an SNS Topic for Notifications</h4><p>1. Open SNS Console<br>2. Click “Create Topic”<br>3. Choose: Standard Topic<br>4. Name: ReceiptNotifications</p><p>5. Create the topic</p><h4>Add an Email Subscription</h4><p>1. Open the topic<br>2. Click “Create Subscription”<br>3. Configure Protocol: Email<br>4. Enter your email address<br>5. Confirm the subscription from your inbox</p><h4>Step 5: Create the Lambda Function</h4><p>1. Open Lambda Console<br>2. Click “Create Function”<br>3. Choose: Author from scratch<br>4. Configure:</p><p>Function Name: ReceiptProcessor</p><p>Runtime: Python 3.x</p><p>5. Attach the IAM role: ReceiptProcessingRole<br>6. Create the function</p><h4>Step 6: Add the Receipt Processing Code</h4><p>pip install boto3</p><p>## Example Lambda Function Code</p><p>python id=”zj4eh1&quot;<br>import boto3<br>import uuid<br>import logging<br>from datetime import datetime</p><p># Configure logging<br>logger = logging.getLogger()<br>logger.setLevel(logging.INFO)</p><p>dynamodb = boto3.resource(‘dynamodb’)<br>sns = boto3.client(‘sns’)</p><p>table = dynamodb.Table(‘Receipts’)</p><p>def lambda_handler(event, context):</p><p>try:<br> receipt_id = str(uuid.uuid4())</p><p>receipt_data = {<br> ‘receiptId’: receipt_id,<br> ‘vendor’: ‘Starbucks’,<br> ‘amount’: ‘12.45’,<br> ‘uploadDate’: str(datetime.now())<br> }</p><p>logger.info(f”Saving receipt {receipt_id} to DynamoDB”)</p><p>table.put_item(Item=receipt_data)</p><p>logger.info(“Sending SNS notification”)</p><p>sns.publish(<br> TopicArn=’YOUR_SNS_TOPIC_ARN’,<br> Message=f”New receipt processed: {receipt_id}”,<br> Subject=’Receipt Upload Notification’<br> )</p><p>logger.info(“Receipt processed successfully”)</p><p>return {<br> ‘statusCode’: 200,<br> ‘body’: ‘Success’<br> }</p><p>except Exception as e:<br> logger.error(f”Error processing receipt: {str(e)}”)</p><p>return {<br> ‘statusCode’: 500,<br> ‘body’: ‘Error processing receipt’<br> }</p><h4>Step 7: Configure S3 Event Triggers</h4><p>Now we’ll automate the workflow.</p><p>Create an Event Notification</p><p>1. Open your S3 bucket<br>2. Navigate to “Properties”<br>3. Scroll to “Event Notifications”<br>4. Click “Create Event Notification”<br>5. Configure:</p><p>Event Type: PUT</p><p>Destination: Lambda Function</p><p>6. Select: ReceiptProcessor</p><p>Now, every uploaded receipt automatically triggers the Lambda function.</p><h4>Step 8: Monitor Lambda with CloudWatch Logs</h4><p>View Logs</p><p>1. Open CloudWatch Console<br>2. Select “Logs”<br>3. Click “Log Groups”<br>4. Open: /aws/lambda/ReceiptProcessor</p><p>You’ll now see execution logs for every uploaded receipt.</p><h4>Step 9: Test the Entire Workflow</h4><p>Upload a sample receipt image or email into the S3 bucket.</p><p>Expected Results</p><p>After upload:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IuFM5yGRVjwK7BPdcy0vMQ.jpeg" /></figure><p>Receipt stored in S3<br>Lambda function triggered<br>Metadata stored in DynamoDB<br>SNS email notification received<br>Execution logs written to CloudWatch</p><h4>Step 10: Test Error Handling</h4><p>To verify monitoring works correctly:</p><p>Example Test</p><ol><li>Temporarily remove DynamoDB permissions from IAM</li><li>Upload another receipt</li><li>Check CloudWatch logs</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iwdcHOCqGxJka1fJh_XwkQ.jpeg" /></figure><p>Example Error Log</p><p>[ERROR] Error processing receipt: AccessDeniedException</p><p>This makes debugging much easier in production systems.</p><h4>Final Architecture Overview</h4><p>User Upload<br> ↓<br>Amazon S3<br> ↓<br>AWS Lambda<br> ↓<br>Amazon DynamoDB<br> ↓<br>Amazon SNS</p><p>Monitoring &amp; Logs<br> ↓<br>Amazon CloudWatch</p><p>This project demonstrates how multiple AWS services can work together to create a scalable, event-driven automation system. By combining S3 storage, IAM security, Lambda processing, DynamoDB data management, SNS notifications, and CloudWatch monitoring, you can build a reliable serverless receipt processing workflow with minimal infrastructure management.</p><p>Let me know what feedback you have for this blog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20d0a04276ed" width="1" height="1" alt=""><hr><p><a href="https://aws.plainenglish.io/building-an-automated-receipt-processing-tool-with-aws-s3-iam-dynamodb-and-sns-20d0a04276ed">Building an Automated Receipt Processing Tool with AWS S3, IAM, DynamoDB, and SNS.</a> was originally published in <a href="https://aws.plainenglish.io/">AWS in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Windows Server VM Lab Notes: Disk Counters, Group Policy Backups, and Central Store Setup]]></title>
            <link>https://medium.com/@temptage01/windows-server-vm-lab-notes-disk-counters-group-policy-backups-and-central-store-setup-2f061a2331d7?source=rss-7996aeb5ef8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f061a2331d7</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[it-support]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[beginner]]></category>
            <dc:creator><![CDATA[Tyrik Emptage ]]></dc:creator>
            <pubDate>Mon, 11 May 2026 12:11:00 GMT</pubDate>
            <atom:updated>2026-05-11T16:04:30.596Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog is an overview for testing out commands about enabling disk performance counters, group policy for disabling task manager, how to back up and restore group policies, and learning how to setup a group policy central store on a Windows Server VM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IlqHIfw8-VKtIUvDQKUIog.jpeg" /></figure><h3>Prerequisites</h3><ul><li>Virtualization platform such as VirtualBox or VMWare (<a href="https://www.virtualbox.org/wiki/Downloads">https://www.virtualbox.org/wiki/Downloads</a>)</li><li>Hardware requirements to run a Virtual Machine (VM) such as CPU or RAM.</li><li>Windows Server 2022 installation ISO file (<a href="https://www.microsoft.com/en-us/evalcenter/download-windows-server-2022">https://www.microsoft.com/en-us/evalcenter/download-windows-server-2022</a>)</li><li>Windows 11 installation ISO file (<a href="https://www.microsoft.com/en-us/software-download/windows11">https://www.microsoft.com/en-us/software-download/windows11</a>)</li><li>Windows 10 ISO file (<a href="https://www.microsoft.com/en-us/software-download/windows10">https://www.microsoft.com/en-us/software-download/windows10</a>)</li><li>Admin access to the host machine</li></ul><h3>Procedure</h3><h4>Command for enabling disk performance counters</h4><p>In the command prompt, I used the diskperf -y command to display and track the disk performance measurements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IlqHIfw8-VKtIUvDQKUIog.jpeg" /></figure><p>In order to disable the disk performance from being shown, use the diskperf -n command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XtZ_YlLZ1opGYe24bRjZgg.jpeg" /></figure><h4>Group policy for disabling task manager</h4><p>In Group Policy Management, I went to a GPO and selected Edit -&gt; User Configuration -&gt; Policies -&gt; Admin Templates -&gt; System -&gt; Ctrl+Alt+Del Options -&gt; Remove Task Manager -&gt; click Enable, apply then OK.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-S8ktIOU9yV46Nl_bex6Tg.jpeg" /></figure><p>Then, I went to the command prompt and used the gpupdate /force command followed by logoff.</p><p>After I logged in and selected Task Manager, I got a message that it was disabled by the admin and I couldn’t open the application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SP6CyCWBHwbUXyOVf39GwA.jpeg" /></figure><p>Note: It can be re-enabled through group policy management editor.</p><h4>Setting up a group policy central store</h4><p>In the Windows Server VM, I checked Group policy management editor -&gt; edit one of the group policies -&gt; Policies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YAiYM0fOR9NO-_T6Cu1Gxg.jpeg" /></figure><p>Under policies, check admin templates and expand the page to see where those policies get the admx files from.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YAiYM0fOR9NO-_T6Cu1Gxg.jpeg" /></figure><p>Note: It said it was from the local computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AU8D-k6F2H5JhQcRGQWL0A.jpeg" /></figure><p>I checked the folder path, C drive -&gt; Windows -&gt; PolicyDefinitions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*Nd3aXHB8UBHh_e-m3_Guxw.png" /></figure><p>Then, I copied the PolicyDefinitions folder, searched the run box, browsed to my AD domain, then went to SYSVOL -&gt; Local domain -&gt; Policies and pasted the PolicyDefinitions folder with all the admx files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*KribHAxqK2lOYdy8umVyqw.png" /></figure><p>After I checked the GPO I edited, it confirmed, through the admin templates, the ADMX files were retrieved from the central store.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YAiYM0fOR9NO-_T6Cu1Gxg.jpeg" /></figure><p>ADMX files can be managed in one place, and all GPO clients will automatically pull them from the admin templates (ex: Windows version files).</p><h4>Back up and restore group policies</h4><p>For this example, I went to Group Policy Management, right clicked Group policy objects -&gt; Backup All -&gt; set a location and description for a backup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p_HKOtcE2pwQuIWYw2DJGw.jpeg" /></figure><p>Select Back Up and see which GPOs are backed up in the given folder location.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*E2JcWCRSiLo203uzn94XiA.jpeg" /></figure><p>The result of clicking Back Up will process the GPO status as succeeded in their backup or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YEaQojrsXPSzXm2ZtNZVRg.jpeg" /></figure><p>In the Backup folder, you can find the GPO settings and backup report.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DZnW1IVOny8uBEb0EOZ-jA.jpeg" /></figure><p>Note: You have to create the file first before backing up those GPOs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AU8D-k6F2H5JhQcRGQWL0A.jpeg" /></figure><p>To restore this, right-click the GPOs -&gt; go to Manage Backups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*p_HKOtcE2pwQuIWYw2DJGw.jpeg" /></figure><p>This will show a list of GPO backups with the default location.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qcvoj6RhvCSw8U7gZqPDVw.jpeg" /></figure><p>Note: I tested this out by creating a new map drive then restoring the GPOs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s8hrSjj-fVSADS9azlbppg.jpeg" /></figure><p>This resulted in the map drive details being deleted since that data wasn’t backed up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*28ERwSvCAzdrTG4MsdHtsA.jpeg" /></figure><p>Let me know what feedback you have for this blog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f061a2331d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring PowerShell Commands: Energy Usage Monitoring, Registry Value Objects, and Windows…]]></title>
            <link>https://medium.com/@temptage01/exploring-powershell-commands-energy-usage-monitoring-registry-value-objects-and-windows-478fb1151490?source=rss-7996aeb5ef8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/478fb1151490</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[powershell]]></category>
            <dc:creator><![CDATA[Tyrik Emptage ]]></dc:creator>
            <pubDate>Mon, 04 May 2026 12:31:01 GMT</pubDate>
            <atom:updated>2026-05-04T12:31:01.498Z</atom:updated>
            <content:encoded><![CDATA[<h3>Exploring PowerShell Commands: Energy Usage Monitoring, Registry Value Objects, and Windows Registry Backups</h3><p>This blog is an overview of a PowerShell commands for monitoring energy usage and generating a report about it, returning an object with the current version registry values, and backup a registry key in a Windows Server VM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/0*YBNTwKuezXjxN9E-" /></figure><h3>Prerequisites</h3><ul><li>Virtualization platform such as VirtualBox or VMWare</li><li>Hardware requirements to run a Virtual Machine (VM) such as CPU or RAM.</li><li>Windows Server installation ISO file</li><li>Admin access to the host machine</li><li>Or Powershell (IDE) if you dont have a virtual machine</li></ul><h4>PowerShell command that monitors energy usage and generates report</h4><p>I remember seeing a post from <a href="https://www.linkedin.com/in/jonathanbrockbingham/">Brock Bingham</a> that went over this command:</p><p>Powercfg /energy</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/0*_8YJgIO7SldBWaap" /></figure><p>This command appear to scan for energy usage including settings and devices that causes unnecessary power consumption and sleep issues.</p><p>The length of time this command can scan a device can change if the output parameters for duration are defined.</p><p>An html file will be created which lists these issues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*C40P62UCLyvrmYGL" /></figure><p>Note: If you open the html file through Notepad, you can alter and replace the words shown in the file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PpqHfOyX_1zPpn6h" /></figure><h4>PowerShell command for returning an object with all the registry values</h4><p>I was testing this command to see what details would come the Current version registry key:</p><p>Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/0*Q1_IjZqva7ygEjNF" /></figure><p>For this output, it has a list of properties containing version and system info about Windows.</p><p>If I filtered this command to only show the output of the Registry keys from the ProgramFilesDir and SystemRoot values:</p><p>Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion |<br>Select-Object ProgramFilesDir, SystemRoot</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/0*TsNpAW4nRV2cTb3N" /></figure><h4>PowerShell command to backup a registry key</h4><p>In order to backup a single registry key, I tested out this command:</p><p>reg export HKLM\Software C:\software.reg</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/0*tq8_-iaoK0Kx2Bv_" /></figure><p>If the backup is complete, there will be an output saying “The operation is completed successfully”.</p><p>You have to make sure you know what registry key that is being exported.</p><p>In order to verify if the path exists, you can use the Test-Path command:</p><p>Test-Path C:\software.reg</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OFhM0LF9FDdgTWrp" /></figure><p>If the output is True, then the file path exists.</p><p>Let me know what feedback you have for this blog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=478fb1151490" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Fortune Teller Application (Serverless Magic 8 ball) with Amazon Lambda]]></title>
            <link>https://medium.com/codetodeploy/building-a-fortune-teller-application-serverless-magic-8-ball-with-amazon-lambda-e5351a73302f?source=rss-7996aeb5ef8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5351a73302f</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[it-support]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Tyrik Emptage ]]></dc:creator>
            <pubDate>Mon, 20 Apr 2026 12:01:02 GMT</pubDate>
            <atom:updated>2026-04-27T01:18:35.707Z</atom:updated>
            <content:encoded><![CDATA[<p>What if your questions could be answered by the cloud? This Fortune Teller 8 Ball app uses AWS Lambda to deliver quick responses.</p><p>The responses are “yes,” “no,” or “maybe” to anything you ask. With no servers to manage, the app highlights how simple serverless technology can power interactive experiences in real time. It’s a way to explore cloud development while building something responsive from just a few lines of logic.</p><p>These steps are referenced in a GitHub page from Tech with Lucy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*5mO5GpnrZNpOuybW" /></figure><blockquote><strong><em>🚨 High-Paying Tech Roles Available</em></strong><em><br>💰 $3K–$10K/Month Remote &amp; Onsite Opportunities<br>⚡ No long applications — just submit your profile in minutes<br>🔎 Get matched with active hiring companies</em><br> <a href="https://optimhire.com/?ref_code=codetodeploy"><strong>👉 Start Application (60 Seconds)</strong></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pkQFf0NUnzoFbVEVQCF5WQ.png" /></figure><h3>References:</h3><ul><li>Project Instructions from Techwithlucy GitHub README page -(<a href="https://github.com/techwithlucy/youtube/blob/main/5-mini-aws-projects.md">https://github.com/techwithlucy/youtube/blob/main/5-mini-aws-projects.md</a>)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*smvNFxYDNOGOtYd-" /></figure><h3>Procedure</h3><h3>Step 1: Create Your Lambda Function</h3><p>Go to Amazon Web Services and open the Lambda console.</p><ul><li>Click Create function</li><li>Choose Author from scratch</li><li>Name it something like fortune-teller</li><li>Runtime: Python 3.x</li><li>Leave everything else as default and click Create function</li></ul><p>This gives you a fully managed, serverless compute environment, with no servers to configure or maintain.</p><h3>Step 2: Add the Fortune Teller Logic</h3><p>Replace the default Lambda code with:</p><p>import json<br>import random</p><p>def lambda_handler(event, context):<br> responses = [“yes”, “no”, “maybe”]<br> <br> # Get question from query string (optional)<br> question = “”<br> if event.get(“queryStringParameters”):<br> question = event[“queryStringParameters”].get(“question”, “”)<br> <br> answer = random.choice(responses)</p><p>return {<br> “statusCode”: 200,<br> “headers”: {<br> “Content-Type”: “application/json”,<br> “Access-Control-Allow-Origin”: “*”<br> },<br> “body”: json.dumps({<br> “question”: question,<br> “answer”: answer<br> })<br> }</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gkfsporxykXFkKwiJvv75g.jpeg" /></figure><p>What’s happening here:</p><ul><li>The function looks for a question in the URL query string.</li><li>It randomly selects “yes”, “no”, or “maybe”.</li><li>It returns both the question and answer as JSON.</li><li>CORS headers (Access-Control-Allow-Origin) allow your frontend to call it.</li></ul><p>Click Deploy to save your changes.</p><h3>Step 3: Create a Test Event (Optional)</h3><p>Before wiring up the frontend, test your function directly.</p><p>Click Test<br>Create a new test event with this JSON:<br>{<br> “queryStringParameters”: {<br> “question”: “Will I get a job?”<br> }<br>}<br>Run the test</p><p>You should see a response like:</p><p>{<br> “question”: “Will I get a job?”,<br> “answer”: “maybe”<br>}</p><p>This confirms your logic is working correctly.</p><h3>Step 4: Enable a Lambda Function URL</h3><p>Instead of using API Gateway, the function URL directly:</p><p>In your Lambda function, go to Function URL then click Create function URL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b95_oiVxtI6FlvNNggIGNg.jpeg" /></figure><p>- Set Auth type = NONE (public access)</p><p>Enable CORS (or rely on headers already in code) and click Save.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UG4PxE7XLXFrQL7AygyvoA.jpeg" /></figure><p>You’ll get a URL like:</p><p>https: //abc123.lambda-url.us-east-1.on.aws/</p><p>This is your live backend endpoint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Adp9tk-_qcz4ZS6B4hzbcg.jpeg" /></figure><h3>Step 5: Test the Function URL in Your Browser</h3><p>Paste your URL into the browser with a query:</p><p>https: //your-url.lambda-url…/?question=Will%20I%20get%20a%20job</p><p>You should see:</p><p>{“question”:”Will I get a job”,”answer”:”yes”}</p><p>If that works, your backend is fully live.</p><h3>Step 6: Build the Frontend (HTML + JavaScript)</h3><p>Create a file called index.html and add:</p><p>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br> &lt;title&gt;Fortune Teller 8 Ball&lt;/title&gt;<br> &lt;style&gt;<br> body {<br> font-family: Arial;<br> text-align: center;<br> margin-top: 50px;<br> }<br> input {<br> padding: 10px;<br> width: 250px;<br> }<br> button {<br> padding: 10px 15px;<br> margin-left: 10px;<br> }<br> #answer {<br> font-size: 24px;<br> margin-top: 20px;<br> color: darkblue;<br> white-space: pre-line;<br> }<br> &lt;/style&gt;<br>&lt;/head&gt;<br>&lt;body&gt;</p><p>&lt;h1&gt;🎱 Fortune Teller&lt;/h1&gt;<br> &lt;input type=”text” id=”question” placeholder=”Will I get a job?” /&gt;<br> &lt;button onclick=”askQuestion()”&gt;Ask&lt;/button&gt;</p><p>&lt;div id=”answer”&gt;&lt;/div&gt;</p><p>&lt;script&gt;<br> const lambdaUrl = “YOUR_LAMBDA_FUNCTION_URL_HERE”;</p><p>async function askQuestion() {<br> const question = document.getElementById(“question”).value;</p><p>const response = await fetch(`${lambdaUrl}?question=${encodeURIComponent(question)}`);<br> const data = await response.json();</p><p>document.getElementById(“answer”).innerText =<br> `Question: ${data.question}\nAnswer: ${data.answer}`;<br> }<br> &lt;/script&gt;</p><p>&lt;/body&gt;<br>&lt;/html&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*5mO5GpnrZNpOuybW" /></figure><h3>Step 7: Connect Frontend to Lambda</h3><p>Replace this line:</p><p>const lambdaUrl = “YOUR_LAMBDA_FUNCTION_URL_HERE”;</p><p>with your real Function URL.</p><p>This allows your webpage to directly call your Lambda function.</p><h3>Step 8: Run and Test the App</h3><p>Now that the application is running:</p><ul><li>Open index.html in your browser</li><li>Type a question</li><li>Click Ask</li><li>Instantly receive a response: Yes, No, Maybe</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/0*H2W9papZYJyTN3YC" /></figure><p>Let me know what feedback you have for this blog.</p><h3>Thank you for being a part of the community</h3><p><em>Before you go:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d9QTaaaxboQP_gKSLedW_w.png" /></figure><p>👉 Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></p><p>👉 Follow us: <a href="https://www.linkedin.com/in/bhumika-ch-3784391b9/"><strong>Linkedin</strong></a>| <a href="https://medium.com/codetodeploy"><strong>Medium</strong></a></p><p>👉 CodeToDeploy Tech Community is live on Discord — <a href="https://discord.gg/ZpwhHq6D"><strong>Join now!</strong></a></p><p><strong>Disclosure:</strong> This post includes affiliate and partnership links.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5351a73302f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codetodeploy/building-a-fortune-teller-application-serverless-magic-8-ball-with-amazon-lambda-e5351a73302f">Building a Fortune Teller Application (Serverless Magic 8 ball) with Amazon Lambda</a> was originally published in <a href="https://medium.com/codetodeploy">CodeToDeploy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>