November 2018
Intermediate to advanced
566 pages
17h 15m
English
The first step for creating actions depending on the situation is identifying the situation itself. In this case, it is specifically identifying the exception. Follow these steps to get started:
PS> New-Item random/log.logPS> $Error | select *
function New-LogFile { param ( # The path to the log file [Parameter(Mandatory=$false)] [string] $Path = "$HOME/random/LogDir", # The name of the log file [Parameter(Mandatory=$false)] ...Read now
Unlock full access