SYNOPSIS
ws [
DESCRIPTION
The ws command (for Window Station) displays the name of the current workstation or desktop. This command can be used to generate an object-name argument for chacl command when changing the Access Control Lists on remote window stations using facilities such as telnet.
If no options are specified, ws returns the name of the current windowstation. If you are logged onto the console, this is always
WinSta0
Options
-d -
returns the current desktop name. If you are logged onto the console, and are not using a desktop switcher, this option always returns
Default
EXAMPLES
To give permissions for user to access your window station and desktop, use the following command:
chacl -t w -g user:f $(ws) $(ws)/$(ws -d)
DIAGNOSTICS
Possible exit status values are:
PORTABILITY
Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022.
AVAILABILITY
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.4 Documentation Build 39.