This script will give you the usage details and dependencies of any content type, such as –  list URL, Web URL, etc. and wherever that is being used. This might come in handy when you wish to delete the content types and you have to make sure of all its dependencies and references getting cleaned.

The output will be in the form of a CSV file where the above-mentioned content type is used. Input parameters used are:

Name of content type
Web Application URL
SharePoint-2013-Hosting
To get started, replace Content Type name and Web Application URL below with the one to be searched for,