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, ∼2873🔥, 0💬
Popular Posts:
What files are used by Windows Live Toolbar for Internet Explorer (IE) browser? How Alexa Toolbar is...
How to connect your computer to a DSL line? Here are the steps of how to connect your computer to th...
How to open a Web Archive (.mht or .mhtml) file correctly in Firefox browser? I converted a word doc...
How to view system properties on Windows Server 2016? I just want to get some basic information abou...
How to remove jusched.exe from startup program list? jusched.exe is a background process from Sun to...