This will allow you to to call a powershell script from a batch file that creates and sends an email. You will need: SMTP Outgoing Server SMTP Outgoing Credentials Apply this line to any Batch file line. Our example: robocopy C:\Data D:\Data /L /MIR /Z /Copy:DAT /DCOPY:T /J /mt /tee /r:1 /W:1 /ETA /xd “$RECYCLE.BIN” /log+:”C:\RCLogs.txt” PowerShell.exe -NoProfile -ExecutionPolicy Bypass…
Category: Tech Blog
Disable Windows Anti-Malware Service Executable
Microsoft is driving me crazy with these “forced” features they have been including with windows. An example of this is Window’s Anti-Malware. It runs in the background scanning everything you do. This can be good for an average users, but for someone that wants to transfer 12 TB from a USB device to a Network share, it well, slows it…
Understanding the Differences between Wiping and Formatting Your Hard Drive.
One of the questions I get most often, is what to do with old hardware. With this question, the primary concern is how to format the drive before they discard it. Most people know they need to format their drive, but they don’t know that just formatting the drive leaves it vulnerable to data recovery solutions, and who knows what…
Disable Clutter through O365 Admin Dashboard with Powershell
Disable clutter on O365 Admin Dashboard Step 1: Run Powershell ISE as Administrator Step 2 – Run: Set-ExecutionPolicy RemoteSigned A popup will occur, choose “Yes to All”. Just make sure you know what you are doing before proceeding. Step 3 – Enter username and Password $UserCredential = Get-Credential -It will not let you know if your credentials are wrong. Step…
Setting up custom App Passwords in Gmail for smtp email notifications in pfSense
Setting up custom App Passwords in Gmail for smtp notifications in pfSense I needed to setup Custom notifications for pfSense, which requires an smtp account. This process will work for most systems that you use to send out emails via smtp. I chose gmail for this, gmail will block the sending of smtp accounts through anonymous sources, unless you setup…
Upgrading Team Foundation Server, TFS 2010 to TFS 2017
Upgrading TFS 2010 to TFS 2017 and SQL Server 2008 to SQL Server 2016 The Problem We need to upgrade a physical server, we will call it “Tcode”. Tcode has Server 2008 32bit installed with TFS 2010 and SQL Server 2008. Since our machine is a production machine, I need to do this gracefully. With so many different “ways” to do…
Going into Crisis Mode
Going into Crisis Mode If you have been in IT long enough, you end up experiencing a “Crisis Mode” day. You know, you click a button and immediately all hell breaks loose, then instantly, your brain clicks into crises mode. I had another one today. Tried to update our firewall, which normally has no issues, and comes right back up.…
Mount EXT3 or other Linux drive in Windows
Want to be able to connect a drive that’s been formatted under a linux distro? Checkout this program called Ex2Fsd https://sourceforge.net/projects/ext2fsd/ Read and write was between 50-60MB/s vs a normal NTFS @ 100-110MBps on this work station. Screenshots are a little whacky because I was playing around too much. The Drive I used was the D drive.
Additional Commands to Run When Having issues Uninstalling Microsoft O365.
Office 365 issues I’ll tell ya, dealing with Microsoft support can be one of the most frustrating experiences. Not because it sucks, but because it’s so difficult relaying what your issue is. The person on the other end, typically treats you like you have no idea what you are doing, and when you suggest something, they either “don’t hear you”…
O365 Microsoft Dynamics CRM Plugin fails to Uninstall, Loops
When trying to uninstall office 365 Dynamics 365 Outlook Plugin, it attempts to uninstall, then loops back to trying to install. It never uninstalls. The Fix: Deleting all registry entries fixed the root problem. Look for all entries under: Program Files (x86)\Microsoft Dynamics CR And Program Files\Microsoft Dynamics CRM You can also follow these instructions