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: PSRemoteOperations.psd1
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,10 @@
5
5
@{
6
6
7
7
# Script module or binary module file associated with this manifest.
8
-
RootModule='PSRemoteOperations.psm1'
8
+
RootModule=""
9
9
10
10
# Version number of this module.
11
-
ModuleVersion='2.0.0'
11
+
ModuleVersion='3.0.0'
12
12
13
13
# Supported PSEditions
14
14
CompatiblePSEditions=@("Desktop","Core")
@@ -23,7 +23,7 @@ Author = 'Jeff Hicks'
23
23
CompanyName='JDH Information Technology Solutions, Inc.'
24
24
25
25
# Copyright statement for this module
26
-
Copyright='(c) 2018 Jeff Hicks. All rights reserved.'
26
+
Copyright='(c) 2018 JDH Information Technology Solutions, Inc. All rights reserved.'
27
27
28
28
# Description of the functionality provided by this module
29
29
Description='A PowerShell module for executing commands remotely in a non-remoting environment.'
@@ -62,10 +62,15 @@ RequiredModules = @()
62
62
# FormatsToProcess = @()
63
63
64
64
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
65
-
# NestedModules = @()
65
+
NestedModules=if ($PSEdition-eq'core') {
66
+
'core\PSRemoteOperations.psm1'
67
+
}
68
+
else {
69
+
'windows\PSRemoteOperations.psm1'
70
+
}
66
71
67
72
# 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.
0 commit comments