Windows 11 Battery Heatlh Report
Running a battery report periodically can be helpful for a few reasons:
Running a battery report periodically can be helpful for a few reasons:
To check the version of PowerShell on a Windows 11 machine, use the following steps.
Visual Basic 6 (VB6) is a programming language that was widely used in the past, but it is no longer as relevant as it once was. VB6 was released in 1998 and was succeeded by Visual Basic .NET (VB.NET) in 2002. While VB6 is still used by some organizations, it is no longer supported by Microsoft, and most… Read More »
Using arrays in PowerShell can be a powerful tool for organizing and manipulating data. In this blog post, we will cover the basics of working with arrays in PowerShell, including how to create and access array elements, and how to manipulate arrays using various methods.
With Send-MailMessage, you can send email from your scripts. This is especially handy when you have some automated processes, say for monitoring. You could have a script that runs via Task Scheduler that checks for disk space utilization, and sends an email if the disk space is below a threshold.
In PowerShell, you can use background jobs to run scripts or commands asynchronously, meaning they can run in the background while you continue to work in the console. This can be useful if you have a long-running task that you don’t want to wait for, or if you want to run multiple tasks concurrently.
In object-oriented programming, subclassing is the process of creating a new class that is a modified version of an existing class. The new class is called the subclass, and the existing class is the superclass.
A researcher over at Vectra has recently reported a vulnerability in Microsoft Teams that “stores auth tokens in cleartext”. The story has been parroted by many other blogs and security reporters across the internet. There is one key piece of information missing from the report however. The local account of the user has to be compromised first, which is a… Read More »
You can use this PowerShell and WMI combo one-liner to force a shutdown or restart of a remote computer.
This is for instructional purposes only.