docs(iiscontrol): added in an example how to run i t

This commit is contained in:
2025-07-21 17:26:18 -05:00
parent 05e31f4b9e
commit ccddef8ba8

View File

@@ -4,6 +4,9 @@ param (
[string]$StopOrStart
)
# Example string to run with the parameters in it.
# .\iisControls.ps1 -ServerName "usmcd1vms036" -AppPoolName "LogisticsSupportTool" -StopOrStart "stop"
write-host $StopOrStart
if ($StopOrStart -eq "stop") {
Invoke-Command -ComputerName $ServerName -Credential $cred -ScriptBlock {