Duplicating NTFS permissions after migrating shares to new server
Had to setup a new box that will replace an old file server. Used Rsync to copy over all the data. Now I needed to set permissions on each shared directory. Most shares were just permissions set on the...
View ArticleDisable Strict Name Checking
I have a 2008r2 print server, we’ll call ‘fileserver1’ that has printers shared off of it. When printers are mapped to workstations I like to use a CNAME or A record in DNS using a different name than...
View ArticlePowershell to find expiring Active Directory accounts, and email the user.
Needed to write a script to check AD for expiring passwords, and email users if their password was going to expire in 8 or less days. Had issues with remote users never getting prompted that their...
View ArticleDPM HyperV backups on Cluster Shared Volumes
Setting up DPM this morning to backup HyperV virtual machines on a cluster using Cluster Shared Volumes. I’m using a software VSS provider so I added the key to the registry shown here: DPM backups of...
View ArticlePowershell list files older than $date
Putting this here so I don’t have to look it up again. Gci of a folder and list objects older than the date specified. Get-ChildItem e:\data\ -recurse | Where-Object { $_.CreationTime -le "01/31/2012" }
View ArticleHP MSA P2000 Performance Graphing with Cacti.
Used this Nagios script http://www.toms-blog.com/nagios-hp-msa-p2000-status-and-performance-monitor/ along with with some perl in the command line of the Data Input Method to get some performance...
View ArticlePowershell Logon Script to update printer mappings and keep the default printer.
Found a powershell script online here: learn-powershell.net/2012/11/15/use-powershell-logon-script-to-update-printer-mappings/ that uses WMI to query locally mapped printers, delete them, and reconnect...
View ArticlePowershell script to Monitor DFS replication.
Found this script that uses WMI and DFSRDiag that shows you the status of replication between DFS replicated folders. The output is nice, clean, and simple: 0 Files in backlog...
View ArticleClean up user profiles on Citrix Server
We have a good number of users using published applications via our Citrix farm. We also have profile size limits enforced. Joe User gets an email with a gotomeeting link, clicks on it, and it opens up...
View ArticleDeploy SCCM 2012r2 Client, Add to Device Collection, and force a Refresh...
Currently we use SCCM 2012r2 to deploy and manage Microsoft Endpoint Protection to workstations. There are plans to use it for more tasks but that’s about it for now. When a machine get’s re-imaged I’m...
View Article