SSPowerShellBoilerplate/module/Module.psd1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#
# Module manifest for module '<%=$PLASTER_PARAM_ModuleName%>'
#
# Generated by: <%=$PLASTER_PARAM_FullName%>
#
# Generated on: <%=$PLASTER_Date%>
#

@{

# Script module or binary module file associated with this manifest.
RootModule = '<%=$PLASTER_PARAM_ModuleName%>.<%=if ($PLASTER_PARAM_SourceType -contains "PowerShell") {"psm1"} else {"dll"}%>'

# Version number of this module.
ModuleVersion = '0.1.0'

# ID used to uniquely identify this module
GUID = '<%=$PLASTER_Guid1%>'

# Author of this module
Author = '<%=$PLASTER_PARAM_FullName%>'

# Company or vendor of this module
CompanyName = 'Community'

# Copyright statement for this module
Copyright = '(c) <%=$PLASTER_Year%> <%=$PLASTER_PARAM_FullName%>. All rights reserved.'

# Description of the functionality provided by this module
# Description = ''

# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '3.0'

# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
DotNetFrameworkVersion = '4.0'

# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
CLRVersion = '4.0'

# Processor architecture (None, X86, Amd64) required by this module
ProcessorArchitecture = 'None'

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = @()

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()

# Variables to export from this module
VariablesToExport = @()

# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = @()

# List of all files packaged with this module
<%
    $files = "FileList = '$PLASTER_PARAM_ModuleName.psd1'"
    if ($PLASTER_PARAM_SourceType -contains 'PowerShell') {
        $files += ",`n '$PLASTER_PARAM_ModuleName.psm1'"
    }
    if ($PLASTER_PARAM_SourceType -contains 'CSharp') {
        $files += ",`n '$PLASTER_PARAM_ModuleName.dll'"
    }
    $files
%>

# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{

    PSData = @{

        # Tags applied to this module. These help with module discovery in online galleries.
        Tags = @()

        # A URL to the license for this module.
        LicenseUri = 'https://github.com/<%=$PLASTER_PARAM_GitHubUser%>/<%=$PLASTER_PARAM_Modulename%>/blob/master/LICENSE'

        # A URL to the main website for this project.
        ProjectUri = 'https://github.com/<%=$PLASTER_PARAM_GitHubUser%>/<%=$PLASTER_PARAM_Modulename%>'

        # A URL to an icon representing this module.
        # IconUri = ''

        # ReleaseNotes of this module
        # ReleaseNotes = ''

    } # End of PSData hashtable

} # End of PrivateData hashtable

}