Blog

Microsoft SQL Cloning Database to a Different DB Name

# User defined variables $sourceSqlServer='DEV-SQL01' $sourceDatabaseName='TEST_MSCRM' $sourceSaCredential=$(get-credential) $destinationSqlServer='DEV-SQL01' $destinationDatabaseName='Test_MSCRM' $destinationSaCredential=$(get-credential) function copyDatabase{ param( $sourceSqlServer, $sourceDatabaseName,…

Microsoft Dynamics Audit History Data Missing After Org Migration

Issue: We have recently moved some Orgs from CRM version 8.x to 9.x, and audit…

Domain Controller Vulnerability Scan for ZeroLogon VCE-2000-1472

function vce2020-1472{ # Source: # Original script has been modified to fix a couple of…

Windows 10 Missing Icons Problem

This sometimes happen when a certain app takes over icons cache in Windows, such as…

Ubuntu/Lubuntu 20.04 GRUB_TIME=0 Defaults to 10 Seconds Instead of Zero

# GRUB configuration that still resulted in a count-down of 14 seconds GRUB_DEFAULT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=0…

Virtual Machine Queue: Assigning Processors to Network Interfaces

Microsoft Hyper-V Virtual Machine Queuing is useful to maximize high-bandwidth network cards. However, configuring this…

How to Use Windows Built-in Packet Tracer

Update: although this is a fun exercise to use Microsoft tools to analyze traffic, it…

Microsoft Dynamics 365 Error with Send-As

Symptoms: Recurring error in Event Log #61346 - An error occurred while checking for outgoing…

RDP Connection Error: CredSSP encryption oracle remediation

The Symptom: [Window Title]Remote Desktop Connection[Content]An authentication error has occurred.The function requested is not supportedRemote…

Filezilla SFTP Connection ‘FATAL ERROR: Network error: Software caused connection abort’

Symptom: fzSftp started, protocol_version=9FATAL_ERROR: Network error: Software caused connection abortCould Not connect to server Path…

How to Use the ‘Advanced Find’ Feature in Dynamics 365

Step 1: Login and click on Le Button Access your CRM portal with a valid…

How to Use XrmToolBox for Microsoft Dynamics 365

The following is an illustration of the usage of this nice and free utility to…

PowerShell: Process Watcher – Restart Stopped Services

# processWatcher.ps1 # User Input $computername=$env:computername $serviceName='remoteregistry' $desiredStatus='Running' $action={ param($serviceName) $erroractionpreference='stop' try{ start-service $serviceName return…

Automating Scheduled Task Creation on Remote Computers

# createTaskScheduler.ps1 # What this script does: # 1. Ask user for valid Domain Admin…

Quick Script to Mount Remote UNC Paths as Local Drive Letters

Simple Mount: # Mapping a drive $username='domain\testAdmin' $password='PASSWORD' $remotePath='\\UNCSERVER\SHAREPATH\Backup' $unavailableDriveLetters=(Get-Volume).DriveLetter|sort $availableDriveLetters=.{(65..90|%{[char]$_})|?{$_ -notin $unavailableDriveLetters}} [char]$firstAvailableDriveLetter=$availableDriveLetters[0] $command="net…

PowerShell: Process Watcher

# processWatcher.ps1 # User Input $serviceName='MSCRMAsyncService$maintenance' # Semi-autogen variables $desiredStatus='Running' $environment=($env:computername).substring(0,$env:computername.IndexOf('-')) $reportServer="$environment-SQL01" function checkService($computername=$env:computername,$serviceName,$status='Running'){ #…

Resolving CRM Error Upon Login

Symptom: Error Message when trying to login to CRM [caption id="attachment_7481" align="alignnone" width="237"] INVALID ACTION[/caption]…

Hyper-V Virtual Machines Won’t Start on Restore or Live Migration

Symptom: Cluster resource of type 'Virtual Machine' in clustered role failed. The error code was…

Microsoft Management Console Snap-in Shortcuts

Admin Snap-in Command Quality of Service Control Management ACSsnap.msc ADSI Edit ADSIedit.msc Authorization manager AZman.msc…