Author: kimconnect

Remote Desktop Connection An internal error has occurred.

RDP Error Message:     Resolution: Method 1: Create and apply a self signed certificate…

PowerShell: Set User Option Change Password At Next Logon

$ou="OU=Users,DC=corp,DC=hooli,DC=com" $usersInOu=Get-ADUser -Filter * -SearchBase $ou $usersInOu|Set-ADUser -CannotChangePassword:$false -ChangePasswordAtLogon:$false

Application Blocked By Java Security

Symptom: When attempting to open a Java Web Application such as iDrac console, this error…

Querying Internal DNS for Host Record for iDRAC IPs

Copy / Paste for quick results: $domain='hooli.com'$records=Get-DnsServerResourceRecord -ZoneName $domain -ComputerName $env:USERDNSDOMAIN$records|?{$_.HostName -like '*drac*' -and $_.RecordType…

PowerShell: How to Install Remote Desktop Services

Prerequisites: Required ports for RDS Services- UDP/TCP 135 ingress/egress- UDP/TCP 137-139 ingress/egress- TCP 445 ingress/egress-…

RDP: Common Connection Errors

Error Message: [Window Title]Remote Desktop Connection[Content]The remote session was disconnected because there are no Remote…

IIS Error Code 0x80070021

Error Message: Detailed Error Information:Module IIS Web CoreNotification BeginRequestHandler Not yet determinedError Code 0x80070021Config Error…

ADFS: Adding a Relying Party Trust

The following instructions assume the task of creating a authentication endpoint to allow external users…

ADFS Configurations

View existing ADFS global configs PS C:\Users\administrator.CAP> get-AdfsGlobalWebContentSignOutPageDescriptionText :UpdatePasswordPageDescriptionText :Locale :CompanyName :CertificatePageDescriptionText :ErrorPageDescriptionText :ErrorPageGenericErrorMessage :ErrorPageAuthorizationErrorMessage…

Microsoft Excel Error: The Request Was Aborted Could Not Create SSL/TLS Secure Channel

Issue: Eventvwr.exe > Applications and Services Logs > Microsoft Office Alerts The request was aborted:…

PowerShell: Get Terminal Service (Remote Desktop Service) Licenses Report

# rdsLicenseReport.ps1 $knownRdsComputers=$null # Options: (a) 'SERVER1','SERVER100' (b) Get-Content Path\To\RDServers.txt function getTsLicenses{ param( $knownRdsComputers, $domain=$env:userdnsdomain…

Remote Desktop Error Code 0x8000FFFF

Symptom: Terminal-Services-ClientActiveXCore Event ID 226 on RDP Server: rdpclient_ssl: an error was encountered when transitioning…

PowerShell: Test URL for Reachability

function testUrl($url){ try{ $HTTP_Request = [System.Net.WebRequest]::Create($url) $HTTP_Response = $HTTP_Request.GetResponse() [int]$HTTP_Status = [int]$HTTP_Response.StatusCode If ($HTTP_Status -eq…

PowerShell: 1-Liner to Install Windows Photo Viewer for Windows 10

I've thought that Windows Photo Viewer is a nicely optimized and lightweight program to preview…

Issue: Unable to Access Corp Intranet While Connected to Satellite Office Network VS Can Access When Connected to Corp VPN

Step 1: obtain information from DNS servers differences between VPN vs Non-VPN connections Obtain network…

PowerShell: Rename Photo and Video Files by Adding Creation Dates

Have you ever downloaded a punch of images, MOV, and MP4 from iCloud to find…

PowerShell: Get Date Taken Value of a Photo or Video

This function only deals with photos. Videos, such as MOV files, have an attribute called…

Jenkins: How to Clone a Job

To create a new job, use this quick how-to. This instruction is a quick walk-through…

MAC: Setting Google DNS to Bypass ISP Slower Name Resolution

Open System Preferences > Network > DNS > click + (plus sign) under DNS Servers…

Invoke T-SQL on Multiple Servers

$computersAndCredentials=@{ 'SQL01'=@{'intranet\sql01Admin'='PASSWORD'} 'SQL02'=@{'intranet\sql02Admin'='PASSWORD'} 'SQL03'=@{'intranet\sql03Admin'='PASSWORD'} 'SQL04'=@{'intranet\sql04Admin'='PASSWORD'} } $tSql=" --Update the Setting with a new value: USE…