Collections:
Other Resources:
Invoke Object Methods in Windows PowerShell Scripts
How to invoke methods of an object in Windows PowerShell scripts? I know the method name in Windows PowerShell scripts.
✍: FYIcenter.com
If you know the method name of an object, you can invoke and run the method
using the "." operator.
For example, if you run the following script:
$today = Get-Date $tomorrow = $today.AddDays(1) "Today is "+$today.DayOfWeek "Tomorrow is "+$tomorrow.DayOfWeek
You will get something like:
Today is Saturday Tomorrow is Sunday
⇒ Comparison Operations in Windows PowerShell Scripts
⇐ Access Object Properties in Windows PowerShell Scripts
2016-11-02, ∼2680🔥, 0💬
Popular Posts:
What is HelpSvc.exe - Microsoft Help Center Service? That is HelpSvc.exe? There many answers on the ...
How do I move my library to a new computer? You must perform multiple steps before and after moving ...
What is the HP Software Installation step doing during Windows 7 initial set up? If you bought a new...
What files are used by Alexa Toolbar for Internet Explorer (IE) 7 browser? How Alexa Toolbar is conf...
Where to find tutorials on Internet Explorer (IE) 7. Here is a list of tutorials to answer many freq...