How to Read a File using PowerShell

If you are working as an admin on Windows Core Server and want to check the contents of a file, you can execute the following command: get-content C:\testfile.txt This command will display the contents of the file using PowerShell. To save the contents in a variable, you can execute: $FileContent = get-content C:\testfile.txt To read the ... Read more

How to Start Multiple Services With the Help of PowerShell

Run multiple PowerShell Commands at once

This short guide will show you how to start multiple services simultaneously with the help of PowerShell. Start Multiple Services or Applications with PowerShell 1. Open PowerShell with administrative privileges. 2. Execute the following command (Suppose when you are required to search all exchange related services and start them, just replace the parameter). Get-Service "*Exchange*" ... Read more

How to View Office 365 User Account Details in PowerShell

PowerShell get-msoluser command

In this article, I'll show you to retrieve Office 365 user account details with the help of PowerShell using get-msoluser. Prerequisites Download and install the following modules. Microsoft Online Service Sign-in Assistant for IT Professionals RTW Windows Azure Active Directory Module for Windows PowerShell (64-bit version) View Office 365 User Account Details in PowerShell - ... Read more

How to Check the Battery Usage in Windows 10

Windows 10 Battery Report

In today’s world of information technology, almost all of us are habitual of using computer systems or computer controlled devices very frequently. We are tuned to perform all our routine activities using these devices. However, at times, we nearly forget to have a look at the battery consumption of our devices, which is, in fact, ... Read more

How to Find the Security Identifier (SID) of Any User in Windows 10

Get Windows User SID

SID or Security Identifier is defined as a string value, which is associated with every single Windows user account. Just like the user account name, SID is also another parameter to recognize a user account in Windows 10. You can grant special privileges to certain user accounts or you can restrict the activities of certain ... Read more

How to Check Windows 10 Update History Using PowerShell

Windows PowerShell Update history

All of the Windows 10 users are familiar with its feature of automatic update. Automatic update installs an update or a security patch as soon as it finds any of your applications or features getting obsolete. This feature also saves you from all kinds of security threats. The user can turn this feature on or ... Read more

How To Rename NIC Adapters with PowerShell

If you want to rename NIC adapters with PowerShell, follow this tutorial: Step 1. Open PowerShell with admin privileges Step 2. Execute the following command, Rename-NetAdapter -Name "<Old NIC Adapter Name>" -NewName "<New Adapter Name>" Example If you want to rename an old NIC Ethernet to a new name ManagementAdapter, the command should look like, Rename-NetAdapter ... Read more