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: ReadMe.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ Some of the functionality provided by the cmdlets in this module:
18
18
- vCenter connection information (in title of PowerShell window)
19
19
- Datastore evacuation, template evacuation from VMHosts
20
20
- Mining virtual portgroup information (cluster-locations)
21
+
- Determining parent/base vSphere object types for use in parameter type-ing in subsequent function development
21
22
22
23
<aid="quickStart"></a>
23
24
### QuickStart
@@ -45,7 +46,7 @@ The [ChangeLog](ChangeLog.md) for this module is, of course, a log of the major
45
46
- download the module, either from the latest release's .zip file on the [vNugglets.Utility Releases](https://github.com/vNugglets/vNuggletsPSMod/releases) page, or by cloning the project to some local folder with Git via:
- put the actual PowerShell module directory in some place that you like to keep your modules, say, like this, which copies the module to your personal Modules directory:
Description="Module with the super useful functions that were previously scattered about the web by the vNugglets team (particularly, at vNugglets.com)"
22
+
## some aliases, both as written, and with "VN" prefixed on them
## scripts (.ps1) that are listed in the NestedModules key are run in the module's session state, not in the caller's session state. To run a script in the caller's session state, list the script file name in the value of the ScriptsToProcess key in the manifest; RegisterArgCompleter apparently needs to be added _after_ function definition .ps1 files are run (via NestedModules) (else, given functions are not defined, and if RegisterArgCompleter is referring to commands from module dynamically, it would not get them; that is the case if the function definitions are in a .psm1 file instead of .ps1 file, and are being defined in NestedModules)
## check that the FileList property holds the names of all of the files in the module directory, relative to the module directory
44
+
## the relative names of the files in the module directory (just filename for those in module directory, "subdir\filename.txt" for a file in a subdir, etc.)
if ($arrDiffResults= (Compare-Object-ReferenceObject $hshManifestParams.FileList-DifferenceObject $arrRelativeNameOfFilesInModuleDirectory)) {Write-Error"Uh-oh -- FileList property value for making/updating module manifest and actual files present in module directory do not match. Better check that. The variance:`n$($arrDiffResults|Out-String)"} else {Write-Verbose-Verbose "Hurray, all of the files in the module directory are named in the FileList property to use for the module manifest"}
Copy file name to clipboardExpand all lines: vNugglets.Utility/vNugglets.Utility.psd1
+31-24Lines changed: 31 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
#
4
4
# Generated by: Matt Boren
5
5
#
6
-
# Generated on: 6/18/2017
6
+
# Generated on: 1/19/2023
7
7
#
8
8
9
9
@{
@@ -12,7 +12,7 @@
12
12
RootModule='vNuggletsUtilityMod.psm1'
13
13
14
14
# Version number of this module.
15
-
ModuleVersion='1.2.0'
15
+
ModuleVersion='1.3.0'
16
16
17
17
# Supported PSEditions
18
18
# CompatiblePSEditions = @()
@@ -32,20 +32,20 @@ Copyright = 'MIT License'
32
32
# Description of the functionality provided by this module
33
33
Description='Module with the super useful functions that were previously scattered about the web by the vNugglets team (particularly, at vNugglets.com)'
34
34
35
-
# Minimum version of the Windows PowerShell engine required by this module
36
-
PowerShellVersion='4.0'
35
+
# Minimum version of the PowerShell engine required by this module
36
+
PowerShellVersion='5.0'
37
37
38
-
# Name of the Windows PowerShell host required by this module
38
+
# Name of the PowerShell host required by this module
39
39
# PowerShellHostName = ''
40
40
41
-
# Minimum version of the Windows PowerShell host required by this module
41
+
# Minimum version of the PowerShell host required by this module
42
42
# PowerShellHostVersion = ''
43
43
44
44
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
45
45
# DotNetFrameworkVersion = ''
46
46
47
47
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
48
-
#CLRVersion = ''
48
+
#ClrVersion = ''
49
49
50
50
# Processor architecture (None, X86, Amd64) required by this module
# 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.
# 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.
@@ -87,7 +88,7 @@ CmdletsToExport = @()
87
88
# VariablesToExport = @()
88
89
89
90
# 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.
# 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.
0 commit comments