def available_capabilities(image=None):
 if (salt.utils.version_cmp(__grains__['osversion'], '10') == (-1)):
  raise NotImplementedError('`installed_capabilities` is not available on this version of Windows: {0}'.format(__grains__['osversion']))
 return _get_components('Capability Identity', 'Capabilities', 'Not Present')

def available_capabilities ( image = None ) : if ( salt . utils . version_cmp ( __grains__ [ 'osversion' ] , '10' ) == ( - 1 ) ) : raise NotImplementedError ( '`installed_capabilities` is not available on this version of Windows: {0}' . format ( __grains__ [ 'osversion' ] ) ) return _get_components ( 'Capability Identity' , 'Capabilities' , 'Not Present' )
list the capabilities available on the system args: image : the path to the root directory of an offline windows image .