Beispiel #1
0
 /// <summary>
 /// Powershell logic.
 /// </summary>
 protected override void ProcessRecord()
 {
     while (Scraper.Exec(Expression)?.ToLower() != "true")
     {
         Thread.Sleep(1000);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Powershell cmdlet logic
 /// </summary>
 protected override void ProcessRecord()
 {
     WriteObject(Scraper.Exec(Expression));
 }