I'm trying to hide (or remove it from the new button drop) a SPContentType that is already in use via Powershell scripting.
Even if before:
$SPContentType.Hidden = $true
$SPContentType.Update()
I run:
$SPContentType.ReadOnly = $false
$SPContentType.Sealed = $false
$SPContentType.Update()
The exception error message "Content Type in use" is always throw.
Ideas? Is possible to hide an CTyte that's in use?