-
PowerShell Workflow to enable or disable IP protocols (IPv4 or IPv6) on network adapters of remote servers
I wrote a very simple PowerShell workflow to solve an issue on one particular environment. The problem was that system administrators thought that it is a good idea to disable IPv6 protocol on all NICs on all servers. Disabling IPv6 protocol is a very bad practice. This will not disable IPv6. Microsoft does not tests…
-
How to manage and configure BitLocker Drive Encryption – PowerShell and BitLocker on Windows Server 2012 R2
I have heared a lot of questions and a lot of incorrect answers about BitLocker in enterprise environments so I decided to write a series of articles to demystify BitLocker and its management. BitLocker – Difference between Windows 8.1 (client OS) and Windows Server 2012 R2 The most important difference is that you need to…
-
Building Microsoft SQL Server AlwaysOn Availability Groups – Part 2 – Create cluster and configure OS
Storage We do not need any clustered disk for this type of SQL cluster that we will create but unless you do not want to store all database data and logs on the C volume (not recommended in the production environment) you need enough local disks. In our case we do not need too many…
-
Building guest (virtual) File Server Failover Cluster on Hyper-V host with Windows Server 2012 R2
Install guest (virtual) failover cluster Please continue to the Building guest (virtual) failover cluster series to learn how to create guest cluster from the virtual machines. Prerequisites Cluster: Microsoft Windows Server 2012 R2 Two nodes Failover Clustering Storages Witness disk: One disk on a shared VHD or VHDX virtual disk Cluster disks: One or more disks…
-
Building guest (virtual) Failover Cluster on Hyper-V host with Windows Server 2012 R2 – Part 2 – Install and configure cluster
Prerequisites of Failover Clustering Domain join Join to the domain. PowerShell $domain = ‘ad.contoso.com’ $userName = ‘UserWithPermissionsToAddComputerIntoDomain’ $password = ‘Your-Password’ | ConvertTo-SecureString -AsPlainText -Force $login = ‘{0}\{1}’ -f $domain, $userName $credential = New-Object System.Management.Automation.PSCredential($login, $password) Add-Computer -DomainName $domain -Credential $credential -Restart Configure storage Online all disks on all nodes. Initialize and format disks on one…