Sample of declare a simple powershell class sample


/ Published in: Windows PowerShell
Save to your folder(s)

Sample of declare a simple powershell class sample
thanks to Tome Tanasovski (http://powertoe.wordpress.com)


Copy this code and paste it in your HTML
  1. #Sample of declare a simple powershell class sample
  2. #thanks to Tome Tanasovski (http://powertoe.wordpress.com)
  3.  
  4. $webclient = new-object psobject -Property @{
  5. timeout = 10
  6. }
  7.  
  8. $webclient;
  9. $webclient.timeout=-1;
  10. $webclient;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.