The New-Resource cmdlet creates a new object template for creation in the FIM service. The resource is not created in the FIM service itself, until the cmdlet is used.
Syntax
New-Resource -ObjectType <string>
Parameters
ObjectType
The type of object to create
Examples
# Create a new person object
$obj = New-Resource -ObjectType Person
$obj.AccountName = "testuser"
$obj.Domain = "fim-dev1"
$obj.DisplayName = "test user"
$obj.JobTitles = @("Test1", "Test2")
Save-Resource $obj