Skip to content

Instantly share code, notes, and snippets.

$authemail = "loginuser@domain.com.au"
$authpassword = "UserPassword1!"
$smtpserver = "smtp.office365.com"
$smtpport = "587"
$fromemail = "fromuser@domain.com.au"
$toemail = "touser@domain.com.au"
$timestamp = Get-Date -Format "dddd MM/dd/yyyy HH:mm K"
[System.Net.ServicePointManager]::SecurityProtocol = 'Tls,TLS11,TLS12'
using System;
using LogDataCollector;
namespace th_salvageupdater
{
class Program
{
static void Main(string[] args)
{
//Console.WriteLine("Hello World!");
@razer86
razer86 / ReckonFirewallFix.bat
Last active August 20, 2024 04:30
Reckon Account firewall fix
::Reckon Accounts Installation - Firewall Exceptions & User Permissions (RA-INSTALLPREP.bat)
::Place Quickbooks Port Fixer.bat file in your datafile (QBW) location.
@ECHO OFF
SETLOCAL
CLS
::Usergroup Default Setting (change if required)
:: example(set DEFAULT_USERGROUP=Reckon_Users) will set folder permissions of the 'Reckon_Users' group to modify.
set DEFAULT_USERGROUP=everyone
::DONT NOT CHANGE