Server 2012 R2 Print Server Best Practice for Stability

Here are some best practices to keep your Print Servers stable! 1. Minimize the driver count, stick to universal if you can (less features) 2. Set all your print ports to "winprint" with powershell get-printer | set-printer -PrintProcessor "Winprint" 3. Set all your print rendering to happen on the server and NOT client with powershell …

Azure – User Defined Routing for one subnet with PFsense

My goal: Setup a pfsense in azure so I can route all my traffic through that. I didn't want two subnets for this since I already had my VMs deployed. I also wanted to get over the "only 1 ikev1 tunnel" in Azure. I was setting up site to site VPNs with Meraki MX64s which …

Powershell GUI – Quickly Message RDSH Collection Users!

The script: import-module RemoteDesktop Get-RDUserSession -ConnectionBroker connectionbroker.domain.local | select username, hostserver, unifiedsessionid | Out-GridView -title "Select users to message" -passthru | Send-RDUserMessage -MessageTitle "Message from Tech Support" -MessageBody "Server will be rebooting shortly please save your work." The result: After selecting "ok" this appears on the RDSH server. Why does it work? Well send-rdusermessage really …

Azure to Sophos UTM Site to Site VPN IPSEC Settings ( IKEv1 Policy Based)

The Sophos UTM Azure Policy: The sophos UTM Azure Remote Gateway: notes: the pre-shared key should match on both sides, the gateway object should be the public IP assigned to your gateway.   When creating your Azure Virtual network gateway, you must choose policy-based VPN, NOT route-based. Policy based is IKEv1, while route based is …

Powershell GUI – Logging off multiple users in a RDSH Collection!

Problem: I wanted to log off multiple users from an RDSH collection. First I tried the local task manager from the server, that only allowed one selection in server 2012 r2. Then I tried the remote desktop collection in server manager, that only allowed me to log off one user as well. I wanted lower …