Skip to main content

Code Examples

Get Service Status
Get the status of a specific service
Set Static IP Address
Set a static IP address for a network interface on a computer.
Create New Local User
Create a new local user account
Find Large Files
Find files larger than a specified size in a directory
Enable Remote Desktop
Enable or disable Remote Desktop on a computer
Restart a Service
Restart a specific service.
Stop a Service
Stop a specific service.
Start a Service
Start a specific service.
Set Service Startup Type
Set the startup type of a specific service.
Get Installed Software
Get a list of installed software on a computer.
Get Computer Uptime
Get the uptime of a computer.
Get Windows Updates
Get a list of installed Windows updates on a computer.
Install Windows Update
Install a specific Windows update on a computer.
Uninstall Windows Update
Uninstall a specific Windows update on a computer.
Enable Remote Desktop
Enable Remote Desktop on a computer.
Disable Remote Desktop
Disable Remote Desktop on a computer.
Create Scheduled Task
Create a scheduled task on a computer.
Remove Scheduled Task
Remove a scheduled task from a computer.
Get IP Configuration
Get IP configuration details for all network interfaces on a computer.
Set DHCP IP Address
Set a network interface to use DHCP for IP address assignment on a computer.