scripts/Param-Test.ps1
2025-04-09 23:17:45 -05:00

20 lines
471 B
PowerShell

<#
.SYNOPSIS
Joins this computer to the Technolog domain.
.PARAMETER CompType
The computer type. This can either be (w/o quotes) "WKS", or "Server".
.PARAMETER ServerTier
Can only be used with if CompType is "Server"- determines the tier of the server.
#>
# Parameters
param(
[Parameter(Position=0,Mandatory=$true)]
[string]$CompType = "None",
[Parameter(Position=1,Mandatory=$false)]
[string]$ServerTier = "None"
)
$CompType
$ServerTier