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

Why does my Windows Service keep forgetting its password?

The mystery: “The service did not start due to a login failure” One of our customers reported a very strange problem last week. After about a day of running flawlessly, their windows service would suddenly fail to start after a reboot. The error reported by the Event Viewer hinted at a problem with the service user’s account: Trying to start the service […]

Read more

AWS Certified Cloud Practitioner

I took the AWS Certified Cloud Practitioner exam a few weeks ago and passed. woot woot!!  🙂 I am super excited. Now I am going for the Solutions Architect exam next! A big thanks to Udemy and Linux Academy for providing excellent training. Criteria https://aws.amazon.com/certification/certified-cloud-practitioner/ Description The AWS Cloud Practitioner exam enables individuals with an overall understanding of the AWS […]

Read more

Building and Deploying Nano Servers

Microsoft has introduced an installation option of Windows Server 2016 that provides an operating system designed and optimized for Cloud operations. Microsoft’s Nano Server is intended to support and run born-in-the-cloud applications and containers. In this article, I will explain how to easily and quickly you can deploy Nano Servers in your server environment, using either PowerShell or a GUI. […]

Read more
1 12 13 14 15 16 71