Author Archives: maoeh

Revoke certificate from Microsoft PKI

This solution is based on powershell module PSPKI . Here is a link to download it : https://www.powershellgallery.com/packages/PSPKI/3.2.7.0 Open Poweshell and run the following commands Import-Module PSPKI $sCAServer = “<FQDN of your CA Server” # read certificates into a variable … Continue reading

Posted in Fix IT | Tagged , | Comments Off on Revoke certificate from Microsoft PKI

Enable access to a file system share using dns alias

Out of the box Windows is not allowing access to a file system share exept using the server name. Example  \\Server\share or \\server.domain.com\share To access a share using a dns alias do the  following. create a dns alias pointing to … Continue reading

Posted in Fix IT | Tagged | Comments Off on Enable access to a file system share using dns alias

Kill all but own powershell process

use the following command within powershell to terminate all but your one shell. get-process | where {$_.name -like “powershell” -and $_.ID  -notlike “$pid”} | stop-process

Posted in Information Technology | Tagged | Comments Off on Kill all but own powershell process

Synology phpMyAdmin update is ending in page error

Problem phpMyAdmin is not starting. You get a webpage displaying the following error in red color. The mysqli extension is missing. Please check your PHP configuration. Solution: Open “Web Station” GUI from the main menu of your NAS. Then proceed … Continue reading

Posted in Fix IT | Tagged , | Comments Off on Synology phpMyAdmin update is ending in page error

Install Telnet Client using command line

dism /online /Enable-Feature /FeatureName:TelnetClient

Posted in Information Technology | Tagged | Comments Off on Install Telnet Client using command line

Find existing UPN in Forest

A userPrincipalName (UPN) must be unique in a Active Directory Forest. To check for an existing UPN use the following lines. The script expects that all DC’s within the Root Domain are GC enabled . View Code PS11 2 3 … Continue reading

Posted in Information Technology | Tagged , , | Comments Off on Find existing UPN in Forest

Force replication on all domain controller of a domain

The following line searches for all Domain Controllers of a Domain . Then it filters some Computers by IP (10.10.10.*) to eliminate RODCs and finally forces replication on each remaining Domain Controller. View Code PS11 2 $Domain = "Contoso.com" Get-ADDomainController … Continue reading

Posted in Information Technology | Tagged , , | Comments Off on Force replication on all domain controller of a domain