Skip to content

Instantly share code, notes, and snippets.

@hexaflexahexagon
Created March 28, 2023 12:29
Show Gist options
  • Save hexaflexahexagon/e352196d0405b323d6b94c0a07497c74 to your computer and use it in GitHub Desktop.
Save hexaflexahexagon/e352196d0405b323d6b94c0a07497c74 to your computer and use it in GitHub Desktop.
# Define the exam structure in arrays
# CCNP ENCORE v1.0 from https://learningcontent.cisco.com/documents/exam-topics/350-401-ENCORE+Blueprint+-+Public.pdf
$first = "Architecture",
"Explain the different design principles used in an enterprise network",
"Analyze design principles of a WLAN deployment",
"Differentiate between on-premises and cloud infrastructure deployments",
"Explain the working principles of the Cisco SD-WAN solution",
"Explain the working principles of the Cisco SD-Access solution",
"Describe concepts of wired and wireless QoS",
"Differentiate hardware and software switching mechanisms"
$second = "Virtualization",
"Describe device virtualization technologies",
"Configure and verify data path virtualization technologies",
"Describe network virtualization concepts"
$third = "Infrastructure",
"Layer 2",
"Layer 3",
"Wireless",
"IP Services"
$fourth = "Network Assurance",
"Diagnose network problems using tools", #truncated
"Configure and verify device monitoring using syslog for remote logging",
"Configure and verify NetFlow and Flexible NetFlow",
"Configure and verify SPAN RSPAN ERSPAN",
"Configure and verify IPSLA",
"Describe Cisco DNA Center workflows to apply network configuration, monitoring, and management",
"Configure and verify NETCONF and RESTCONF"
$fifth = "Security",
"Configure and verify device access control",
"Configure and verify infrastructure security features",
"Describe REST API security",
"Configure and verify wireless security features",
"Describe the components of network security design"
$sixth = "Automation",
"Interpret basic Python components and scripts",
"Construct valid JSON encoded file",
"Describe the high-level principles and benefits of a data modeling language, such as YANG",
"Describe APIs for Cisco DNA Center and vManage",
"Interpret REST API response codes and results in payload using Cisco DNA Center and RESTCONF",
"Construct EEM applet to automate configuration, troubleshooting, or data collection",
"Compare agent vs. agentless orchestration tools, such as Chef, Puppet, Ansible, and SaltStack"
# create 2d array
$array = $first, $second, $third, $fourth, $fifth, $sixth
# loop through arrays, using Outer.Inner for numbering pattern
$outer = 1
foreach ($topicArray in $array) {
$inner = 0
foreach ($subcategory in $topicArray) {
$title = "$outer.$inner $subcategory"
# Create directories for topics, files for sub-topics
if ($inner -eq 0) {
$path = ".\$title"
If(!(Test-Path -PathType container $path))
{
New-Item -ItemType Directory -Path $path | Out-Null
}
} else {
If(!(Test-Path "$path\$title.md"))
{
New-Item -Path $path -Name "$title.md" -Type "file" -Value "# $title" | Out-Null
}
}
++$inner
}
++$outer
}
# display results
tree /F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment