PowerShell – List All Domain Users and Their Last Logon Time
Nov17

PowerShell – List All Domain Users and Their Last Logon Time

KB ID 0000752 Problem In the past I’ve looked at third party tools to do this but what if you wanted to use PowerShell? Solution   Heres’ a cool solution that might interest you also Updating Domain Computer Objects with User and Machine Information 1. On your server paste the following script into Notepad; $NumDays = 0 $LogDir = “.Users-Last-Logon.csv” $currentDate = [System.DateTime]::Now $currentDateUtc...

Read More
PowerShell Web Access
Nov17

PowerShell Web Access

KB ID 0001036 Problem One of my goals for this year is to become more proficient with PowerShell. During my studies I came across PowerShell Web access and thought it was so cool, I’d have a play with it. What is PowerShell Web Access? It’s a web service that runs on a Server 2012 IIS web server. It lets you remote connect to that host (via https) and then launch a PowerShell secure connection to any machine in your...

Read More
PowerShell – Update All Domain Users Email Address From UPN
Nov17

PowerShell – Update All Domain Users Email Address From UPN

KB ID 0001072  Problem Update: Here is an easier Solution Earlier in the year, I had a problem with Certificate Services, every time it tried to issue a ‘user’ certificate it gave me an error because the user did not have an email address specified on their user object in AD. At the time I thought “I wish I know enough PowerShell, to just put an email address in all the users e-mail attribute”. So while...

Read More
Outlook Blocks    Attachments
Nov17

Outlook Blocks Attachments

‘Outlook blocked access to the following potentially unsafe attachments’ KB ID 0000058 Problem Yes it is annoying, someone tries to send you a copy of an program, a database r you are the one doing the sending, and your Outlook client blocks it, but this is done for a good reason. Microsoft have classified 39 different file types as being “dangerous” to your system and have categorized them into two levels....

Read More
Microsoft Outlook Working With Shared Calendars
Nov17

Microsoft Outlook Working With Shared Calendars

KB ID 0000186 Problem You either want to share your own calendar, or get access to another users calendar. Solution Outlook 2010 – Shared Calendars Topics covered in the video below, Outlook 2010 – How to grant a user rights to your calendar (Delegate Access). Outlook 2010 – How to grant a user Read rights to your calendar (Via Email). Outlook 2010 – How to grant a user rights to your calendar (Direct...

Read More