In this post we are going to look at setting up RRAS on a Windows Server's in VMware, to allow communication between two subnets for RDP Remote Desktop Connections. First we need to setup the RRAS Virtual Machine in VMWare. It's going to need two virtual network interface cards, one connecting to my Workplace LAN's … Continue reading Using Windows Server as a Network Router for communication across two Subnets
Restoring a Mailbox or specific Mailbox data in Exchange
In this post we are going to look at restoring mailbox data in Exchange using PowerShell. Using your backup software - load the tape or disk backups containing your Exchange databases around the proposed date. Then restore the database to a convenient location with enough disk space. After that copy over the Database and the … Continue reading Restoring a Mailbox or specific Mailbox data in Exchange
How to Pass Credentials in PowerShell
In this post we are going to look at the multiple different ways to use user credentials in PowerShell. Bare in mind, the examples listed in this post aren't the only options available when it comes to using credentials in PowerShell, but these examples are a good place to start. Having your domain username and password … Continue reading How to Pass Credentials in PowerShell
Delete Local User Profiles Remotely using a PowerShell Script (DelProf2.exe)
In this post we are going to look at utilizing a tool called DelProf and a small PowerShell script to delete user profiles on workstations remotely. First we need to download the tool, it's just one executable file that can be found here The reason for using DelProf2.exe over the syntax's Remove-Item or leveraging WMI … Continue reading Delete Local User Profiles Remotely using a PowerShell Script (DelProf2.exe)
Fix Exchange Server High CPU & Memory IIS
In this post we are going to look at one simple method of bringing down high CPU and Memory Usage on an Exchange server. The steps highlighted below are best preformed when you can identify that a large portion of the servers available resources are being taken up by the IIS worker and node runner … Continue reading Fix Exchange Server High CPU & Memory IIS
Restore AD Objects and Users using PowerShell
In this post we are going to look at the different ways you can restore Active Directory objects, such as User Accounts, Groups, Computers and OUs using Restore-ADObject in PowerShell. View Deleted Objects: Firstly this command will show you a list of all deleted objects: Get-ADObject -Filter 'isDeleted -eq $True -and name -ne "Deleted Objects"' … Continue reading Restore AD Objects and Users using PowerShell
Run PowerShell Commands On Remote Computer
In this post we are going to look at running commands on a remote server using PSRemoting sent using the WS-Managment technology WinRM protocol. Firstly you need to make sure WinRM is enabled: WinRM is enabled by default on Windows Server 2012 R2 but disabled on all client operating systems earlier than Windows Server 2012. … Continue reading Run PowerShell Commands On Remote Computer
Restore AD Active Directory User Account using LDAP
This is post we are going to look at restoring an Active Directory AD user account using LDAP. In terms of data recovery, tombstone reanimation has great advantages. Tombstone reanimation doesn't require the DC to be taken offline and reanimating tombstones is much better than simply recreating a new version of a deleted object. If … Continue reading Restore AD Active Directory User Account using LDAP
Remove and automatically Re-add Computers from the Domain using PowerShell scripts
In this post we're going to look at removing and then automatically re-adding a workstation from the domain using PowerShell scripts and a batch file. **Bare in mind - the script may not be the best first step for troubleshooting a computer falling off the domain or a trust issue. 'test-computersecurechannel -repair' would be a … Continue reading Remove and automatically Re-add Computers from the Domain using PowerShell scripts
Add Network Driver to a Boot Image – boot.wim
In this post I am going to take you through the process of adding network drivers into a boot image, mainly for the purpose of PXE booting machines. This will involve using 'Deployment Image Servicing and Management' (DISM.exe) to import the machine specific network drivers (.inf files) into the boot image. Firstly - To get … Continue reading Add Network Driver to a Boot Image – boot.wim