PowerShell Archive

How to Extract Group Members from Active Directory and Export It to CSV file

In this article we’ll take a look at few examples of using PowerShell to extract group members from Active Directory different groups. This article should teach you how to build a list of accounts in a specific Active Directory group and export it to a CSV file, which is

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 MMC management snap-in, WMI, PowerShell, WinRM or another remote control tool. The easiest way to

Get-service: Checking the Status of Windows Services With PowerShell

Using the Get-Service cmdlet you can get a list of all the services installed on the operating system, its status and startup type. This one and other cmdlets to get the status and management of Windows services first time appeared in Powershell 1.0. In this article we will demonstrate

Using Powershell cmdlet Invoke-Command

Nowadays PowerShell Remoting is the main tool for remote management of Windows operating systems. Therefore, any Windows administrator should know about tool’s capabilities and to be able to use it. To run commands on remote computers using PowerShell Remoting, you can use the Powershell cmdlet Invoke-Command (alias icm). The

Arrays Basics on PowerShell

Arrays are used very often when creating PowerShell scripts, so you need to understand how to work with them. In this article we’ll take a look at the basic examples of using arrays in PowerShell. Usually an array is a set of elements arranged one after the other in

Time Configuration for a Virtualized Domain Controllers

Today we will talk about some of the features of time configuration on a virtualized domain controllers. Typically, the time synchronization scheme in the Active Directory domain is as follows: The PDC emulator is the main time source on the domain and must be configured to synchronize time with

How to Add or Remove SMTP Alias to Exchange 2016 Mailbox

Sometimes you need to add another email address to the existing user. In Exchange, in addition to the primary address, each mailbox can be assigned to several additional ones (called aliases or proxy addresses). In Active Directory, additional aliases are stored in the recipient’s multi-valued attribute named proxyAddresses. Proxy

Installing WebDAV client on Windows Server 2016

WebDAV (Web Distributed Authoring and Versioning) is an extension of the HTTP/1.1 protocol. The WebDAV protocol allows to access files on the remote server and perform common actions: reading, writing, deleting files. Typically, this protocol is used by users to work together with remote files. Simply put, WebDAV is

Move FSMO Roles and Upgrade Domain to Windows Server 2016

In this article we will show you how to promote a new domain controller with Windows Server 2016 in the Active Directory domain, move FSMO roles from an old domain controller (running Windows Server 2012 R2/2008), raise the domain functional level to Windows Server 2016 and then demote the

Accessing Hyper-V Virtual Machine Console Using RDCMan

Remote Desktop Connection Manager (RDCMan) is an official utility from Microsoft to connect to servers via RDP (which replaced the Remote Desktops snap-in) and efficiently handle the daily management tasks by System Administrator. The version of RDCMan 2.7 has interesting feature — it can be used to connect directly