Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Json config for Pester with remark
{
"service": {
"suggestion": {
"startmode": "Open PowerShell as administrator and run 'Set-Service -Name {0} -StartType {1}'",
"status": "Make the service '{0}' in {1} state."
},
"expectedconfiguration": [
{
"name": "BITS",
"status": "running",
"startmode": "automatic"
},
{
"name": "wuauserv",
"status": "running",
"startmode": "automatic"
}
]
},
"folderpermission": {
"suggestion": {
"message": "Give {0} permission for {1} user on {2} folder."
},
"expectedconfiguration": [
{
"path": "c:\\Deployment\\config",
"user": "RDFC\\Test",
"permission": "FullControl"
},
{
"path": "c:\\Deployment\\files",
"user": "RDFC\\kvprasoon",
"permission": "FullControl"
}
]
},
"firewallrule": {
"suggestion": {
"rulename": "Open wf.msc and create an {0} rule with name '{1}'.",
"direction": "Open wf.msc and create the firewall rule '{0}' for {1} connection."
},
"expectedconfiguration": [
{
"rulename": "Rule1",
"direction": "Inbound"
},
{
"rulename": "Rule2",
"direction": "Outbound"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.