What files are open? Who is connected to the file server? Those informations might be useful for backing up, maintaining or restarting your file server. To accomplish this task run Get-SmbOpenFile to […]
Securing Active Directory: Who can add computers to the domain? Only the domain admin?
“Only Domain administrators can add computers to the domain.” I can’t count how often I have heared these words. But when installing a new domain, a counter is configured and this counter allows each domain user to add up to 10 computers to the domain. This is the default setting.
PowerShell: Using Format-Wide
When it comes to formatting Format-Table and Format-List are the tools Nr. 1. But what about format-wide? The longer I am playing with it the better I like it. Format-Wide is cool!
PowerShell: Use SSH to connect to remote hosts (Posh-SSH)
Posh-SSH is a PowerShell module for Windows 10. The module allows to establish SSH connections to remote computers. As a prerequisite, Windows Management Framework 5 has to be installed. In this article I will show step-by-step how to install Posh-SSH and establish a remote connection to a computer running Linux.
Measure-Command: A speed comparison (Foreach vs. Foreach-Object)
Measure-Command shows how long a command or script takes to get the result. This is particularly important for large amounts of data.
PowerShell: How to find out users last logon (Get-LocalUser)
With the introduction of PowerShell 5.1 new commands for local user administration were introduced. I`m glad to hear that. I don`t like net user.
PowerShell: Using Restart-Computer to restart your Computer and Remote Computers
For restarting your computer, you can simply click the Start Button and afterwards On/Off. In this article it’s all about Windows PowerShell, so we focus on two commands: Restart-Computer and Stop-Computer.
Ping: Request timed out vs. Destination Host unreachable
Often executed – often not well interpreted. What is Ping? Ping is the network troubleshooting tool No. 1. Ping sends ICMP packets to an IP device. In the hope that the remote device responds. But what does the error code request timed out mean? And what means destination host is unreachable?
Active Directory: Configuring Roaming Profiles using GUI or PowerShell
By configuring Roaming Profiles, the user is able to use it’s familiar desktop on any computer in the domain. In this article i describe how to configure roaming profiles with the graphical user interface and with PowerShell.
How to enable Remote Desktop and establish a Remote Desktop Session (Windows 10 / Windows Server)
This article shows how to enable Remote Desktop on Windows Server systems and Windows 10, and how to establish a remote desktop connection. Do you remember the administrators, who ran from one system to another?
Active Directory: Installing and Configuring Local Administrator Password Solution (LAPS)
This step-by-step guide demonstrates how LAPS can be integrated in an Active Directory domain. Passwords in an Active Directory domain are stored centrally. But what about the local account of the administrator? Many use the same password on all computers. A nightmare in terms of IT security. LAPS stores local administrator passwords centrally for all domain computers.
Configuring Group Policies using Windows PowerShell
In this blog post I am going to describe how to use PowerShell to administer Group Polices in your Active Directory environment. Group Polices control the environment of users and computers. But […]
Use PowerShell to create compressed ZIP files
With PowerShell 5.0 two new commands are introduced: Compress-Archive and Expand- Archive. Both commands can – like WinZip or 7-Zip – compress and decompress data.
Utilman.exe and the Security Concern (Administering the system without logging in)
On every windows system there is a small but useful feature called Ease of access. If you want a high-contrast theme, optimized visual display or closed captions, then “Ease of access” is your […]
Ping: Transmit failed. General failure.
What to do if ping returns general failure? One of the most common command line tools on all platforms is the command ping. Ping tests the network connectivity between systems. In this arcticle, I describe the most common configuration errors, which cause the general failure.



