c:\Charon>powershell -file charon_cleanshutdown.ps1 -config myds20tru64.ini
Name Value
---- -----
mode expect
servicename myds20
username root
expectbin C:\Tcl\bin\tclsh86.exe
plinkbin C:\Charon\plink.exe
os Tru64
port 10003
clixml C:\Charon\myds20pwd.clixml
prompt #
logfile C:\Charon\myds20_shutdown.log
20160808:122546:INFO :0: Using 'C:\Charon\myds20_shutdown.log' as log file / append
20160808:122546:INFO :0: 'expect' will be used
20160808:122546:INFO :0: Service 'myds20' is Running (Display name: myds20)
20160808:122546:INFO :0: The 'clixml' file 'C:\Charon\myds20pwd.clixml' will be used to gather password for 'expect' mode.
20160808:122546:INFO :0: Killing all putty sessions...
20160808:122546:INFO :0: Invoking the expect script...
20160808:122546:INFO :0: Connecting to localhost port 10003 ...
20160808:122642:INFO :0: %EXPECT-I-BEGIN, Starting / UNIX... [2016-08-08 12:25:46]
20160808:122642:INFO :0: %EXPECT-I-SNDRET, Sending carriage return... [2016-08-08 12:25:47]
20160808:122642:INFO :0: Compaq Tru64 UNIX V5.1B (Rev. 2650) (pluto.localdomain) console
20160808:122642:INFO :0: login:
20160808:122642:INFO :0: %EXPECT-I-FOUND, Found UNIX login [2016-08-08 12:25:48]
20160808:122642:INFO :0: %EXPECT-I-LOGIN, Sending UNIX user: root ... [2016-08-08 12:25:48]
20160808:122642:INFO :0: root
20160808:122642:INFO :0: Password:
20160808:122642:INFO :0: %EXPECT-I-PASSW, Sending root password... [2016-08-08 12:25:49]
20160808:122642:INFO :0: Can't find an OSF-BASE, UNIX-WORKSTATION, or UNIX-SERVER license PAK
20160808:122642:INFO :0: Last login: Fri Aug 5 11:56:28 CEST 2016 on console
20160808:122642:INFO :0: Compaq Tru64 UNIX V5.1B (Rev. 2650); Fri Jun 24 17:08:56 CEST 2016
20160808:122642:INFO :0: The installation software has successfully installed your system.
20160808:122642:INFO :0: There are logfiles that contain a record of your installation. These are:
20160808:122642:INFO :0:
20160808:122642:INFO :0: /var/adm/smlogs/install.cdf - configuration description file
20160808:122642:INFO :0: /var/adm/smlogs/install.log - general log file
20160808:122642:INFO :0: /var/adm/smlogs/install.FS.log - file system creation logs
20160808:122642:INFO :0: /var/adm/smlogs/setld.log - log for the setld(8) utility
20160808:122642:INFO :0: /var/adm/smlogs/fverify.log - verification log file
20160808:122642:INFO :0: #
20160808:122642:INFO :0: %EXPECT-S-LOGIN, login successful. [2016-08-08 12:25:49]
20160808:122642:INFO :0: %EXPECT-S-SHUTDWN, Sending UNIX shutdown... [2016-08-08 12:25:49]
20160808:122642:INFO :0: # init 0
20160808:122642:INFO :0: #
20160808:122642:INFO :0: INIT: New run level: 0
20160808:122642:INFO :0: The system is coming down. Please wait...
20160808:122642:INFO :0: Logins disabled
20160808:122642:INFO :0: LAT stopped.
20160808:122642:INFO :0: Unmounting NFS filesystems
20160808:122642:INFO :0: Halting processes ...
20160808:122642:INFO :0: The system is down.
20160808:122642:INFO :0: /proc: Invalid argument
20160808:122642:INFO :0: ....Halt completed....
20160808:122642:INFO :0: syncing disks... done
20160808:122642:INFO :0: CPU 0: Halting... (transferring to monitor)
20160808:122642:INFO :0: halted CPU 0
20160808:122642:INFO :0: halt code = 5
20160808:122642:INFO :0: HALT instruction executed
20160808:122642:INFO :0: PC = fffffc0000697b30
20160808:122642:INFO :0: P00>>>
20160808:122642:INFO :0: %EXPECT-S-SHUTDWN, Shutdown completed. [2016-08-08 12:26:38]
20160808:122642:INFO :0: %EXPECT-I-POWEROFF, Sending power off... [2016-08-08 12:26:38]
20160808:122642:INFO :0: power offFATAL ERROR: Network error: Software caused connection abort
20160808:122642:INFO :0: %EXPECT-S-POWEROFF, power off completed. [2016-08-08 12:26:40]
20160808:122642:INFO :0: %EXPECT-I-END, Exited with code 0. [2016-08-08 12:26:42]
20160808:122642:INFO :0: Service myds20 is already stopped
20160808:122642:INFO :0: Done.