Quantcast
Channel: Powershell – TheITBros
Browsing all 91 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Using PowerShell Commands for SharePoint Online Management Shell

Most SharePoint administration functions are performed through the graphical portal interface. However, if you frequently perform the same tasks, you can automate them using PowerShell. Administrators...

View Article


Image may be NSFW.
Clik here to view.

Managing Office 365 Using Azure Active Directory Module for Windows PowerShell

The Office 365 platform includes a PowerShell module that allows you to manage Office 365 organization settings, configure users and licenses from the Command prompt. As with Exchange, there are...

View Article


Image may be NSFW.
Clik here to view.

How to Install and Configure SNMP Service on Windows 10?

Simple Network Management Protocol or SNMP is used for monitoring, event notification, and device management on the corporate networks. The protocol consists of a set of network management standards,...

View Article

Image may be NSFW.
Clik here to view.

Changing Local and Active Directory User Password Using PowerShell

The administrator can change the password of the local users on the computer using the Local Users and Groups (lusrmgr.msc) graphic snap-in. To change the password of an AD domain user, the Active...

View Article

Image may be NSFW.
Clik here to view.

Viewing Active Directory Groups Using DSGet Group

The dsget utility can be used to view various information about Active Directory catalog objects. In this article we will show how to use the dsget group command to list info about different groups in...

View Article


Image may be NSFW.
Clik here to view.

How to Get List of Installed Programs in Windows 10?

In this simple guide we will show you two different ways of how to get list of installed programs in Windows 10, 8 or Windows 7 using built-in command line tools. When it may be necessary? For example,...

View Article

Image may be NSFW.
Clik here to view.

Viewing Office 365 User Account Details Using Get-MsolUser

In this article we’ll show you how to get a various information about Office 365 user accounts using the Get-MsolUser PowerShell cmdlet. The Get-MsolUser cmdlet allows you to view the properties of one...

View Article

Image may be NSFW.
Clik here to view.

How to Configure DHCP Conflict Resolution?

An IP address conflict occurs between two devices on the same LAN if both are assigned the same IP address. Than a conflict occurs on both devices (if they are running Windows family OSs), an error...

View Article


Image may be NSFW.
Clik here to view.

Manage and Disable Windows Defender Using PowerShell

Windows Defender first appeared as an anti-virus utility for Windows XP. Since Vista it was built into all Microsoft OS as a protection against viruses, worms, trojans and other type of malicious...

View Article


Image may be NSFW.
Clik here to view.

How to Run PowerShell Script on Remote Computer?

The functionality of remote command execution in PowerShell is called PowerShell Remoting (appeared in PowerShell 2.0) and is based on the capabilities of the Web Services for Management protocol...

View Article

Image may be NSFW.
Clik here to view.

How to Remotely Enable Remote Desktop (RDP) Using PowerShell

The easiest way to enable Remote Desktop RD on the Windows OS family is to use the GUI. To do this, you need to open the “System” Control Panel item, go to the “Remote Settings” tab and enable the...

View Article

Image may be NSFW.
Clik here to view.

Changing Active Directory krbtgt Account Password

Krbtgt user account is automatically created when promoting a new Active Directory domain. However, many AD administrators do not have sufficient knowledge of this account, which is very important from...

View Article

Image may be NSFW.
Clik here to view.

How to Map a Network Drive in Windows 10?

In Windows you can connect any SMB network shared folder located on a remote computer or server as a mapped drive. In this way, you connect a NAS network drive, or a USB flash drive connected to your...

View Article


Image may be NSFW.
Clik here to view.

PowerShell: Switch Statement Usage

Usually, an if-else construct is used to test conditions in PowerShell scripts. If you need to immediately check several conditions instead of doing complex constructions with if-else, it is much...

View Article

Image may be NSFW.
Clik here to view.

Using WhatIf Parameter in PowerShell

The -WhatIf parameter in PowerShell scripts is typically used to avoid accidental changes to managed objects. Adding the -WhatIf parameter to the PowerShell command will display the objects to be...

View Article


Image may be NSFW.
Clik here to view.

Using GPUpdate to Update Group Policy Settings

After changing any Group Policy setting using the local GPO editor (gpedit.msc) or domain policy editor (gpmc.msc), the new policy setting is not immediately applied to the user/computer. You can wait...

View Article

Image may be NSFW.
Clik here to view.

PowerShell Function Parameters: How to Add?

When developing your PowerShell functions, sometimes you need to put some input values to your functions, such as a file name, string, or any other value. In PowerShell, there are two ways to pass...

View Article


Image may be NSFW.
Clik here to view.

PowerShell: Function Return

Most PowerShell newbies believe that PowerShell functions can return a value only through the Return statement. The return statement usually terminates the function and returns control to the calling...

View Article

Image may be NSFW.
Clik here to view.

PowerShell: Script for Loop through Files and Folders

In this article, we will look at examples of using constructions to loop over all files and folders on a disk or in a specific directory that you can widely use in your PowerShell scripts. Usually, the...

View Article

Image may be NSFW.
Clik here to view.

PowerShell Comparison Operators

PowerShell comparison operators allow you to find out if the value of a variable contains a string, is it larger, smaller, or equal to some value, etc. Most programming languages use symbols as...

View Article
Browsing all 91 articles
Browse latest View live