TestModuleManifestWithIfStatement.psd1
@{ ModuleVersion = '1.0' GUID = 'e4da48d8-20df-4d58-bfa6-2e54486fca5b' Author = 'manikb' CompanyName = 'Microsoft' Copyright = '(c) 2015 dagrala. All rights reserved.' Description = "This is a test module description" PowerShellVersion = '2.0' RequiredAssemblies = @() NestedModules = @() FunctionsToExport = if($PSEdition -eq 'Desktop') { 'Function1' } else { 'Function2' } CmdletsToExport = @('Get-Test', 'Set-Test') VariablesToExport = '*' AliasesToExport = '*' PrivateData = @{ PSData = @{ Tags = @('tag1') LicenseUri = 'http://this.is.test.license.com' ProjectUri = 'http://github.com/TestModule' ReleaseNotes = 'This is our best release so far.' } Test = $true DoNotTest = $false } } |