#NEWLINE# def remove( name ) : #NEWLINE# #INDENT# "\n    Remove a Powershell DSC module from the system.\n\n    :param  name: Name of a Powershell DSC module\n    :type   name: ``str``\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt 'win01' psget.remove PowerPlan\n    " #NEWLINE# cmd = 'Uninstall-Module "{0}"' . format ( name ) #NEWLINE# no_ret = _pshell ( cmd ) #NEWLINE# return ( name not in list_modules ( ) )