Native Scripts

The follow sub-menu pages contain live running PowerShell scripts that have been enhanced to support ATPowerForm's web rendering ability. Since these script are running in a shared hosting environment normal administrative PowerShell functions will not be presented (this can be done via the Trial download, all sample are included with the product).

PowerShell - Native Scripts

ATPowerform has the abiltyto execute many Powershell scripts without modification. When a Native script is executed all output is directed to a web based console. This allows existing script libraries to be used and enhanced to full graphical versions as time permits. 

Press the Execute button to run the script.


ServerName


Services_Step_1 ?

<#
.SYNOPSIS
    Tutorial - Services - Step 1
.DESCRIPTION
    The following script displays a list of services
.NOTES
    Script Name:        Services_Step_1.ps1
    Version:            1.0
    Author:               NuDigital Solutions
    Creation Date:        08/01/2014
#>
param(
    [string]$ServerName = ""
)

# Assign Server Parameter
if ($ServerName -ne "") {
    $Result = get-service -ComputerName $ServerName | select-object Name,DisplayName,Status
} Else {
    $Result = get-service | select-object Name,DisplayName,Status
}
#write-Output $Result  | ConvertTo-HTML -Fragment
Write-Output $Result