You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _InitializeRepository.ps1
+42-34Lines changed: 42 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -3,25 +3,40 @@
3
3
Process
4
4
{
5
5
Write-Host-ForegroundColor Green "
6
-
This script will replace the default template repository files and values with ones specific to your module.
7
-
If you have made changes to any files, you may want to commit them before continuing, as this script may overwrite them.
6
+
This script will replace the files in this repo with template files specific to your module.
7
+
If you have made changes to any files you may want to commit them before continuing, as this script will likely overwrite them.
8
8
"
9
9
10
10
[string] $moduleName=Read-Host-Prompt "Enter the name of your module (e.g. 'YourModuleName')"
11
11
12
12
[string] $organizationName=Read-Host-Prompt "Enter your name, or the the name of your organization (e.g. 'My Company'). This will be used in the module manifest and repository license"
Copy file name to clipboardExpand all lines: src/Template.PowerShell.ScriptModule/TemplateRepoFiles/.github/workflows/build-and-test-powershell-module.yml
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
# Script module or binary module file associated with this manifest.
4
+
RootModule='__NewModuleName__.psm1'
5
+
6
+
# Version number of this module.
7
+
ModuleVersion='0.0.0'
8
+
9
+
# Supported PSEditions
10
+
# CompatiblePSEditions = @()
11
+
12
+
# ID used to uniquely identify this module
13
+
GUID='__NewModuleGuid__'
14
+
15
+
# Author of this module
16
+
Author='__IndividualOrOrganizationName__'
17
+
18
+
# Company or vendor of this module
19
+
CompanyName='__IndividualOrOrganizationName__'
20
+
21
+
# Copyright statement for this module
22
+
Copyright='(c) __IndividualOrOrganizationName__. All rights reserved.'
23
+
24
+
# Description of the functionality provided by this module
25
+
# Description = ''
26
+
27
+
# Minimum version of the PowerShell engine required by this module
28
+
# PowerShellVersion = ''
29
+
30
+
# Name of the PowerShell host required by this module
31
+
# PowerShellHostName = ''
32
+
33
+
# Minimum version of the PowerShell host required by this module
34
+
# PowerShellHostVersion = ''
35
+
36
+
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
37
+
# DotNetFrameworkVersion = ''
38
+
39
+
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
40
+
# ClrVersion = ''
41
+
42
+
# Processor architecture (None, X86, Amd64) required by this module
43
+
# ProcessorArchitecture = ''
44
+
45
+
# Modules that must be imported into the global environment prior to importing this module
46
+
# RequiredModules = @()
47
+
48
+
# Assemblies that must be loaded prior to importing this module
49
+
# RequiredAssemblies = @()
50
+
51
+
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
52
+
# ScriptsToProcess = @()
53
+
54
+
# Type files (.ps1xml) to be loaded when importing this module
55
+
# TypesToProcess = @()
56
+
57
+
# Format files (.ps1xml) to be loaded when importing this module
58
+
# FormatsToProcess = @()
59
+
60
+
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
61
+
# NestedModules = @()
62
+
63
+
# 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.
64
+
FunctionsToExport=@(
65
+
'Get-HelloWorld'
66
+
)
67
+
68
+
# 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.
69
+
CmdletsToExport=@()
70
+
71
+
# Variables to export from this module
72
+
VariablesToExport='*'
73
+
74
+
# 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.
75
+
AliasesToExport=@()
76
+
77
+
# DSC resources to export from this module
78
+
# DscResourcesToExport = @()
79
+
80
+
# List of all modules packaged with this module
81
+
# ModuleList = @()
82
+
83
+
# List of all files packaged with this module
84
+
# FileList = @()
85
+
86
+
# 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.
87
+
PrivateData=@{
88
+
89
+
PSData=@{
90
+
91
+
# Tags applied to this module. These help with module discovery in online galleries.
92
+
# Tags = @()
93
+
94
+
# A URL to the license for this module.
95
+
# LicenseUri = ''
96
+
97
+
# A URL to the main website for this project.
98
+
# ProjectUri = ''
99
+
100
+
# A URL to an icon representing this module.
101
+
# IconUri = ''
102
+
103
+
# ReleaseNotes of this module
104
+
# ReleaseNotes = ''
105
+
106
+
# Prerelease string of this module
107
+
# Prerelease = ''
108
+
109
+
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
110
+
# RequireLicenseAcceptance = $false
111
+
112
+
# External dependent modules of this module
113
+
# ExternalModuleDependencies = @()
114
+
115
+
} # End of PSData hashtable
116
+
117
+
} # End of PrivateData hashtable
118
+
119
+
# HelpInfo URI of this module
120
+
# HelpInfoURI = ''
121
+
122
+
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
0 commit comments