Checking if an object in TPP is enabled or disabled is useful. When an object is disabled it has attribute 'Disabled' with a value of 1. If an object is not disabled then this attribute is not present in TPP.
Get-TppAttribute function can be check for 'Disabled' attribute. If present then fetch the attribute's name and value.
Currently Get-TppAttribute does not show Disabled value for disabled objects in TPP using either -All or -Attribute 'Disabled' parameter. This might just be a bug. Tested with version 5.4.2.
How to check if an object is Disabled in TPP
Checking if an object in TPP is enabled or disabled is useful. When an object is disabled it has attribute 'Disabled' with a value of 1. If an object is not disabled then this attribute is not present in TPP.
Proposed technical implementation details (optional)
Get-TppAttribute function can be check for 'Disabled' attribute. If present then fetch the attribute's name and value.
Currently Get-TppAttribute does not show Disabled value for disabled objects in TPP using either -All or -Attribute 'Disabled' parameter. This might just be a bug. Tested with version 5.4.2.