Tests/Appveyor.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# This script will invoke a DSC configuration
# This is a simple proof of concept

"`n`tPerforming DSC Configuration`n"

Enable-PSRemoting -Force

ls "C:\Program Files\WindowsPowerShell\Modules\cSNMP\0.2"

. .\Tests\SNMP.ps1
 
( Test ).FullName | Set-Content -Path .\Artifacts.txt
 
Start-DscConfiguration -Path .\Test -Wait -Force -verbose