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, ∼2808🔥, 0💬
Popular Posts:
What is EvtEng.exe process - Intel Wireless EvtEng Module? Process EvtEng.exe is related to your wir...
Can I disable Windows service "PCAngel.exe - PC Angel" to speedup my computer? Windows service "PCAn...
What is the "Smart Card Device Enumeration Service (ScDeviceEnum)" system service on Windows Server ...
How to edit Mozilla FireFox configuration file? Mozilla FireFox has a configuration file that contro...
Can I register my computer later? I don't want to register my computer during the initial Windows 7 ...