Commit 232b354
authored
Fix Set-DnsServerResourceRecord help for PS 7
The Clone() method for CimInstances doesn't exist in PS7, so the example throws an error. Suggesting an alternative that works (at least) in both PS5 and PS7.
Source and credit: http://jon.netdork.net/2015/10/23/set-dnsserverresourcerecord-and-oldinputobject-not-found/1 parent 34f2cae commit 232b354
File tree
1 file changed
+2
-2
lines changed- docset/winserver2019-ps/dnsserver
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments