Clear-FIMAttribute

NAME
    Clear-FIMAttribute
    
SYNOPSIS
    Clears the single-valued attribute.
    
SYNTAX
    Clear-FIMAttribute [-Resource] <PSObject> [-AttributeName] <String> [-Locale <String>] [-FullyResolved] [-PassThru] [<CommonParameters>]
    
    
DESCRIPTION
    

PARAMETERS
    -Resource <PSObject>
        
        Required?                    true
        Position?                    1
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  
        
    -AttributeName <String>
        
        Required?                    true
        Position?                    2
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  
        
    -Locale <String>
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  
        
    -FullyResolved [<SwitchParameter>]
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  
        
    -PassThru [<SwitchParameter>]
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  
        
    <CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer and OutVariable. For more information, type,
        "get-help about_commonparameters".
    
INPUTS
    
OUTPUTS
    
    -------------------------- EXAMPLE 1 --------------------------
    
    C:\PS>Get-FIMResource '/Person[Email != "#Invalid#"]' | Clear-FIMAttribute 'Email' -PassThru | Set-FIMResource
    
    
    Removes the attribute value for all resources that have a value in the Email attribute.
    
    
    
    
    
    
RELATED LINKS

Last edited Jan 16, 2012 at 3:13 AM by adweigert, version 2

Comments

No comments yet.