Re: [NTSysADM] PowerShell (again)

2013-10-08 Thread James Rankin
: [NTSysADM] PowerShell (again) ** ** I might be missing something here, but how do the GPOs log a user out if they are in multiple groups? Or are you saying one will default if they are in multiple groups? That's a bit tricky - the default user settings are defined by the user's AD security

Re: [NTSysADM] PowerShell (again)

2013-10-07 Thread James Rankin
. ** ** -Aakash Shah ** ** *From:* listsad...@lists.myitforum.com [mailto: listsad...@lists.myitforum.com] *On Behalf Of *James Rankin *Sent:* Friday, October 4, 2013 1:24 AM *To:* ntsysadm@lists.myitforum.com *Subject:* Re: [NTSysADM] PowerShell (again) ** ** I might

Re: [NTSysADM] PowerShell (again)

2013-10-04 Thread James Rankin
] PowerShell (again) ** ** Is it possible to use PowerShell to display a message to a user and then log them out? My scenario is this:- ** ** Got to deliver three distinct desktops from one single image. The access to the desktops is controlled via AD group, so if you

RE: [NTSysADM] PowerShell (again)

2013-10-04 Thread Aakash Shah
AM To: ntsysadm@lists.myitforum.com Subject: Re: [NTSysADM] PowerShell (again) I might be missing something here, but how do the GPOs log a user out if they are in multiple groups? Or are you saying one will default if they are in multiple groups? That's a bit tricky - the default user settings

Re: [NTSysADM] PowerShell (again)

2013-10-03 Thread James Rankin
Just as you post, a solution presents itself :-0 $a = new-object -comobject wscript.shell $b = $a.popup(“This is a test”,0,”Test Message Box”,1) On 3 October 2013 13:31, James Rankin kz2...@googlemail.com wrote: Is it possible to use PowerShell to display a message to a user and then log

RE: [NTSysADM] PowerShell (again)

2013-10-03 Thread Kennedy, Jim
Yep, the send button is my favorite source of info. Works every time. From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of James Rankin Sent: Thursday, October 03, 2013 8:38 AM To: NTSysADM@lists.myitforum.com Subject: Re: [NTSysADM] PowerShell (again) Just