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, ∼3395🔥, 0💬
Popular Posts:
I have a field in a MS Access form that is a foreign key pointing to another table. Can I use a comb...
Where to find tutorials on using Windows Server 2012? I want to learn how to use Windows Server 2012...
A collection of 12 tutorials on creating, deleting and managing Windows services: What is a Windows ...
I have created a table in MS Access. How do I create a form to help enter data into the table? Assum...
What are the commonly used background processes on Windows systems? - Part II Continue from Part I ....