[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [killall](./bitburner.ns.killall.md) ## NS.killall() method Terminate all scripts on a server. **Signature:** ```typescript killall(host?: string, safetyGuard?: boolean): boolean; ``` ## Parameters
| Parameter | Type | Description |
|---|---|---|
| host | string | _(Optional)_ Hostname/IP of the server on which to kill all scripts. Optional. Defaults to current server if not provided. |
| safetyGuard | boolean | _(Optional)_ Skips the script that calls this function |