mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-13 01:42:28 +00:00
Release v1
This commit is contained in:
parent
8964857c97
commit
749641bd12
4 changed files with 16 additions and 39 deletions
|
|
@ -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 = ''
|
||||
|
|
|
|||
|
|
@ -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 *-*
|
||||
#Export-ModuleMember -Function *
|
||||
Export-ModuleMember -Function *-*
|
||||
8
dist/NetboxPS.psd1
vendored
8
dist/NetboxPS.psd1
vendored
|
|
@ -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 = ''
|
||||
|
|
|
|||
19
dist/NetboxPS.psm1
vendored
19
dist/NetboxPS.psm1
vendored
|
|
@ -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 *-*
|
||||
#Export-ModuleMember -Function *
|
||||
Export-ModuleMember -Function *-*
|
||||
Loading…
Add table
Reference in a new issue