26 changed files
.vscode | ||
launch.json + | ||
settings.json + | ||
tasks.json + | ||
Build | ||
build.ps1 + | ||
build.psake.ps1 + | ||
deploy.psdeploy.ps1 + | ||
Examples | ||
Export-CIEdge_Controller.ps1 + | ||
Get-CIVMPrice_Controller.ps1 + | ||
PSvCloud | ||
Private | ||
Get-EqualOrNextHighestNumber.ps1 + | ||
Test-CIConnection.ps1 + | ||
Public | ||
Catalog | ||
Set-Media.ps1 + | ||
Edge | ||
Get-CIEdge.ps1 + | ||
Get-CIEdgeSecurityCheck.ps1 + | ||
Get-CIEdgeView.ps1 + | ||
Get-CIEdgeXML.ps1 + | ||
VM | ||
Get-CIVMPrice.ps1 + | ||
PSvCloud.psd1 + | ||
PSvCloud.psm1 + | ||
Tests | ||
000-Module.Tests.ps1 + | ||
001-Connection.Tests.ps1 + | ||
Get-CIEdge.Tests.ps1 + | ||
.gitignore + | ||
azure-pipelines.yml + | ||
LICENSE + | ||
PSScriptAnalyzerSettings.psd1 + | ||
README.md | ||
Add comment 1 Plus {
Add comment 2 Plus "version": "0.2.0",
Add comment 3 Plus "configurations": [
Add comment 4 Plus {
Add comment 5 Plus "type": "PowerShell",
Add comment 6 Plus "request": "launch",
Add comment 7 Plus "name": "PowerShell Launch Current File",
Add comment 8 Plus "script": "${file}",
Add comment 9 Plus "args": [
Add comment 10 Plus "-NoProfile",
Add comment 11 Plus "-ExecutionPolicy",
Add comment 12 Plus "Bypass"
Add comment 13 Plus ],
Add comment 14 Plus "cwd": "${file}"
Add comment 15 Plus }
Add comment 16 Plus ]
Add comment 17 Plus }
Add comment 1 Plus // Place your settings in this file to overwrite default and user settings.
Add comment 2 Plus {
Add comment 3 Plus // TODO: add project settings like PowerShell code formatting rules
Add comment 4 Plus }
Add comment 5 Plus
Add comment 1 Plus // Available variables which can be used inside of strings.
Add comment 2 Plus // ${workspaceRoot}: the root folder of the team
Add comment 3 Plus // ${file}: the current opened file
Add comment 4 Plus // ${relativeFile}: the current opened file relative to workspaceRoot
Add comment 5 Plus // ${fileBasename}: the current opened file's basename
Add comment 6 Plus // ${fileDirname}: the current opened file's dirname
Add comment 7 Plus // ${fileExtname}: the current opened file's extension
Add comment 8 Plus // ${cwd}: the current working directory of the spawned process
Add comment 9 Plus {
Add comment 10 Plus // See https://go.microsoft.com/fwlink/?LinkId=733558
Add comment 11 Plus // for the documentation about the tasks.json format
Add comment 12 Plus "version": "2.0.0",
Add comment 13 Plus
Add comment 14 Plus // Start PowerShell
Add comment 15 Plus "windows": {
Add comment 16 Plus "command": "${env:windir}/System32/WindowsPowerShell/v1.0/powershell.exe",
Add comment 17 Plus "args": [
Add comment 18 Plus "-NoProfile",
Add comment 19 Plus "-ExecutionPolicy",
Add comment 20 Plus "Bypass"
Add comment 21 Plus ]
Add comment 22 Plus },
Add comment 23 Plus "linux": {
Add comment 24 Plus "command": "/usr/bin/powershell",
Add comment 25 Plus "args": [
Add comment 26 Plus "-NoProfile"
Add comment 27 Plus ]
Add comment 28 Plus },
Add comment 29 Plus "osx": {
Add comment 30 Plus "command": "/usr/local/bin/powershell",
Add comment 31 Plus "args": [
Add comment 32 Plus "-NoProfile"
Add comment 33 Plus ]
Add comment 34 Plus },
Add comment 35 Plus
Add comment 36 Plus // Associate with test task runner
Add comment 37 Plus "tasks": [{
Add comment 38 Plus "taskName": "Analyze",
Add comment 39 Plus
Add comment 40 Plus "suppressTaskName": true,
Add comment 41 Plus "showOutput": "always",
Add comment 42 Plus "args": [
Add comment 43 Plus "Write-Host 'Running Analyze Task...'; & .\\Build\\build.ps1 -Task Analyze;",
Add comment 44 Plus "Write-Host \"`nCompleted Analyze task in task runner.\""
Add comment 45 Plus ]
Add comment 46 Plus },
Add comment 47 Plus {
Add comment 48 Plus "taskName": "Test",
Add comment 49 Plus "suppressTaskName": true,
Add comment 50 Plus "isTestCommand": true,
Add comment 51 Plus "showOutput": "always",
Add comment 52 Plus "args": [
Add comment 53 Plus "Write-Host 'Running Test Task...'; & .\\Build\\build.ps1 -Task Test;",
Add comment 54 Plus "Write-Host \"`nCompleted Test task in task runner.\""
Add comment 55 Plus ],
Add comment 56 Plus "problemMatcher": [{
Add comment 57 Plus "owner": "powershell",
Add comment 58 Plus "fileLocation": ["absolute"],
Add comment 59 Plus "severity": "error",
Add comment 60 Plus "pattern": [{
Add comment 61 Plus "regexp": "^\\s*(\\[-\\]\\s*.*?)(\\d+)ms\\s*$",
Add comment 62 Plus "message": 1
Add comment 63 Plus },
Add comment 64 Plus {
Add comment 65 Plus "regexp": "^\\s+at\\s+[^,]+,\\s*(.*?):\\s+line\\s+(\\d+)$",
Add comment 66 Plus "file": 1,
Add comment 67 Plus "line": 2
Add comment 68 Plus }
Add comment 69 Plus ]
Add comment 70 Plus }]
Add comment 71 Plus },
Add comment 72 Plus {
Add comment 73 Plus "taskName": "Build",
Add comment 74 Plus "suppressTaskName": true,
Add comment 75 Plus "isBuildCommand": true,
Add comment 76 Plus "args": [
Add comment 77 Plus "Write-Host 'Running Build Task...'; & .\\Build\\build.ps1 -Task Build;",
Add comment 78 Plus "Write-Host \"`nCompleted Build task in task runner.\""
Add comment 79 Plus ]
Add comment 80 Plus }
Add comment 81 Plus ]
Add comment 82 Plus }
Add comment 83 Plus
Export-CIEdge_Controller.ps1
/Examples/Export-CIEdge_Controller.ps1/Examples/Export-CIEdge_Controller.ps1
Get-CIVMPrice_Controller.ps1
/Examples/Get-CIVMPrice_Controller.ps1/Examples/Get-CIVMPrice_Controller.ps1
Get-EqualOrNextHighestNumber.ps1
/PSvCloud/Private/Get-EqualOrNextHighestNumber.ps1/PSvCloud/Private/Get-EqualOrNextHighestNumber.ps1
Test-CIConnection.ps1
/PSvCloud/Private/Test-CIConnection.ps1/PSvCloud/Private/Test-CIConnection.ps1
Get-CIEdgeSecurityCheck.ps1
/PSvCloud/Public/Edge/Get-CIEdgeSecurityCheck.ps1/PSvCloud/Public/Edge/Get-CIEdgeSecurityCheck.ps1
Get-CIEdgeView.ps1
/PSvCloud/Public/Edge/Get-CIEdgeView.ps1/PSvCloud/Public/Edge/Get-CIEdgeView.ps1