def restart_apppool(name):
    '''
    Restart an IIS application pool.

    .. versionadded:: 2016.11.0