This repository was archived by the owner on May 15, 2018. It is now read-only.
Commit f7095b6
Craig Martin
ScheduledTask - using the Credential, and Removing an existing Job
the DSC resource was failing in the LCM with Access-Denied, so I plumbed
the Credential into the Set-TargetResource function and used it with
New-PSSession (same pattern I saw in Test-TargetResource)1 parent bc32f66 commit f7095b6
File tree
1 file changed
+19
-3
lines changed- DSCResources/StackExchange_ScheduledTask
1 file changed
+19
-3
lines changedLines changed: 19 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
173 | 174 | | |
174 | | - | |
| 175 | + | |
| 176 | + | |
175 | 177 | | |
176 | 178 | | |
177 | 179 | | |
| |||
208 | 210 | | |
209 | 211 | | |
210 | 212 | | |
211 | | - | |
212 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
213 | 229 | | |
214 | 230 | | |
215 | 231 | | |
| |||
0 commit comments