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, ∼2614🔥, 0💬
Popular Posts:
Pl help me.. Hi.. how to run a php script in windows xp ...? First, you need to download and install...
How to edit Mozilla FireFox configuration file? Mozilla FireFox has a configuration file that contro...
What is a DSL modem? A DSL modem is a device that is used to interface your computer and the DSL lin...
How do I copy customized media information for my files to my new computer? When you add or edit med...
How to open a Web Archive (.mht or .mhtml) file correctly in Firefox browser? I converted a word doc...