Prev | Current Page 316 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"

The advantage of this utility is that you
can find it in older versions of Windows, so you can use the same script on just about any machine.
The disadvantage of this utility is that it provides limited functionality. The ShutDown utility,
described in the ???Shutting Down the System with the ShutDown Command??? section of Chapter 3,
is far more capable and you should use it whenever possible. This utility uses the following syntax:
LOGOFF [sessionname | sessionid] [/SERVER:servername] [/V]
The following list describes each of the command line arguments.
sessionname Defines the name of the session that you want to log off. Older versions of the
tool don??™t provide this argument. The default is to log off the current session.
sessionid Defines the identifier of the session that you want to log off.
118 CHAPTER 5 CREATING CMD AND BAT FILES
/SERVER:servername Specifies the server containing the user session to log off. Some documentation
implies that you need Terminal Server to use this command line switch, but it
appears to work just as well without it.
/V Displays detailed information about the actions the system performs during the logoff
cycle.


Pages:
304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328
tani nocleg online loans for bad credit rating Wnętrza Poznań pozycjonowanie stron w google wanna poolspa