Powershell Archive

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.

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:

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

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

Managing Windows Defender Using PowerShell

Windows Defender first appeared as an anti-virus utility for Windows XP. Since Vista version it was built into all Microsoft OS as a protection against malicious software. In Windows 8 it was merged with another antivirus product — Microsoft Security Essentials, and now it

How to Reset Windows 10 Firewall Settings to Default

Built-in Windows Firewall is an important part of all versions of Windows operating system (starting from Windows XP SP2) and, when properly configured, allows to get the full control of all network activity on the computer and helps to protect your computer from hackers

LZX — new Windows 10 NTFS compression algorithm

Many of you may know that NTFS file system used by Windows 10 already has a built-in NTFS compression feature. But in Windows 10 Microsoft has added couple of new compression algorithms. In this article we are going to tell you about LZX, the

How to remotely enable Remote Desktop using PowerShell

If you want to remotely enable Remote Desktop on the server, but you have not access to the terminal, we will show you how to do it. In our case we are using on server on 2012 R2 platform. It should be noted that

How to Manage Backups using PowerShell

Quite often there is a situation when the backup is performed on Windows Server by using standard tools. Of course, the size of network folder is limited and standard tools are not able to delete backups older than a certain age. This situation can

Clean Out Temporary Outlook Files via PowerShell

Hey guys! If you use Microsoft Outlook on the terminal server, you should know that Outlook is saving temporary files. It creates this sort of files whenever you add or view an attachment. You can find the folder with the temporary files here: C:\Users\%username%\AppData\Local\Microsoft\Windows\Temporary