Skip to content

Commit 69a1dbf

Browse files
see changelog for v3.0.0
1 parent ea4030f commit 69a1dbf

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

PSRemoteOperations.psd1

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
@{
66

77
# Script module or binary module file associated with this manifest.
8-
RootModule = 'PSRemoteOperations.psm1'
8+
RootModule = ""
99

1010
# Version number of this module.
11-
ModuleVersion = '2.0.0'
11+
ModuleVersion = '3.0.0'
1212

1313
# Supported PSEditions
1414
CompatiblePSEditions = @("Desktop","Core")
@@ -23,7 +23,7 @@ Author = 'Jeff Hicks'
2323
CompanyName = 'JDH Information Technology Solutions, Inc.'
2424

2525
# 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.'
2727

2828
# Description of the functionality provided by this module
2929
Description = 'A PowerShell module for executing commands remotely in a non-remoting environment.'
@@ -62,10 +62,15 @@ RequiredModules = @()
6262
# FormatsToProcess = @()
6363

6464
# 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+
}
6671

6772
# 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.
68-
FunctionsToExport = @('New-PSRemoteOperation','Invoke-PSRemoteOperation','Get-PSRemoteOperationResult','Register-PSRemoteOperationWatcher')
73+
FunctionsToExport = @('New-PSRemoteOperation','Invoke-PSRemoteOperation','Get-PSRemoteOperationResult','Register-PSRemoteOperationWatcher')
6974

7075
# 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.
7176
CmdletsToExport = ''

0 commit comments

Comments
 (0)