Posts

Showing posts from December, 2016

Veeam EndPoint Backup Reset Database 3 Simple Steps

Image
Do You Need to clear the settings in Veeam EndPoint Backup? 1. Stop the Veeam Endpoint Backup Service Windows + R to bring up the Run dialogue, type services.msc and press Enter.
Locate the Veeam Endpoint Backup Service, Double-Click to Open and Stop the service. If the service does not stop you may need to kill the Veeam Tasks (or reboot).
Keep the Window open for step 3.

2. Edit registry key to recreate the database Windows + R to bring up the Run dialogue, type regedit.exe and press Enter. Locate Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Endpoint Backup. Change the RecreateDatabase key from 0 to 1.


















3. Start the Veeam Endpoint Backup Service Go back to the Services screen,  Locate the Veeam Endpoint Backup Service, open and Click Start. Starting will take a few minutes.

Once the service is started this will reset the registry key back to normal so you can close the registry editor. Your backup settings will be removed so you can start again configuring a new backup storage l…

Freshdesk Powershell find UserID by email address

How to UserID by email address in Freshdesk with PowerShell
1. Prep for testing  Update this url with yourdomain to locate a suitable user account and email address. https://yourdomain.freshdesk.com/api/v2/contacts
The output is in .json format but readable enough.

2. The PowerShell  #################################################
# Freshdesk Find Contact by email
#################################################

# Find this user
$userEmail = "someone@somewhere.com"

# Enter FreshDesk Domain
$myDomain = "domainname"


# API Key
$FDApiKey="myapikey"

#################################################

# Prep
$pair = "$($FDApiKey):$($FDApiKey)"
$bytes = [System.Text.Encoding]::ASCII.GetBytes($pair)
$base64 = [System.Convert]::ToBase64String($bytes)
$basicAuthValue = "Basic $base64"
$FDHeaders = @{ Authorization = $basicAuthValue }
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS12


# The Doing part
$FDBaseEndpoin…

Freshdesk StatusBoard Powershell Scripts - #1 Get Ticket Summary

Image
Freshdesk Powershell Scripts - Get ticket summary Mission get to the current open ticket count into an include file for our boardRun this Powershell script as a Scheduled Task every 15-minutesUpdates a text file with the current open ticket count from FreshdeskLater we'll pick this file up our our statusboard
This is what we're aiming for on our operations monitor Tickets heading up or down using indicatorOpen tickets differentiated from all ticketsFreshdesk Ticket count by Engineer / Agent 


# Part one script starts here
# API Key $FDApiKey="Enter your API Key Here" #################################################
# Force TLS1.2 as Powershell defaults to TLS 1.0 and Freshdesk will fail connections [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS12
# Prep $pair = "$($FDApiKey):$($FDApiKey)" $bytes = [System.Text.Encoding]::ASCII.GetBytes($pair) $base64 = [System.Convert]::ToBase64String($bytes) $basicAuthValue = "Basic $bas…