PowerShell Admin Tasks: Real-Time IT Dashboard

Creating a real-time IT dashboard is essential for IT professionals for managing their environments and to be proactive. Every sysadmin should be able to monitor their environment and should send reports or dashboards to the top management on a regular basis. Of course, you can build your own dashboards using a monitoring tool, but you don’t always have a PowerShell […]

Read more

How to connect to Microsoft Azure using Powershell

Install the following components on your system to connect to your Microsoft Azure subscription using PowerShell: Microsoft Online Service Sign-in Assistant for IT Professionals RTW Select the appropriate version of your OS Azure Active Directory Module for Windows PowerShell (64-bit version) The 32-bit version is discontinued by October 20, 2014. You must be a tenant administrator (i.e. company administrator, global administrator) […]

Read more

Enable IMAP on all Exchange 2013/2016 Servers

IMAP and POP3 are disabled on Exchange Server 2013 and 2016 servers by default. Chances are if you need to enable it, you’ll need to enable it on all your servers at once. Fortunately, PowerShell makes this easy! Run Exchange Management Shell as administrator on an Exchange server and execute the following: PowerShell Script to enable IMAP on all servers […]

Read more

How to reset pswds for AD user acct via PowerShell

Open PowerShell in admin mode and enter the following: Make sure to have a .csv file with a column name of “Username” and “Password”     Import-Module ActiveDirectory  $UserPwds = Import-CSV C:\users\msgeek\desktop\Users.CSV  ForEach($User in $UserPwds)  {        Set-adaccountpassword $User.UserName -reset -newpassword (Convertto-Securestring -asplaintext $($User.Password) -force)  }     

Read more

PowerShell – How to recover deleted emails and items using Windows PowerShell

Occasionally accidents happen and important emails or things like calendar events get deleted. If you are unlucky you won’t be able to recover the deleted items the easy way over Microsoft Exchange server and will have to use PowerShell. Below are the steps to take to do this: Make Sure you are a member of the Discover Management Role Group Before […]

Read more

PowerShell – Setting Permissions for Office 365 using Powershell to user another users Mailbox

To configure a user to view another users mailbox, follow these steps:   1) This step will show you what your execution policy is on your computer. Depending on what execution policy you have will determine what scripts you can run. Theresfore, it is important that you do this step before starting so that you are sure you can actually execute the […]

Read more

PowerShell – How to Add and Remove Calendar and Contacts permission’s for Office 365 User’s via PowerShell

How to add, and remove, contacts and calendars permissions for users of Office 365 by using PowerShell. This can be useful should you have trouble trying to add permissions over Outlook. The first you need to connect to the Office 365 Exchange Powershell, open a Powershell session and enter these commands, providing your Office 365 admin account details when requested:   $cred = […]

Read more
1 2 3 4 5 6 11