Scripts, Tech Random's, Tips and Tricks

Send an Email Using Command Prompt or Batch File Script with PowerShell

Apply this line to any CMD line, Run as Administrator PowerShell.exe -NoProfile -ExecutionPolicy Bypass C:\Users\backups\Desktop\email.ps1 Then create a new text file and save it as a .PS1 —– #this works, just sends a simple email $smtpServer = “mail.smtp2go.com” $smtpFrom = “FROMEMAILENTERHERE” $smtpTo = “TOEMAILENTERHERE” $smtpSubject = “This is my email subject” $username = “email_username” $password = “email_password” $body = “yo…

Continue Reading

O365, Tech Random's, Tips and Tricks

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 Step 3 – Run: $UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection Step 4 – Run: Import-PSSession $Session Step 5 – Run: Get-Mailbox | Set-Clutter -Enable $false Step 6 – Remember to end the…

Continue Reading

pfSense, Tech Blog, Tech Random's, Tips and Tricks

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…

Continue Reading

Tech Blog, Tips and Tricks

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.

O365, Tech Blog, Tips and Tricks

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”…

Continue Reading

Tech Blog, Tips and Tricks

How to Uninstall and Reinstall .Net Framework 1.1 – 4.7

Reinstall .Net Framework 4.7 a. First, we must uninstall .NET Framework Download and Run the following tool, it will help you uninstall one or all versions except 4.7. https://blogs.msdn.microsoft.com/astebner/2008/08/28/net-framework-cleanup-tool-users-guide/ To Uninstall 4.7, This one is tough, it depends on what version of 10 you have. IF you have windows 7 then this should work: you must uninstall the Update KB3186539…

Continue Reading