8 lines
492 B
PowerShell
8 lines
492 B
PowerShell
#Place this file in directory: C:\Scripts\automatic-updates-static
|
|
$userdomain = "domain name"
|
|
$taskusername = "username" #Service account for running scripts
|
|
$mailto = "mail-to@example.com" #Where the mail with update notification will be send to
|
|
$mailfrom = "mail-from@example.com" #Where the mail will be send from
|
|
$smtpserver = "some.smtpserver.com"
|
|
$mailusername = "mail-username@example.com"
|
|
#$servers = #List of servers to be updated after DC. Example = "cust-tst-ts01","cust-tst-ts02" |