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, ∼2700🔥, 0💬
Popular Posts:
A collection of 14 tutorials on Apache and PHP installation and configuration covering: How to downl...
What is ZCfgSvc.exe process - Intel Wireless ZeroCfgSvc MFC Application? Process ZCfgSvc.exe is the ...
What is "Lenovo Hotkey Client Loader" in my Windows 7 service list? And how is "Lenovo Hotkey Client...
What is the startup program "Persistence Module - igfxpers.exe" on my Windows 8 computer? Can I remo...
Where to find tutorials on using Edge Web browser. Here is a collection of tutorials on Edge Web bro...