Newsgroups: microsoft.public.windows.powershell
From: "Jason" <nos...@nospam.com>
Date: Tue, 3 Jul 2007 09:29:01 -0500
Local: Tues, Jul 3 2007 10:29 am
Subject: Re: versus get-wmiobject
> Is there a way to use the win32_process.Create() method with get- Hi Hal: > wmiobject, or is that just not gonna happen? Here's a function to do it which uses get-wmiobject and the -query ###################################### function Create-ProcessWithWMI ($computer = ".", $commandline = $(throw if ($results.ReturnValue -eq 0) { $results.ProcessID } # Or just return } ###################################### Cheers, ------------------------------------------------------ You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||