Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
Simplify and reorganize project
Browse files Browse the repository at this point in the history
  • Loading branch information
benmeadowcroft committed Jun 3, 2017
1 parent 2b4b279 commit f661cff
Show file tree
Hide file tree
Showing 9 changed files with 97 additions and 132 deletions.
File renamed without changes.
File renamed without changes.
184 changes: 92 additions & 92 deletions source/Meadowcroft.SRM/Meadowcroft.Srm.psd1 → Meadowcroft.Srm.psd1
@@ -1,92 +1,92 @@
#
# Module manifest for module 'Meadowcroft.Srm'
#

@{

# Script module or binary module file associated with this manifest.
RootModule = 'Meadowcroft.Srm.psm1'

# Version number of this module.
ModuleVersion = '0.2'

# ID used to uniquely identify this module
GUID = 'f9247009-9168-4a21-831b-819f82884ffe'

# Author of this module
Author = 'Ben Meadowcroft'

# Company or vendor of this module
CompanyName = 'VMware, Inc'

# Copyright statement for this module
Copyright = '(c) 2014 - 2017. All rights reserved.'

# Description of the functionality provided by this module
# Description = ''

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

# 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 = @{ModuleName='VMware.VimAutomation.Srm'; ModuleVersion='6.5'}

# 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 = 'Meadowcroft.Srm.Recovery.ps1','Meadowcroft.Srm.Protection.ps1','Meadowcroft.Srm.Storage.ps1'
# NestedModules = @()

# Functions to export from this module, note that internal functions use '_' not '-' as separator
FunctionsToExport = '*-*'

# Cmdlets to export from this module
CmdletsToExport = '*'

# Variables to export from this module
VariablesToExport = '*'

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

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

# List of all files packaged with this module
# FileList = @()

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

# HelpInfo URI of this module
# HelpInfoURI = ''

# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
DefaultCommandPrefix = 'Srm'

}
#
# Module manifest for module 'Meadowcroft.Srm'
#

@{

# Script module or binary module file associated with this manifest.
RootModule = 'Meadowcroft.Srm.psm1'

# Version number of this module.
ModuleVersion = '0.2'

# ID used to uniquely identify this module
GUID = 'f9247009-9168-4a21-831b-819f82884ffe'

# Author of this module
Author = 'Ben Meadowcroft'

# Company or vendor of this module
CompanyName = 'VMware, Inc'

# Copyright statement for this module
Copyright = '(c) 2014 - 2017. All rights reserved.'

# Description of the functionality provided by this module
# Description = ''

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

# 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 = @{ModuleName='VMware.VimAutomation.Srm'; ModuleVersion='6.5'}

# 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 = 'Meadowcroft.Srm.Recovery.ps1','Meadowcroft.Srm.Protection.ps1','Meadowcroft.Srm.Storage.ps1'
# NestedModules = @()

# Functions to export from this module, note that internal functions use '_' not '-' as separator
FunctionsToExport = '*-*'

# Cmdlets to export from this module
CmdletsToExport = '*'

# Variables to export from this module
VariablesToExport = '*'

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

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

# List of all files packaged with this module
# FileList = @()

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

# HelpInfo URI of this module
# HelpInfoURI = ''

# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
DefaultCommandPrefix = 'Srm'

}
File renamed without changes.
11 changes: 5 additions & 6 deletions README.md
Expand Up @@ -7,19 +7,18 @@ These are provided for illustrative/educational purposes.

## Getting Started

### Build or Download SRM-Cmdlets.zip
### Getting the SRM cmdlets

Either:
The latest version of the software can be downloaded as a zip file, or cloned from the git repository:

- Download the `SRM-Cmdlets.zip` file from http://www.benmeadowcroft.com/projects/srm-cmdlets-for-powercli/
git clone https://github.com/benmeadowcroft/SRM-Cmdlets.git

Or:

- Build `SRM-Cmdlets.zip` file by checking out the project and running build.ps1 from the projects root directory. This will create the distributable zip file in the dist directory.
Specific releases (compatible with earlier PowerCLI and SRM versions) can be accessed via the [release page](https://github.com/benmeadowcroft/SRM-Cmdlets/releases).

### Deploy SRM-Cmdlets module

- Take `Srm-Cmdlets.zip` and extract the contents into the powershell module path. See [Microsoft's Installing Modules instructions](http://msdn.microsoft.com/en-us/library/dd878350) for more details.
- Take the zip file and extract the contents into the powershell module path. See [Microsoft's Installing Modules instructions](http://msdn.microsoft.com/en-us/library/dd878350) for more details on how to install the module permanently.
- Open PowerCLI 6.5.1 prompt
- Verify You are running with PowerShell v5.0 or later

Expand Down
24 changes: 0 additions & 24 deletions build.ps1

This file was deleted.

2 changes: 0 additions & 2 deletions dev.checkstyle.ps1

This file was deleted.

8 changes: 0 additions & 8 deletions dev.reload.ps1

This file was deleted.

0 comments on commit f661cff

Please sign in to comment.