I’ve been working on needed to copy a number of files from one client site to another, my issue is that they have separate Active Directory domains and there is no trust between them. Using PowerShell, we can save a user credential and then use that to map a network drive with them and perform … Continue reading "Copying files from one server to another as a different user (two separate domains) using PowerShell"
There have been a few times recently where I’ve had end users do some weird things to either their desktops or development servers they have been working on. If they’re on Dev servers we usually just restore the servers from backup but sometimes we just need to do a quick fix. The most common issues … Continue reading "Working with Windows File and Folder NTFS Permissions (Copy and Reset)"
A client is currently in the planning stages of doing a migration to Azure AD and Office 365 and one of the things we needed was a list of users who have not logged on in the last few months but are still active in our AD. Well it’s PowerShell to the rescue again (with … Continue reading "Get a list of users in Active Directory who have not logged in for specified number of days using PowerShell"
I recently had to extract some data from our DirectAccess server to get information about a particular user and their number of connections during a time period along with data transferred. The Remote Access Management Console allows you to view these details but not extract or save them. So I turned to PowerShell and used … Continue reading "Extracting Reporting data from your DirectAccess Server to CSV using PowerShell"
So a lot of environments are making the jump to Exchange 2013/2016 away from 2007/2010. From a management point of view the largest change is the move away from a GUI Management option to web-based and PowerShell management. One of the tools missing is the Message Tracking tool, which in a basic form is available … Continue reading "Make viewing and sorting Exchange 2013 / 2016 Message Tracking Logs using PowerShell easier with GridView"
So I was recently setting up a demo environment in Azure with two servers. Our goal was to have Remote Web Access and then publish RemoteApps through that so we could give live demos. The process to setup Remote Desktop Services is much easier in Server 2012 / 2012 R2 thanks to the Add Remove … Continue reading "Adventures with setting up RDS RemoteApp and Web Access in Windows Server 2012 R2"
Quick one today. By default, when creating a room resource mailbox, Exchange will grant default permissions of AvailabilityOnly for any user (default), if you are after people knowing who has booked a room or resource then you can adjust the permissions to Reviewer. The quickest way to do this is via PowerShell, you can use … Continue reading "Adjust resource mailbox calendar permissions on Exchange 2010/2013 using PowerShell"
I’ve been helping out a customer build a new MDT deployment environment and move away from Ghost and the 90’s. As they are not going to be implementing Systems Center Configuration Manager and SUP to automatically maintain their images offline any time soon, we need a way to keep their image up to date with … Continue reading "PowerShell Script to Install Updates Offline in a WIM image using DISM"
Every so often I get a request to allow people to view someone else’s calendar. Usually I just tell that person to go and ask whom ever the calendar belongs to, to give them permission. This isn’t always possible though as on a few occasions where I’ve had to give access because that other person … Continue reading "Setting item level (Calendar, Tasks etc) permissions for Mailboxes and Users with PowerShell for Exchange 2007, 2010 and 2013"
We recently took on a new hire, although I was confident in their ability in managing Active Directory I wanted to take an extra step in protecting Organizational units from deletion. I was sure that I could do this quickly using PowerShell instead of right-clicking each of our 80 odd OUs and going into their … Continue reading "How to protect all existing Organizational Units (OUs) in your Active Directory domain from Accidental Deletion by using PowerShell"