I have been knee deep in migrations, so after clicking through a few times to create clustered file shares, I finally decided to script them. Here is that script I thought I would share. Thanksfully there was the NTFSSecurity module published by microsoft that makes permissions a breeze. You can get more details by viewing the module page. Pre-Requsites NTFS Security Module Link to Script …
Read MoreHello! Welcome to my First Veeam PowerShell Script! I have been working on tons of migrations using Veeam Backup and Replication and need to create re-ip rules to update the static IP assignments. Obviously the first rule of scripting if you do something more than once, automate! I was bad at this one, I originally tried and gave up so I did about 20 manually which started to become a huge …
Read MoreIn the midst of playing with Ansible and figured my most common use case would be executing powershell scripts on remote servers, so scavenged around and put this together. Pre-Requsites ansible ansible-winrm Link to Git Project ansible_powershell Preparing to Execute the Script This script assumes you have already installed and configured Ansible, downloaded the Git Repo and installed the …
Read MoreSo I am in the process of rolling out a new 2012R2 DHCP Server Cluster, and I thought i would share my scripts with the community. I have also rolled it into a Vagrant package so you can easily test it on your own, and execute the scripts by themselves against your environment to deploy. Here is a link to the GitHub repository containing all the code. The code is also fairly simple, it pulls in …
Read MoreSo after recently implementing directory sync i wanted to make sure any new groups were properly set up in active directory. Unfortunately i was unable to find any commands so thanks to MS Support I was able to find a way to identify these. You would think it would be under Get-DistributionGroup but it is actually under Get-MSolGroup. After connecting via remote powershell you can run the below …
Read MoreSo I have been working in a few situations where i have wanted to use Horizon 6 published (RDS) applications but having to either launch the Horizon View client within a VDI or have users be forced to logon again has been a deal breaker. Upon further research i finally found the right combination of settings to allow users to launch the RDS Hosted Applications via a Shortcut and automatically …
Read MoreChrome depreciated one of the features that allowed these popups to work, here is a temporary workaround to get it working. Download the Chrome Policy Plugin here Open the zip file you just downloaded and locate the .ADM file that best matches your system: Extract the .ADM file to any folder on your hard drive Go to Start > Run, and run gpedit.msc Right-click Local Computer Policy > …
Read MoreSo upon trying to install .Net 3.5 on a new server today it would not allow me to, it kept telling me the source files were unavailable even after pointing to source directly to multiple ISO’s and copied the files locally. Upon further research I stumbled across this microsoft KB article and used it to ultimately find my fix. KB2734782 Here are the full steps I followed to get .NET …
Read MoreI don’t know whats going on in the past few weeks but the sheer amount of zeroday exploits via email have risen. To protect yourselves against this I would recommend setting up a transport rule to drop or reject any email with executable content. This can be done for Exchange 2013 or Office365 (Exchange Online). Login to Exchange Admin Center using administrative credentials On the left …
Read More