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 Rename/remove characters from files and folders.

Get a list of mobile phones and users who synchronize with your Exchange Online

Connect with Powershell to your Exchange Online. Run this command to list all users and mobile phones: Get-mobiledevice | select devicetype, deviceos, identity Add | out-grudview if you want the ability to group the list after for example mobile phone type. Get-mobiledevice | select devicetype, deviceos, identity | out-gridview You can also list users with … Read more Get a list of mobile phones and users who synchronize with your Exchange Online