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, ∼2726🔥, 0💬
Popular Posts:
What is msdxm.ocx - Windows Media Player 2 ActiveX Control? msdxm.ocx is installed as an ActiveX Con...
How to configure your system for Wireless Internet connection? Once your wireless router is connecte...
How to terminate a program that does not respond to its interface? Sometimes applications may encoun...
What is the "SCNotification.exe" process on windows 7? Is the "SCNotification.exe" process a virus? ...
How to download ActivePerl 5.8.8.820? If you are interested in using Perl on your Windows system, yo...