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, ∼3010🔥, 0💬
Popular Posts:
What is the scheduled task "\Microsoft\Windows\Text ServicesFramework\MsCtfM onitor"on my Windows 7 c...
Can I remove startup application "SynTPLpr.exe - TouchPad Driver Helper Application" to speedup my c...
Where to find tutorials on using Edge Web browser. Here is a collection of tutorials on Edge Web bro...
What is "Lenovo Hotkey Client Loader" in my Windows 7 service list? And how is "Lenovo Hotkey Client...
What is "SynTPEnh Caller Service" in my Windows 7 service list? And how is "SynTPEnh Caller Service"...