Rename/remove characters from files and folders.

This is a powershell script that removes or renames special characters from files or folder. Very useful if you are going to upload a lot of files to SharePoint or OneDrive and you files contains illegal characters. $folder = ‘c:\mytest’ Get-ChildItem $folder -Recurse | ? {$_ -match ‘%|#|_’} | sort psiscontainer, {$_.fullname.length * –1} | … Read more

List all users of a group

List all users in a group: $Groups = Get-ADGroup -filter {Name -like “GROUP NAME” } | Select-Object Name ForEach ($Group in $Groups) {Get-ADGroupMember -identity $($ -recursive | Get-ADUser -Properties name, mail | Select-Object name, mail} This will show their name and mail address.  

Black boxes when using remote desktop

I have several times seen black boxes on the screen when remoting a server. There are two ways to solve this. If you are using the remote Desktop Desktop Connection programme (mstsc.exe) click on the experience tap and uncheck “Persistent bitmap caching”. If you are using the Remote Desktop Connection Mannager then delete all the files from the cache … Read more

Lenovo: Battery plugged in, not charging

I have on several Lenovo (G710 and G580) laptops seen this error. The battery will not charge. Battery plugged in, not charging. This will fix it: Turn off the computer, remove the battery and remove the power adapter. Press and hold the power button for 30 secs and reconnect the power adapter. Turn on the … Read more

Kia Cee’d: Find air condition error code

Do this to check your Auto Climate Control System for error codes: Turn on the AC Press and hold the “Off” button and at the same time press the front vent button While the test is running the display will blink If the result are 00 there are no errors This works for Kia C’eed 2011-