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, ∼3381🔥, 0💬
Popular Posts:
How to remove CLI.exe from startup program list? CLI.exe is a configuration program for the ATI grap...
How to remove ApacheMonitor.exe from the startup application list to gain performance and reduce sec...
How to download ActivePerl 5.8.8.820? If you are interested in using Perl on your Windows system, yo...
What are required to use wireless routers to connect to the Internet? If you want to connect to the ...
How can I tell the number of CPU or logical processors on my Windows Server 2012? To find out how ma...