Returns all command arguments as an array of strings, without spaces and without combining them.
All command arguments
Returns the built command as one whole string, with arguments combined.
The built command
Sets a flag on the shutdown command, optionally with a value.
Note: Setting the same flag twice will overwrite any previous value this flag may have had.
Whether to insert the flag as the first flag
Arbitrary value
Recursively executes ShutdownCommandBuilder.setFlag on an array of flag objects.
Array<FlagObject>
Unsets a flag on the shutdown command.
Recursively executes ShutdownCommandBuilder.unsetFlag on an array of flags.
Array<WindowsShutdownFlag>
Generated using TypeDoc
Generic command builder class for the Windows shutdown command.
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown