none
Where is the FIM Automation Powershell Module? RRS feed

  • Question

  • Hi,

    Technet describes everything about this FIM Automation Module, except on whether its part of FIM or whether one has to download it and from where? Also is it run from FIM Sync or Portal server?

    Here's the link:  http://technet.microsoft.com/en-us/library/ff394179.aspx

    Thanks,

    SK

    Friday, May 16, 2014 12:46 AM

Answers

All replies

  • You can find this on the FIM Service server. You can run "Get-PsSnapin -Registered" to double check.

    Friday, May 16, 2014 12:53 AM
  • OK, here it is:

    PS C:\Windows\system32\WindowsPowerShell\v1.0\Modules\fim> Get-PSSnapin -Registered
    Name        : FIMAutomation
    PSVersion   : 2.0
    Description : Registers the CmdLets and Providers in this assembly

    -

    -

    so a few more questions:

    1. Does this come preinstalled with the FIM Service?

    2. Should I therefore have access to these cmdlets, as none of them work from Powershell at the moment:

    • Compare-FIMConfig
    • ConvertFrom-FIMResource
    • ConvertTo-FIMResource
    • Export-FIMConfig
    • Import-FIMConfig
    • Join-FIMConfig

    Example:

    PS C:\Windows\system32\WindowsPowerShell\v1.0\Modules\fim> export-fimconfig
    export-fimconfig : The term 'export-fimconfig' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
    the spelling of the name, or if a path was included, verify that the path is correct and try again.





    • Edited by Shim Kwan Friday, May 16, 2014 1:11 AM
    Friday, May 16, 2014 1:08 AM
  • I believe it's installed when you install the FIM Service

    You need to add the Ps Snapin before you can use the cmdlets, going through some examples is a good way to get started: 

    
    
    
    
    
    
    
    
    


    Friday, May 16, 2014 1:15 AM
  • Looks like its already there though?

    PS C:\Windows\system32\WindowsPowerShell\v1.0\Modules\fim> Add-PSSnapin FIMAutomation
    Add-PSSnapin : An item with the same key has already been added.
    At line:1 char:1
    + Add-PSSnapin FIMAutomation
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Add-PSSnapin], ArgumentException
        + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.AddPSSnapinCommand

    -

    but none of the cmdlets are recognised?


    • Edited by Shim Kwan Friday, May 16, 2014 1:51 AM
    Friday, May 16, 2014 1:16 AM
  • well, i restarted powershell and I can now load the cmdlets - thx Cameron
    Friday, May 16, 2014 1:54 AM