Happy 4th of July (2025)

๐“Ÿ๐“ป๐“ช๐”‚ ๐“ฏ๐“ธ๐“ป ๐“ธ๐“พ๐“ป ๐“๐“ช๐“ฝ๐“ฒ๐“ธ๐“ท ๐“ช๐“ท๐“ญ ๐“ฒ๐“ฝ๐“ผ ๐“›๐“ฎ๐“ช๐“ญ๐“ฎ๐“ป๐“ผ๐“ฑ๐“ฒ๐“น!

“Blessed is the nation whose God is the Lord” – Psalm 33:12a (NASB)

“and My people who are called by My name humble themselves and pray and seek My face and turn from their wicked ways, then I will hear from heaven, will forgive their sin and will heal their land.” – 2 Chronicles 7:14 (NASB)

This image has an empty alt attribute; its file name is 4th_of_July_2020_enhanced.jpg
ย 
ย 
ย 

ย 


Posted in Holiday

How to Reboot Windows using PowerShell for Windows

In this blog post, I will show how to reboot Windows using PowerShell.

As you know, rebooting Windows is typically done through the graphical interface, but understanding how to reboot Windows using PowerShell can be beneficial for various reasons (e.g., automation tasks, install scripts, etc.). Also, you may find yourself in a Windows environment that requires the use of the command line (e.g., Server Core).

โ„น๏ธย  Notice

You don’t need administrator privileges to reboot a desktop version of Windows, but you do need them to reboot a Windows Server.

To reboot Windows from the command line, run the following command in a PowerShell terminal.

Restart-Computer

If you need to forcefully reboot Windows (without waiting for all the programs to close first), use the “-Force” switch.

Restart-Computer -Force


Posted in Code Snippet, Command Prompt, Computers, Internet and Servers, Operating Systems, PowerShell, Tips & Tutorials

How to Disable Windows Memory Compression for Windows 10/11

In this blog post, I will explain how to disable memory compression on a Windows 10/11 system via PowerShell.

For those who don’t know, Windows compresses infrequently used memory instead of writing them to the page file. This way if your computer needs to use that particular data, it just has to decompress it in memory rather than access the much slower page file on your hard drive or SSD.

Since memory compression uses up CPU cycles, this can potentially slow down a computer.

Interesting Fact: Microsoft disables memory compression, by default, on Windows Servers. That right there tells you memory compression can potentially slow down a computer system.

โ„น๏ธย  Notice

Disabling memory compression on computers with limited RAM ( < 16GB ) can decrease performance rather than improve it. It is always recommended to run benchmarks before and after disabling memory compression to verify that you indeed received a performance increase from turning off memory compression.

To disable memory compression on Windows 10/11, run the following command in an Administrator PowerShell terminal.

 

Disable-MMAgent -mc

 

Disable Windows Memory Compression

 

Of course, if you wish to re-enable memory compression, just type the following command.

 

Enable-MMAgent -mc

 

Enable Windows Memory Compression

ย 

โ„น๏ธย  Notice

It would probably be a good idea to reboot Windows after disabling or enabling memory compression to make sure the change is applied.


Posted in Code Snippet, Command Prompt, Computers, Internet and Servers, Operating Systems, PowerShell, Tips & Tutorials

Merry Christmas 2024!

Merry Christmas 2024

ย 

Luke 2:8-20ย  ย  New American Standard Bible (NASB)

8 In the same region there were some shepherds staying out in the fields and keeping watch over their flock by night. 9 And an angel of the Lord suddenly stood before them, and the glory of the Lord shone around them; and they were terribly frightened. 10 But the angel said to them, โ€œDo not be afraid; for behold, I bring you good news of great joy which will be for all the people; 11 for today in the city of David there has been born for you a Savior, who is Christ the Lord. 12 This will be a sign for you: you will find a baby wrapped in cloths and lying in a manger.โ€ 13 And suddenly there appeared with the angel a multitude of the heavenly host praising God and saying,

14 โ€œGlory to God in the highest,
And on earth peace among men with whom He is pleased.โ€

15 When the angels had gone away from them into heaven, the shepherds began saying to one another, โ€œLet us go straight to Bethlehem then, and see this thing that has happened which the Lord has made known to us.โ€16 So they came in a hurry and found their way to Mary and Joseph, and the baby as He lay in the manger. 17 When they had seen this, they made known the statement which had been told them about this Child. 18 And all who heard it wondered at the things which were told them by the shepherds. 19 But Mary treasured all these things, pondering them in her heart. 20 The shepherds went back, glorifying and praising God for all that they had heard and seen, just as had been told them.


Posted in Biblical Accounts, Christian, Holiday