Powershell Archive

GPT or MBR: How to Check HDD Partition Table Style

The modern versions of Windows and other operating systems can use one of two standards to store information about hard disk partitions structures. This is an old standard MBR (Master Boot Record) and a new one — GPT (GUID Partition Table). In the Windows OS family, the topic of

How to Backup Drivers and Restore them in Windows 10

A backup copy of the drivers will not only help to restore the operability of the hardware and the peripheral devices (printers, scanners, MFPs, etc.) of the computer quickly, but also prevent any possible problems (for example, with sound or graphics due to an incorrectly installed driver after clean

How to transfer FSMO Roles From a Failed Domain Controller

In case domain controller, which owns FSMO (Flexible Single Master Operation) roles, is fail (virus attack, fatal software problems or catastrophic hardware failure etc.), then you need to transfer FSMO roles from a failed to an another (additional) domain controller (for proper Active Directory domain functioning). Consider this tutorial

Removing Old and Unused Drivers from Driver Store using Powershell

Each time you install or update your device driver, Windows OS (since Vista) continues to store the old version of the driver in the system Driver Store. Thereby, if the system doesn’t work correctly with the new driver, user can roll back to an older version of the driver

Accessing Domain Controller from Local DSRM Account

Login with a local account on the domain controller is basically impossible, since then you are promoting member server to the domain controller (DC), the local accounts database (SAM) become inaccessible. However, this rule has one exception. In case of directory services problems on domain controllers, there is a

Run PowerShell Script from Task Scheduler

Let’s take a look at the basics of creating scheduled job in Windows Task Scheduler to run PowerShell script. For example, we have TestPSScript.ps1 script that is needed to run on a daily basis. There are two ways to solve this situation. Create Scheduler Task from GUI Open Task

How to Backup and Restore Group Policy Objects

Group policies have an important role in the Active Directory domain management, their damage or accidental deletion can lead to unpredictable results. Backup of Group Policy objects (GPO) allows you to quickly restore their state and if not — reduce them to minimum size. In addition, backups should be

Configure Data Deduplication on Windows Server 2012 R2

In this tutorial we will show you a fast and easy way to configure Data Deduplication via Powershell. At first we need to add role for deduplication: Import-Module ServerManager Add-WindowsFeature -name FS-Data-Deduplication Import-Module Deduplication Now we need to enable deduplication (this time on E: drive). Enable-DedupVolume E: -UsageType Default

Fix Trust relationship failed issue without domain rejoining

In this article we will discuss the causes of “Trust relationship failed …” error and some solutions on how to restore secure channel between workstation and domain. In what case we can get this error? For example, when user is trying to login to workstation or server with domain

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 all installed programs in Windows 10, 8 or Windows 7 using built-in command line tools. When it may be necessary? For example, the list of installed programs can be useful when you