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, ∼2722🔥, 0💬
Popular Posts:
How to add a program into the startup folder? If you find an interesting program that you want to ad...
What is "BitLocker Drive Encryption Service" in my Windows XP service list? And how is "BitLocker Dr...
What is "Microsoft Policy Platform Local Authority" in my Windows 7 service list? And how is "Micros...
What is service "AeLookupSvc" on Windows Vista? "AeLookupSvc" is a system service with the display n...
How to install the latest Lenovo ThinkPad Bluetooth driver on my Windows 7 system? I have downloaded...