New-FIMResource

NAME
    New-FIMResource
    
SYNOPSIS
    Creates a new FIM resource.
    
SYNTAX
    New-FIMResource [-ObjectType] <String> [-ObjectID <Guid>] [-Set <Hashtable>] [-Add <Hashtable>] [-ComputerName <String>] [-Port <Int32>] [-Uri <String>] [<CommonParameters>]
    
    
DESCRIPTION
    

PARAMETERS
    -ObjectType <String>
        
        Required?                    true
        Position?                    1
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  
        
    -ObjectID <Guid>
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  
        
    -Set <Hashtable>
        This parameter only accepts single-valued attributes.
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  
        
    -Add <Hashtable>
        This parameter only accepts multi-valued attributes.
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  
        
    -ComputerName <String>
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  
        
    -Port <Int32>
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  
        
    -Uri <String>
        
        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
    
NOTES
    
    
        The Set-FIMResource cmdlet must be called to commit the change to the resource.
        
        The FIMAutomation PowerShell snapin does not support DateTime attributes pre-R2.
    
    -------------------------- EXAMPLE 1 --------------------------
    
    C:\PS>New-FIMResource -ObjectType 'Person'
    
    
    Creates a new FIM resource with an object type of Person.
    
    
    
    
    
    -------------------------- EXAMPLE 2 --------------------------
    
    C:\PS>New-FIMResource -ObjectType 'Person' -Set @{
    
    
    Domain      = 'fim.codeplex.com';
        AccountName = 'adam.weigert';
        DisplayName = 'Adam Weigert';
    }
    
    Creates a new FIM resource with an object type of Person and values for the Domain, AccountName, and DisplayName attributes.
    
    
    
    
    
    
RELATED LINKS

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

Comments

No comments yet.