Powershell Archive

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

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 is a full-featured antivirus software.

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 and malware programs. Sometimes users

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 strongest of these algorithms. Compared

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 Windows Server 2012 R2 already

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 be solved by using PowerShell

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 Internet Files\Content.Outlook\ You should know

How to copy files with BITS using PowerShell

If you use local (and global) networks, you might know that files between systems are transferring by using SMB, FTP or HTTP protocols. The problem with all of these protocols is difficulties with the large files downloading. Also, this sort of problem is a common issue due to slow