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, ∼2493🔥, 0💬
Popular Posts:
How to increase the remote login limit on Windows 10? By default, Windows 10 only allows 1 remote lo...
Can I disable Windows service "Performance Logs and Alerts" to speedup my computer? Windows service ...
How to uninstall ActivePerl 5.8.8.820? If for some reason you want to uninstall ActivePerl from your...
What is yinsthelper.dll - DLL File - Yahoo YInstHelper Module? yinsthelper.dll is the Yahoo YInstHel...
How to setup a HP laptop computer? I want to buy the new HP laptop computer on sale at Best Buy for ...