diff --git a/NetboxPS.psd1 b/NetboxPS.psd1 index 580df7b..32dce8f 100644 --- a/NetboxPS.psd1 +++ b/NetboxPS.psd1 @@ -25,7 +25,7 @@ GUID = 'bba9b06c-49c8-47cf-8358-aca7c4e78896' # Author of this module - Author = ' Ben Claussen' + Author = 'Ben Claussen' # Company or vendor of this module CompanyName = 'NEOnet' @@ -34,10 +34,10 @@ Copyright = '(c) 2018. All rights reserved.' # Description of the functionality provided by this module - Description = 'Module description' + Description = 'A Powershell wrapper for Netbox API' # Minimum version of the Windows PowerShell engine required by this module - PowerShellVersion = '2.0' + PowerShellVersion = '5.0' # Name of the Windows PowerShell host required by this module PowerShellHostName = '' @@ -100,13 +100,13 @@ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - # Tags = @() + Tags = @('Netbox', 'API', 'DCIM', 'IPAM') # A URL to the license for this module. # LicenseUri = '' # A URL to the main website for this project. - # ProjectUri = '' + ProjectUri = 'https://github.com/benclaussen/NetboxPS' # A URL to an icon representing this module. # IconUri = '' diff --git a/NetboxPS.psm1 b/NetboxPS.psm1 index 9fb03d8..2e24117 100644 --- a/NetboxPS.psm1 +++ b/NetboxPS.psm1 @@ -6,17 +6,5 @@ $script:CommonParameterNames = New-Object System.Collections.ArrayList SetupNetboxConfigVariable -#if (-not ([System.Management.Automation.PSTypeName]'NetboxVirtualMachineStatus').Type) { -# Add-Type -TypeDefinition @" -#public enum NetboxVirtualMachineStatus -#{ -# Offline = 0, -# Active = 1, -# Staged = 3 -#} -#"@ -#} - - -Export-ModuleMember -Function * -#Export-ModuleMember -Function *-* \ No newline at end of file +#Export-ModuleMember -Function * +Export-ModuleMember -Function *-* \ No newline at end of file diff --git a/dist/NetboxPS.psd1 b/dist/NetboxPS.psd1 index 580df7b..32dce8f 100644 --- a/dist/NetboxPS.psd1 +++ b/dist/NetboxPS.psd1 @@ -25,7 +25,7 @@ GUID = 'bba9b06c-49c8-47cf-8358-aca7c4e78896' # Author of this module - Author = ' Ben Claussen' + Author = 'Ben Claussen' # Company or vendor of this module CompanyName = 'NEOnet' @@ -34,10 +34,10 @@ Copyright = '(c) 2018. All rights reserved.' # Description of the functionality provided by this module - Description = 'Module description' + Description = 'A Powershell wrapper for Netbox API' # Minimum version of the Windows PowerShell engine required by this module - PowerShellVersion = '2.0' + PowerShellVersion = '5.0' # Name of the Windows PowerShell host required by this module PowerShellHostName = '' @@ -100,13 +100,13 @@ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - # Tags = @() + Tags = @('Netbox', 'API', 'DCIM', 'IPAM') # A URL to the license for this module. # LicenseUri = '' # A URL to the main website for this project. - # ProjectUri = '' + ProjectUri = 'https://github.com/benclaussen/NetboxPS' # A URL to an icon representing this module. # IconUri = '' diff --git a/dist/NetboxPS.psm1 b/dist/NetboxPS.psm1 index 8968ea0..d445259 100644 --- a/dist/NetboxPS.psm1 +++ b/dist/NetboxPS.psm1 @@ -2,7 +2,7 @@ .NOTES -------------------------------------------------------------------------------- Code generated by: SAPIEN Technologies, Inc., PowerShell Studio 2018 v5.5.152 - Generated on: 5/18/2018 11:21 AM + Generated on: 5/18/2018 12:40 PM Generated by: Ben Claussen Organization: NEOnet -------------------------------------------------------------------------------- @@ -1383,6 +1383,7 @@ public enum $EnumName function Get-NetboxIPAMChoices { [CmdletBinding()] + [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseSingularNouns", "", Justification = "These are literally 'choices' in Netbox")] param () $uriSegments = [System.Collections.ArrayList]::new(@('ipam', '_choices')) @@ -1989,17 +1990,5 @@ $script:CommonParameterNames = New-Object System.Collections.ArrayList SetupNetboxConfigVariable -#if (-not ([System.Management.Automation.PSTypeName]'NetboxVirtualMachineStatus').Type) { -# Add-Type -TypeDefinition @" -#public enum NetboxVirtualMachineStatus -#{ -# Offline = 0, -# Active = 1, -# Staged = 3 -#} -#"@ -#} - - -Export-ModuleMember -Function * -#Export-ModuleMember -Function *-* \ No newline at end of file +#Export-ModuleMember -Function * +Export-ModuleMember -Function *-* \ No newline at end of file