How to use enum type as function argument31581 (11/16/2009 5:53:01 AM) UtfI have an object reference in my script that I would like to call a method on
using an enum type as an argument. I can get list the values on the enum just
fine doing this:
$AlertLevel = 'CmdMan.Common.T...
How to run an app of Guest machine1775 (11/17/2009 3:20:40 AM) tskimHi.
I've installed Virtual Server 2005 and also installed XP Guest OS in Host
Using 'Invoke-item', it shows up the app in Host Sytem not an guest os.
What I want to is just run any appl...
Relative paths121981 (11/12/2009 2:07:36 PM) ThomasHi everybody!
I have a script which processes some files and calls some other scripts that
reside in the same directory as the script file, like so:
Get-Content .\Source.txt >> ..\T...
executing a remote "msiexec ..." command21539 (11/16/2009 2:16:36 PM) ITshould i use powershell ?
that is ping the remote machine, if online, then execute a remote "msiexec
...command to uninstall application"
use group policy ? if gpo, which setting do i put the "msi...
Get Window Position - fun with P/Invoke and pointers2943 (11/14/2009 9:55:44 AM) radskiThis is a multi-part message in MIME format.
I thought Powershell was MTA (V2 of PS and V2 of this post)71425 (11/15/2009 8:05:01 PM) UtfSorry if this doubles posts but the Windows Vista x64 forum is not working
properly so am posting here directly.
I have an application that hosts Powershell and supplies the PSHost.
set-location to device51155 (11/13/2009 4:39:17 PM) BryonWill powershell let you set location to a connected phone device?
When I connect a mobile phone it shows up in explorer as
I can browse the phone with Windows Explorer.
Wanted to ...
Prohibit IEnumerable for default output formatting4747 (11/11/2009 9:21:44 AM) ThomyI'm working with an (opaque) Api where classes have 'scalar'
properties and implement IEnumerable at the same time.
In a console host the default formatting is that the Enumerator is
walked down, the 'scal...
Can my host interrupt a Powershell script?41729 (11/14/2009 5:18:27 PM) CodeSlinger
Is it possible to interrupt a hosted Powershell script? My hosting
application allows hosting a user defined Powershell script which should
run ideally as a never ending timer event handler, on its own thre...
When less is more2988 (11/14/2009 4:13:01 AM) AlThe help command is great, but the old DOS more command REALLY sucks;
among other failings, if you go past something, you can't back up.
So, I did some investigating. "more" under PS is actually a function...
How to deploy powershell?2607 (11/12/2009 10:21:01 PM) UtfI'm sure this has been asked but nothing came up in search. What is the best
way to deploy powershell out to all of my users on XP and other machines? I
saw the software from specsopsoft but i'd rather not ...
Help check Mailbox Stores and Mount - Exchange 200321723 (11/12/2009 3:02:02 PM) UtfI want to enumerate our Exchange Mailbox servers, check each mailbox database
and mount if not already mounted.
I can easily enough do this for Exchange 2007 servers, but not Exchange 2003
and Exchange ...
Restart stopped Exchange Services91593 (11/11/2009 12:44:01 PM) UtfHi,
I am trying to run a script which retrieves a list of Exchange 2003 Servers.
I then want to check the Exchange related services on each server and restart
them automatically. However I have run into ...
Adding a group from another domain / forest12611 (11/11/2009 2:01:01 PM) UtfHi. Can anyone suggest some code to add a global group from one domain to a
domain local on another?
I've experimented with calling DSMOD etc but I get 'server returned a
referral' errors, presumably be...
Test Cluster Node61599 (11/10/2009 6:01:02 PM) UtfGiven a computer name, how to test it if it a cluster node or not? without
calling WMI MSCluster with $null return? Are there any classes with a
property of IsClustered?
Problem installing PowerShell 2.0 on W2003SP2 x641997 (11/11/2009 9:22:26 AM) surfkidI=B4m running Windows 2003 Ent.Server SP2 x64 ENG and get an error when
installing PowerShell2.0 (=3DWin Mgmt Corepack x64 ENG)
"... is not a valid W32 Application"
somewhat strange on a x64 Sytem with a...
the Windows registry2983 (11/10/2009 3:41:40 PM) Larry__WeissIt seems that some strategies of writing code using PowerShell involve
manipulating the Windows registry (and PowerShell makes that so easy!).
What I'm wondering is how portable these scripts will be acros...