If you need to send an attachment from a Windows server to an email address use the following syntax Open Powershell
Tag: Powershell
Add LACP Interface and VLAN via CLI in Windows 2019 Core
In this guide I will show you to create an LACP bond and then a VLAN using this bond as a parent. I will bonding 2 x 25Gb interfaces (VIC-MLOM-eth0 and VIC-MLOM-eth1) which are being passed through via Cisco C220 M5 rackmount blade In Powershell : The above shows the two NIC names im interested Read More…
Powershell Script to Update all Scratch Partitions in an ESXi Cluster
Following on from an auto deploy install using SD cards on a Cisco UCS where we couldnt configure the scratch partition within an automated process so I wrote a powershell script to loop around a specific cluster and update all the host logs. Note: This assumes that the directories are already created. I might include Read More…
Promote Secondary Domain Controller via Powershell
In this environment there is a Windows Core 2019 DC installation. To promote a server to a domain controller use the following steps: Run sconfig to give the server a Name, IP address and DNS servers in Powershell Install-WindowsFeature AD-Domain-Services -IncludeManagementTools Install-ADDSDomainController -InstallDns -Credential (Get-Credential jordansphere\administrator) -DomainName jordansphere.co.uk Note: You will then be prompted for Read More…