Windows Server Update Services (WSUS) 2012: Installation

Windows Server Update Services Prerequisites Before you begin installing the WSUS role on Windows Server 2012, the server should meet the following prerequisites: Microsoft .NET Framework 4.0 must be installed on the WSUS server. The Network Service account must have full access to the %windir%\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files and %windir%\Temp file paths. The account you use to install WSUS must be a member of the Local […]

Read more

PowerShell: Alert me when Disk Space is running low on my Windows Servers (E-Mail Notification)

With this PowerShell script you can get an email notification when your disk space is running low on your Windows Servers. PowerShell Script: function getDiskFreeSpace { Get-WmiObject Win32_Volume -computername $args -filter “drivetype = 3” | Select-Object _SERVER, Name, @{Name=”Size(GB)”;Expression={“{0:N1}” -f($.Capacity/1gb)}},@{Name=”FreeSpace(GB)”;Expression={“{0:N1}” -f($_.freespace/1gb)}},@{Name=”FreeSpacePerCent”;Expression={“{0:P0}” -f($_.freespace/$_.capacity)}} | Where-Object -FilterScript {$_.FreeSpacePerCent -lt 95} | Sort-Object -property “FreeSpacePerCent” | Format-Table } ForEach($s in Get-Content c:\Temp\serverlist.txt) { […]

Read more

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
1 2 3 4 63