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, ∼3534🔥, 0💬
Popular Posts:
How to increase the remote login limit on Windows 10? By default, Windows 10 only allows 1 remote lo...
How to select system language during the Windows 7 initial set up process? If you bought your comput...
Can I disable Windows service "EvtEng" to speedup my computer? Windows service "EvtEng" - Intel Even...
What is "Office Software Protection Platform" in my Windows 7 service list? And how is "Office Softw...
How to download and install Alexa Toolbar for Internet Explorer (IE) 7 browser? Alexa Toolbar offers...