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

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 all 91 articles
Browse latest View live