PowerShell function to search for users in Active Directory. You can search on UserName (searches in SamAccountName), Name (searches in GivenName, SurName and DisplayName) and EmailAddress.
PowerShell function that will search for files in a given location which match a certain name. This search can be done recursively or not.
PowerShell function that will search for directories in a given location which match a certain name. This search can be done recursively or not.
PowerShell function that will search for files bigger than a given size in a given directory. This search can be done recursively or not.
In this tutorial, we will create a new Active Directory forest on Windows Server 2012 R2 and afterwards add a second domain controller. We will perform the entire operation with PowerShell.
In Windows Server 2012, Microsoft improved a lot upon the Server Core concept. In this tutorial, we will show you how you can easily switch between the Full GUI and Server Core interface.
How to fix “The trust relationship between this workstation and the primary domain failed” with PowerShell
When you attempt to login to a Windows computer and get the message “The trust relationship between this workstation and the primary domain failed”, it usually means the computer’s machine account password does not match anymore with the one in the Active Directory database.
PowerShell function that will start all Automatic services on a Windows computer. By default it will skip some Automatic services that are usually stopped.
Short PowerShell function to calculate the uptime of one or more computers. The script also accepts pipeline input.
In the first part we discussed how NTFS permissions work and we also talked about the components of the security descriptor. In this second part we will show how to apply this in some real life examples.