Powershell – How to use Transcripts to keep history of commands and output

The primary tool for logging Powershell activity has been the Start-Transcript cmdlet. Simply enter this cmdlet followed by a path and filename for the log file that you want to create. PowerShell will populate the log file with every subsequent command that is entered. Read More …

Enabling DNS Registration Refresh Interval

On Active Directory domains is very important that clients set automatically their own DNS names on authoritative DNS servers for Read More …

Windows – Clear Group Policy Cache

That’s quite uncommon, but if we need to clear the local cache of Group Policies Objects (GPO) on a workstation/laptop joined to a domain, there are three main methods we can use to accomplish this activity. Read More …

Enable WinRM with Group Policy for PowerShell Remoting

PowerShell Remoting really can makes a routine work a lot easier, but it requires quite a bit of work to get all the remote computers ready to take the remoting calls, such as automatically start Windows Remote Management service. Read More …

Microsoft Windows – Clear RDP Connections History

In workstations and domains environments, for each successful connection to a remote computer using the RDP (Remote Desktop) client in Windows (mstsc.exe) the system will save remote computer name (or an IP address) and the username used to log on by default. Read More …

Windows Server 2016 – Create and Enable Clustered Shared Volumes (CSV)

CSV (Cluster Shared Volumes) is a feature in Windows Server family in which shared disks are concurrently accessible to all nodes within a failover cluster. The feature was first introduced in Windows Server 2008 R2 as a way to simplify storage with clustered Hyper-V virtual machines (VMs), but this is not limited to Hyper-V applications. Read More …

Changing the Timezone (Microsoft Windows)

Timezone is a critical settings on client and server systems. This setting is a “computer-wide” setting, not a per-user setting, so we will not be able to set a specific timezone for a specific user, on Windows systems. Read More …

Auditing File Shares (Windows Security Log)

Until Windows Server 2008, there were no specific events for file shares. But in Windows Server 2008 and later, there Read More …

Setup Chroot SFTP in Linux (Allow Only SFTP, not SSH)

If you want to setup an account on your system that will be used only to transfer files (and not Read More …