Skip to content

Instantly share code, notes, and snippets.

@Froosh
Last active September 13, 2017 00:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Froosh/62cf1f0338f8b717928dd2b7393ef198 to your computer and use it in GitHub Desktop.
Save Froosh/62cf1f0338f8b717928dd2b7393ef198 to your computer and use it in GitHub Desktop.
Wrap the FIMAutomation PSSnapin as a Module to enable easy use on systems without FIM/MIM installed and without requiring administrative access.
# Placeholder
# Copy the real file from "C:\Program Files\Microsoft Forefront Identity Manager\2010\Service" on a system with the FIM/MIM Service installed.
#
# Module manifest for module 'FIMAutomation'
#
@{
# Script module or binary module file associated with this manifest.
RootModule = 'Microsoft.ResourceManagement.Automation.dll'
# Version number of this module.
ModuleVersion = '1.0'
# ID used to uniquely identify this module
GUID = 'cf2de565-0580-4b22-bcac-7d12d37683de'
# Author of this module
Author = 'Robin Frousheger <robin.frousheger@kloud.com.au>'
# Company or vendor of this module
CompanyName = 'Kloud Solutions'
# Copyright statement for this module
Copyright = '(c) 2017 Kloud Solutions'
# Description of the functionality provided by this module
Description = 'A wrapper around the FIMAutomation PSSnapin, enabling easier installation/use on admin workstations'
# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '2.0'
# Supported PSEditions (Tag not valid in PowerShell v3)
# CompatiblePSEditions = @('Desktop')
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
DotNetFrameworkVersion = '3.5'
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
CLRVersion = '3.5'
# Processor architecture (None, X86, Amd64) required by this module
ProcessorArchitecture = 'None'
# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = @(
'Microsoft.ResourceManagement.Automation.dll',
'Microsoft.IdentityManagement.Logging.dll',
'Microsoft.ResourceManagement.dll'
)
FunctionsToExport = '*'
CmdletsToExport = '*'
VariablesToExport = '*'
AliasesToExport = '*'
# List of all files required by this module
FileList = @(
'FIMAutomation.psd1',
'Microsoft.ResourceManagement.Automation.dll',
'Microsoft.IdentityManagement.Logging.dll',
'Microsoft.ResourceManagement.dll',
'en-US\Microsoft.ResourceManagement.Automation.dll-Help.xml'
)
PrivateData = @{
PSData = @{
# What keywords represent your PowerShell module? (eg. cloud, tools, framework, vendor)
Tags = @('FIM','MIM')
# What software license is your code being released under? (see https://opensource.org/licenses)
LicenseUri = 'https://opensource.org/licenses/MIT'
# A URL to the main website for this project.
ProjectUri = 'https://gist.github.com/Froosh/62cf1f0338f8b717928dd2b7393ef198'
} # End of PSData hashtable
} # End of PrivateData hashtable
}
# Placeholder
# Copy the real file from "C:\Program Files\Microsoft Forefront Identity Manager\2010\Service" on a system with the FIM/MIM Service installed.
# Placeholder
# Copy the real file from "C:\Program Files\Microsoft Forefront Identity Manager\2010\Service" on a system with the FIM/MIM Service installed.
# Placeholder
# Copy the real file from "C:\Program Files\Microsoft Forefront Identity Manager\2010\Service" on a system with the FIM/MIM Service installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment