Join Computer to Domain via Powershell

Join Computer to Domain Joining a computer to domain via PowerShell is whole lot easier than regular way of GUI based. To Join a Computer to domain, Add-Computer -DomainName “HarmikBatth.Lab” Enter the user credentials, which has permission to join the computer to a domain. You can also mention the “-Restart”, which will automatically restart the… Read More Join Computer to Domain via Powershell

Read Log File and Mount PS Drive based on shares in log file

This Script will Read the provided log file and Mount PS Drive based on the shares provided. Make sure that Log File and Script is in same location, or alternatively change the log file location to desired location This script is basically developed in response to  – https://gallery.technet.microsoft.com/scriptcenter/site/requests/Need-a-script-to-map-network-drives-listed-in-a-log-by-most-recent-date-7b6c0dd9 Log file looks like: Script as per below… Read More Read Log File and Mount PS Drive based on shares in log file