Quantcast
Channel: Powershell – TheITBros
Browsing latest articles
Browse All 91 View Live

Image may be NSFW.
Clik here to view.

How to Get Windows 10 User Login History Using PowerShell?

On Windows, you can track user login and logoff events using the Security log. In this article, we’ll show you how to get user login/logoff history from Event Logs on the local computer using simple...

View Article


Image may be NSFW.
Clik here to view.

How to Create Office 365 Group?

Office 365 groups are objects that contain user lists. Office 365 groups used to share resources within and across different Azure apps (Teams, Outlook, OneDrive, OneNote, Skype for Business, Power BI,...

View Article


Image may be NSFW.
Clik here to view.

PowerShell: Move Computer to OU

By default, when you join a new computer or server to the Active Directory domain (through the properties of the computer), it creates the computer object in the Computers root container. If you use a...

View Article

Image may be NSFW.
Clik here to view.

“User Must Change Password at Next Logon” Option Not Working/Grayed Out

The option “User must change password at next logon” is usually enabled when creating a new Active Directory user, when the administrator resets the user’s password (when the user forgot his password...

View Article

Image may be NSFW.
Clik here to view.

Configuring Domain Password Expiration Policy

In the Active Directory domain, a password expiration policy can be configured that forces the user to change the password when his password expires. What happens when a user password is expires in...

View Article


Image may be NSFW.
Clik here to view.

How to Reset Firewall Settings to Default in Windows 10?

One of the major changes in Windows XP Service Pack 2 was the introduction of a new security feature called Windows Firewall that manages the Internet connections on your computer and either allows or...

View Article

Image may be NSFW.
Clik here to view.

How to Create a New Office 365 Account?

To use Office 365 resources, you must create a user. You can create a new user via the Microsoft 365 admin center or using PowerShell. Creating a New Office 365 Account via Admin Center Browse and...

View Article

Image may be NSFW.
Clik here to view.

The Basics of PowerShell DSC (Desired State Configuration)

Desired State Configuration (DSC) allows you to configure Windows and applications using a configuration file and PowerShell. As in other configuration management systems (for example, Puppet or...

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 a few different ways of how to get a list of installed programs in Windows 10, 8, or Windows 7 using built-in command-line tools. When it may be necessary? For...

View Article


Image may be NSFW.
Clik here to view.

How to Use ForEach Loop in PowerShell?

Like other programming languages, PowerShell has the concept of loops. The loop (cycle) allows you to execute several times a certain set of commands. The ForEach loop allows you to iterate over the...

View Article

Image may be NSFW.
Clik here to view.

How to Transfer FSMO Roles Using PowerShell?

When you create a domain, all FSMO roles assigned to the first domain controller in the forest by default. You can transfer FSMO roles from one DC to another using both the Active Directory graphics...

View Article

Image may be NSFW.
Clik here to view.

The RPC server is unavailable 0x800706BA

Most likely, a lot of you already faced with an error The RPC server is unavailable. (Exception from HRESULT: 0x800706BA), when you tried to connect to a remote computer or server through a specific...

View Article

Image may be NSFW.
Clik here to view.

Understanding Global Catalog (Active Directory)

In addition to the 5 FSMO roles in Active Directory, there is the sixth (unofficial) domain controller role — Global catalog (GC). Unlike FSMO roles, any controller in a domain can have a Global...

View Article


Image may be NSFW.
Clik here to view.

How to Seize FSMO Roles From Dead Domain Controller?

In case domain controller, which holds FSMO (Flexible Single Master Operation) roles, is fail (virus attack, fatal software problems or catastrophic hardware failure, etc.), you need to transfer FSMO...

View Article

Image may be NSFW.
Clik here to view.

Configuring Live Migration in Hyper-V

Hyper-V Live Migration allows you to move a running virtual machine between hosts without stopping it. Initially, Live Migration in Hyper-V was only available under Windows Failover Cluster with...

View Article


Image may be NSFW.
Clik here to view.

How to Connect to Exchange Online Using PowerShell?

In this article, we will show you how to install the Exchange Online PowerShell V2 (EXO V2) module and connect to Exchange Online. You can manage your Exchange Online tenant using the Exchange Admin...

View Article

Image may be NSFW.
Clik here to view.

Filtering PowerShell Objects with Where-Object

The output of any PowerShell cmdlet is returns as objects. The Where-Object cmdlet is used in PowerShell to filter such objects. The Where-Object cmdlet allows you to filter the output of the previous...

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 based on the capabilities of the Web Services for Management protocol...

View Article

Image may be NSFW.
Clik here to view.

How to Enable Remote Desktop (RDP) Remotely?

The most intuitive way to enable Remote Desktop on Windows is to use a GUI. To enable RDP on a local computer, you need to open the “System” Control Panel item, go to the “Remote Settings” tab and...

View Article

Image may be NSFW.
Clik here to view.

Fix: Unable to Find a Default Server with Active Directory Web Services Running

The error Cannot find the default server running Active Directory Web Services may appear when you import an ActiveDirectory module into your PowerShell session or when you run various cmdlets from...

View Article
Browsing latest articles
Browse All 91 View Live