Get-WmiObject to Remote Computer Returning Access Denied
On servers, WinRM remoting is enabled by default but not on client windows pcs. To manually enable WinRM remoting, run the following command with Administrator privileges (Right-click powershell and select, “Run as…
ServiceNow Cheatsheet
MID Server Task Command Delete/Remove servicenow instance Open a command prompt with administrator rights. Type the following: sc delete <instance servicename> Initial Response to a Ticket 1. Go to case.2. Go to…
Different Encryption Methods in MySQL
Below are examples of three different encryption methods to encrypt data inserted into a MySQL database table. A test table is created where field1 will store data in plain text and field2…
Monitor Number of Emails on Shared Folders
This VBScript was made for David who wanted to know the count of emails received on a daily basis in the Shared Mailboxes.
Example of VBA code running in Outlook 2016 to connect to SQL Express
This VBA example was configured to run in Outlook 2016. It connects to a local SQL Express Database and insert a record. In order for the VBA to connect to the SQL…
Runs an Event in Outlook as Mail is Received in a Specific Folder
This code shows a couple of triggers in Outlook that invokes when email is received. There are two email folders being monitored and custom triggers can be created based on which folder…
Create an Event in Outlook as Mail is Received
This code triggers an event as Outlook receives email in inbox. This scenario opens a popup window with the information regarding the email that came in but that popup window can be…
Connect C# to mySQL Example
This example requires MySQL.Data.MySqlClient and System.Data.SqlClient to insert data into a MySQL database. Originally, I had an error during execution: IO.FileNotFoundException in MySql.Data.dll: Can’t load System.Security.Permissions. To fix the issue. I had…
Example of HashMap (Array Pair Type)
This is an example of how to create a hashmap (Paired Array).