You have a domain joined computer, and you want to add a domain user or domain group to one of the computer’s local groups. If you have administrative permissions on the domain joined computer, this can be done quickly with …
Some PowerShell commands to quickly add a Windows 2012 R2 server to an active directory domain in a lab environment. This includes configuring the NIC, renaming the server, and creating the AD computer account in a defined OU path. …
Some PowerShell commands to quickly build a Windows Server 2012 R2 DC for a new forest/domain in a lab environment. This includes some configuration changes to DNS, setting an external time source, building an OU structure, and creating administrative user accounts. …
I wanted a way to choose what my PowerShell session would connect to when starting up. At various times I need to connect to on-premises production systems, to lab systems, or to an Office 365 tenant. Editing my profile each …
Three Network Topology Options Because DirectAccess in Server 2012 R2 can be configured with a single NIC, there are actually more than three network topology options. However, I will only be covering the options when using 2 NICs. A DirectAccess server supports being behind a NAT …
The following will show you how to configure your Microsoft Lync client with up to 4 custom states. At the time of this writing, this configuration has worked with both the Lync 2013 client and the Skype for Business client …
Scenario I had a client with a mixed 32-bit/64-bit install base of Office Pro Plus (2010 & 2013). At one point they decided to start rolling out the 64-bit versions, but then switched back to 32-bit after having issues with some 3rd party plugins. They …
A checklist of tasks one can do after installing Server 2012 R2. Note that Sysprep will reset some of these changes. Server Configuration Tasks Server Manager > Local Server Enable Remote Desktop Change Time Zone IE Enhanced Security – Admin: …
List All Firewall Rules Get-netfirewallrule | FT name, displaygroup, action, direction, enabled -autosize Get Log File Location Get-netfirewallprofile | format-table name, enabled, logfilename -autosize Display a Single Rule’s Settings Show-NetFirewallRule | where name -eq “CoreNet-DHCP-In” Get-NetFirewallRule | where name …
The following PowerShell command will output the name and size of all folders in the current directory. It also includes the number of files in each of the folders. Get-ChildItem | Where-Object { $_.PsIsContainer } | Select-Object Name, @{ label=”Files”;Expression={ …