Get-ExecutionPolicy
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
'#'
<# ... #>
$ComputerName = Read-Host "Enter Computer name"
Param ( [Parameter(Mandatory=$true)] [string[]] #Additional [] after string denotes this parameter accepts multiple inputs $Computername #Parameter name )
Foreach ($target in $Computername) { }
If ($ServiceStatus -eq 'Running') { } Else { }
<#
.Synopsis
Short description
.DESCRIPTION
Long description
.EXAMPLE
Example of how to use this cmdlet
.EXAMPLE
Another example of how to use this cmdlet
#>