Tag Archives: PowerShell

Secure Wireless Access and Authentication with Radius on WS2012R2 Network Policy Server .

Basic 802.1X Wireless network implementation requires an alphanumeric network key for access and authentication. In an enterprise environment this is not ideal. I’ve recently reconfigured and redesigned a client site’s WPAPersonal Wireless network for Radius (Remote Authentication Dial-In User Service) … Continue reading

Posted in Active Directory, Network Policy Server, Radius Server | Tagged , , , , , , , , , , | 7 Comments

Matching an Office 365 Azure Cloud user Identity with an On-premise Active Directory User Object.

Recently I came across a situation with our Office 365 tenant deployment where a cloud user was created before we configured and ran Azure ADSync at the on premise Active Directory. Please note that we already had a matching on … Continue reading

Posted in Azure Windows PowerShell, Office 365 | Tagged , , , , , | 4 Comments

Limit Exchange 2010 Email Attachment Size for users with PowerShell.

Recently had a request to limit the email attachment size for specific users within the Exchange Organization. The following one line script took care of the request: New-TransportRule -Name ‘Attachment Size Limit’ -Comments ” -Priority ‘0’ -Enabled $true -FromMemberOf ‘AttachmentSizeLimit@Labnet.net’ … Continue reading

Posted in Exchange 2010 SP2, Exchange Cmdlets, Exchange Management Shell, Microsoft Exchange | Tagged , , , , , | Leave a comment

PowerShell Script uses Split() Method to display Active Directory Users’ Organizational Unit and other Properties.

A colleague was trying to generate a report of Active Directory Users, displaying their Organizational Unit and PasswordNeverExpires property status. Normally this should be very simple, but they ran into a small snag. The Active Directory module at the time … Continue reading

Posted in Active Directory, Powershell 4.0, Script | Tagged , , , , | Leave a comment

Configuring NIC Teaming on Windows Server 2012 R2 using PowerShell.

I want to quickly write about creating NIC teams on Windows Server 2012 R2 Cluster hosts for virtual machine access to the public network. There are a number of parameters to consider when creating a NIC team on this platform, … Continue reading

Posted in Hyper-v 2012 R2, Network Load Balancing, NIC Teaming, PowerShell 3.0, Powershell 4.0, Windows Server 2012 R2 | Tagged , , , , | Leave a comment

Configuring a Single Windows Server 2012 R2 Active Directory Domain Controller in a new Forest.

Pre-Windows Server 2012 and PowerShell 4.0, the primary tool/command for Active Directory Domain Controller promotion and demotion has always been the Dcpromo command. With Windows Server 2012, it’s been replaced by a suite of PowerShell cmdlets contained in the ADDSDeployment … Continue reading

Posted in Active Directory, Active Directory Domain Services, AD Forest, PowerShell, PowerShell 3.0, Powershell 4.0, Windows Server 2012, Windows Server 2012 R2 | Tagged , , , , , | Leave a comment