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, ∼3393🔥, 0💬
Popular Posts:
What is the scheduled task "\Microsoft\Windows\RAC\ RacTask"on my Windows 7 computer? "\Microsoft\Wi...
How to install PHP engine on Windows systems? If you followed our Downloading PHP Engine tutorial , ...
A collection of 14 tutorials on Apache and PHP installation and configuration covering: How to downl...
What is "Remote Access Auto Connection Manager" in my Windows XP service list? And how is "Remote Ac...
How to remove quickset.exe from the startup application list to gain performance and reduce security...