Let’s unravel the intricacies of using Windows PowerShell to uncover the nuances between two instances of the same process running on your system. This illuminating technique involves the adept utilization of the Compare-Object cmdlet, revealing insights that might otherwise remain hidden. Imagine you’re on a quest to scrutinize and distinguish […]
Powershell
The built-in Teams app for Windows is a pre-installed version of Microsoft Teams that comes bundled with the Windows operating system. This integration aims to provide users with seamless access to Teams’ collaboration and communication features right from their desktop, without the need to separately install the application. However, it’s […]
Let’s dive into using Windows PowerShell to set static IP and DNS addresses on a server. In this walkthrough, I’ll walk you through the process with a concise breakdown of the steps. Here’s the script, named `SetStaticIP.ps1`, that performs the IP and DNS configuration: $wmi = Get-WmiObject win32_networkadapterconfiguration -filter “ipenabled […]
For those familiar with Unix or Linux, the concept of parallel processing using jobs isn’t foreign. PowerShell brings forth the ability to execute commands in the background, freeing up the console for other tasks. I explored cmdlets like “Start-Job,” which enable launching multiple jobs simultaneously, thus sidestepping the delay of […]
Toast notifications are a type of unobtrusive and visually appealing pop-up notification that appears on the screen of a Windows device. They are designed to grab the user’s attention without interrupting their workflow. The term “toast” is derived from the way these notifications resemble a slice of toast popping up […]
As mentioned in the previous blog post, as an IT Pro you are usually executing commands within the NT System\Administrator account, meaning you cannot delete files simply on the current logged in user. But fear not, we can fix this with the following PowerShell code: $users = Get-ChildItem “Registry::HKEY_USERS” | […]
In the IT Pros world, when executing commands these are usually executed within the “System Context”, or better explained with the NT System\Administrator account. The NT AUTHORITY\System account, often referred to as the “system account” or “local system,” is a built-in account in Windows operating systems. It is one of […]
OneDrive by Microsoft, previously known as SkyDrive, is a cloud-based storage service that offers users the convenience of storing and synchronizing files, including Microsoft Office documents and photos. Integrated seamlessly into the operating system, OneDrive functions like a regular folder, making it easy for users to interact with their stored […]
To effortlessly retrieve the device’s uptime, indicating the time of its last reboot, execute the command provided below: Get-ciminstance Win32_OperatingSystem | Select -Exp LastBootUpTime Furthermore, there exist notification messages, known as toasts, that prompt users to initiate a reboot via this approach. This method operates seamlessly unless a certain scenario […]
A file extension, denoted by a suffix appended to a foundational filename, signifies the specific file format attributed to that foundational filename. The inclusion of visible filename extensions empowers users to swiftly recognize both the file category and its associated application, thus facilitating prompt detection of potentially deceptive malicious files. […]
Cortana stands as Microsoft’s dedicated personal assistant software, akin to Apple’s Siri. Its primary function revolves around aiding users in accomplishing various tasks, ranging from setting reminders to furnishing answers to queries. For Cortana to operate effectively, delivering personalized experiences and pertinent recommendations, it necessitates the collection of personal information […]
Microsoft Graph PowerShell offers a powerful way to manage and handle administrative tasks for Microsoft 365 and Azure AD through the command line. However, just as with any powerful tool, ensuring security is paramount. This guide delves into the security considerations when using Microsoft Graph PowerShell and presents actionable steps […]