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, ∼2868🔥, 0💬
Popular Posts:
How to use IMDisplay to display an image file? If have image file called wizard.jpg and want to use ...
What is ActivePerl? ActivePerl, developed by ActiveState Software Inc., is the complete, ready-to-in...
What is yinsthelper.dll - DLL File - Yahoo YInstHelper Module? yinsthelper.dll is the Yahoo YInstHel...
How do i update drive letter access component version 1.0.0.1 The best way to update your driver let...
What is service "wudfsvc" and library "wudfsvc.dll" on Windows Vista? "wudfsvc" is a system service ...