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, ∼2729🔥, 0💬
Popular Posts:
Where to find tutorials on managing Windows 7 scheduled tasks? Here is a collection of tutorials on ...
Where to find tutorials on using Windows Server 2012? I want to learn how to use Windows Server 2012...
What is the scheduled task "\Microsoft\Windows\Wini net\CacheTask"on my Windows 7 computer? "\Micros...
How to add comments on slides? I am reviewing someone else's presentation and I want to add some com...
Which folder should I use to share picture files and music files with other Bluetooth devices on my ...