Skip to content

Commit

Permalink
powershellgallery support
Browse files Browse the repository at this point in the history
  • Loading branch information
vchrisb committed Aug 31, 2016
1 parent a2868c5 commit 925e3bb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 59 deletions.
56 changes: 7 additions & 49 deletions IsilonPlatform/IsilonPlatform.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
RootModule = 'IsilonPlatform.psm1'

# Version number of this module.
ModuleVersion = '8.0.2'
ModuleVersion = '8.0.4'

# ID used to uniquely identify this module
GUID = '0bcb10cf-1d7e-4bad-8239-f725dcf1808f'
Expand All @@ -42,49 +42,19 @@ Author = 'Christopher Banck'
CompanyName = ''

# Copyright statement for this module
Copyright = '(c) 2014 Christopher Banck. All rights reserved.'
Copyright = '(c) 2016 Christopher Banck. All rights reserved.'

# Description of the functionality provided by this module
# Description = ''
Description = 'EMC Isilon Platform API implementation in PowerShell'

# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '3.0'

# Name of the Windows PowerShell host required by this module
# PowerShellHostName = ''

# Minimum version of the Windows PowerShell host required by this module
# PowerShellHostVersion = ''

# Minimum version of Microsoft .NET Framework required by this module
# DotNetFrameworkVersion = ''

# Minimum version of the common language runtime (CLR) required by this module
# CLRVersion = ''

# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
# RequiredModules = @()

# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
# FormatsToProcess = @()

# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
#NestedModules = @('IsilonPlatformGet.psm1')
NestedModules = @('Functions/IsilonPlatformGet.ps1', 'Functions/IsilonPlatformSet.ps1', 'Functions/IsilonPlatformNew.ps1', 'Functions/IsilonPlatformRemove.ps1', 'Functions/IsilonPlatformAddOn.ps1')

# Functions to export from this module
#FunctionsToExport = '*'
FunctionsToExport = '*'

# Cmdlets to export from this module
#CmdletsToExport = '*'
Expand All @@ -93,22 +63,10 @@ PowerShellVersion = '3.0'
#VariablesToExport = '*'

# Aliases to export from this module
#AliasesToExport = '*'

# List of all modules packaged with this module
#ModuleList = @('IsilonPlatformGet')

# List of all files packaged with this module
FileList = @('IsilonPlatform.psm1','IsilonPlatform.psd1')

# Private data to pass to the module specified in RootModule/ModuleToProcess
# PrivateData = ''
AliasesToExport = '*'

# HelpInfo URI of this module
HelpInfoURI = 'http://blog.banck.net'

# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''
HelpInfoURI = 'https://banck.net'

}

10 changes: 0 additions & 10 deletions IsilonPlatform/IsilonPlatform.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -454,13 +454,3 @@ Export-ModuleMember -Function Get-isiSessionDefault
Export-ModuleMember -Function Set-isiSessionDefault
Export-ModuleMember -Function Remove-isiSession
Export-ModuleMember -Function Send-isiAPI



$moduleRoot = Split-Path -Path $MyInvocation.MyCommand.Path

#GET functions

"$moduleRoot\Functions\*.ps1" | Resolve-Path | ForEach-Object { . $_.ProviderPath }


3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ You can find the configured Powershell module paths in the variable
$env:PSModulePath
```

With PowerShell 5.0 you can simply use following command:
`Install-Module IsilonPlatform`

#### Linux

[Linux PowerShell installation instructions](https://github.com/PowerShell/PowerShell/blob/master/docs/installation/linux.md#paths) can be found in the PowerShell GitHub Repo.
Expand Down

0 comments on commit 925e3bb

Please sign in to comment.