You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Active Directory/Domain Services/DNSZonesRemote.ps1
+21-19Lines changed: 21 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -29,29 +29,31 @@ $Creds = Get-Credential
29
29
#Loop through each server in the list, opening a PowerShell remoting session, then show the name and status of the session. Skips (continue) to the next server if a connection fails.
Copy file name to clipboardExpand all lines: Active Directory/Set DNS Server Zone Settings via Registry.ps1
+21-24Lines changed: 21 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,6 @@
27
27
those changes to be read and take effect.
28
28
#>
29
29
30
-
# Prevent accidental running of this script until you've read the warning above:
31
-
break
32
-
33
30
if ($session) { Remove-PSSession$session }
34
31
35
32
#Specify a list of DNS servers manually, or just get a list of all domain controllers in the domain.
@@ -39,31 +36,31 @@ $creds = Get-Credential
39
36
#Loop through each server in the list, opening a PowerShell remoting session, then show the name and status of the session. Skips (continue) to the next server if a connection fails.
0 commit comments