Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ PowerShell REST client for Cisco Data Center Network Manager (DCNM) version 11

The functions in this module invoke REST calls to the FMC API enabling the bulk creation and management of objects and policies.

USE AT YOUR OWN RISK!
**USE AT YOUR OWN RISK!**

This module is still under development and any feature may or may not work as intended.
Please only use in lab/development environments unless you have a strong understanding of PowerShell and the REST API.
I am not responsible for any damages or downtime caused by the use of these modules.

This module was written primarily in PowerShell version 6 is intended to be cross-platform--same behavior is expected on Linux/Mac as on Windows 10
This module was written primarily in PowerShell version 6 and is intended to be cross-platform. The same behavior is expected on Linux/Mac as well as on Windows 10.

# Requirements
This module was developed in PowerShell version 6 on Windows 10.
Expand All @@ -20,6 +21,7 @@ Data Center Network Manager 11

Paste the following in PowerShell:
#
```
md ($env:PSModulePath -split ';')[0] -ErrorAction Ignore

cd ($env:PSModulePath -split ';')[0]
Expand All @@ -35,12 +37,14 @@ copy ".\master\PowerDCNM-master\\*" -Container PowerDCNM -Force
del .\master\ -Force -Recurse

del .\master.zip
```
#
#

# Usage

Begin by generating an Auth Access Token with the New-DCNMAuthToken function. This will prompt for the DCNM host URL and credentials with API access. Once ran, a token valid for 60 minutes will be stored in the current PowerShell session environment and all other functions can be used without specifying the token, domain, or DCNM host.
Get-Command -Module PowerDCNM will display all the functions available in this module. Use Get-Help with the name of the function followed by -Examples to see examples of usage.
Begin by generating an Auth Access Token with the ```New-DCNMAuthToken``` function. This will prompt for the DCNM host URL and credentials with API access. Once ran, a token valid for 60 minutes will be stored in the current PowerShell session environment and all other functions can be used without specifying the token, domain, or DCNM host.

```Get-Command -Module PowerDCNM``` will display all the functions available in this module. Use ```Get-Help``` with the name of the function followed by ```-Examples``` to see examples of usage.

More functions will continue to be added in the future, and usage of existing functions is subject to change. Pay attention to the release notes and current issues page for information on new features and bugs.