Must have PowerShell Tool for SysAdmins

Hey Guys, as a Windows SysAdmin some of your primary tools is Active Directory and PowerShell. I want to share this tool I found online from Patrick Gruenauer – Author of https://sid-500.com/ You can download the tool from here: https://sid-500.com/2018/05/22/active-directory-domain-services-section-version-1-1/ Active Directory Domain Services Section What can we do with it? This is the question for this part. I wanna […]

Read more

Useful PowerShell Scripts/Commands

Step 1: Get-Help, Get-Command, Get-Member and Get-Alias Thanks to Justin for pointing out that I left out probably the most useful command. Get-Help. I’ve added some of my other favorite commands for learning as well, which I still use almost daily. Get-Help is an amazingly useful command and is quite versatile. Get-Help Get-WMIObject – Will output basic help and tips […]

Read more

Microsoft Azure Fundamentals Certified

Today I passed the Microsoft Azure Fundamentals AZ-900 exam 🙂 !!! “This exam is designed for candidates looking to demonstrate foundational level knowledge of cloud services and how those services are provided with Microsoft Azure.” I plan to earn more Azure certs in the near future. you can read more about it here: https://www.microsoft.com/en-us/learning/exam-az-900.aspx

Read more

Volume Activation for Windows: Configuring KMS with AD Roles for Windows 2012 / 2012R2

Configuring KMS with Windows 2012 Server Roles Step-By-Step Installing the Volume Services Role for KMS To begin the installation of the KMS host in the Windows Server 2012 / 2012R2 machine, begin by adding a role: On the next screen, select Role-based or feature-based installation: Select the server where the roles will be installed: On the Add Roles and Features Wizard, select Volume Activation Services. […]

Read more

VMWare VM Server OS & NIC Tuning Optimizations

VMWare VM Server Tuning – Windows OS & VMXNet3 Network Card Optimizations   In Windows, Open a command prompt window with elevated permissions and execute the following commands displayed in RED.   [Display the TCP stack settings] C:> netsh int tcp show global   [Disable specific TCP stack parameters] C:> netsh int tcp set global chimney=disabled C:> netsh int tcp set global autotuninglevel= disabled C:> netsh int tcp set global ecncapability= disabled C:> netsh int tcp set global netdma= disabled C:> netsh int tcp set global rsc= disabled   I usually put these commands […]

Read more

Disable the Clutter feature in O365 mailboxes

To disabled the clutter feature in a user’s O365 mailbox run the following command:   Turn off Clutter for single user Get-Mailbox –identity someone@somewhere.com | Set-Clutter -enable $false    OR   Single mailbox: Set-Clutter -Identity <user name> -Enable $false      If you want to disable this feature for all users in your tenant as an admin, you can do this with […]

Read more

Delete all Calendar events from a mailbox

Connect to O365 using powershell first   Open PowerShell or EMS If this is an O365 mailbox, you will need to connect to the O365 environment Connect to Exchange On-line From the PowerShell console on an Exchange 2010 server: $Cred = Get-Credential  $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection  Import-PSSession $s    Then run this command in powershell: Search-Mailbox -identity “UsersMailbox” -SearchQuery kind:meetings -DeleteContent   

Read more

How to copy old user’s mailbox to another user’s mailbox on Office 365 and Exchange Server using PowerShell

You will come across the issue with leavers mailboxes needing to be transferred to another users mailbox. If you are looking after on-site exchange, then the process is slightly shorter as you don’t need to connect to the remote Powershell.   To connect to O365 first run this PS command: $Cred = Get-Credential  $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic […]

Read more

Bulk import email aliases to Office 365 using Powershell

If you need to add email aliases to O365 accts in bulk use the following (EMS) powershell command with the CSV file formatted this way:   Name ProxyAddresses user1@domainold.com user1@domainnew.com   Run this in EMS: Import-Csv C:\email-aliases.csv | ForEach-Object{ $name = $_.Name }  Import-Csv C:\email-aliases.csv | ForEach-Object{ $proxy = $_.ProxyAddresses -split ‘;’}  Set-RemoteMailbox -Identity $name -EmailAddresses @{add= $proxy}    OR   Get the display name and email […]

Read more
1 8 9 10 11 12 71