Question : Scripting Problem with IFMEMBER

I have a group in ADUC called AG-CRM_Installation to test I add and remove myself from the group, however no matter what I do when I run the script it just does nothing, help is appreciated. I need to roll this out to client computers.

REM ****************  MS CRM Client Installation ***************************
set SCRIPTPATH=%LOGONSERVER%\NETLOGON

"%SCRIPTPATH%\tools\ifmember" "AG-CRM_Installation"
if errorlevel 1 goto CRM
GOTO WTS

:CRM
rem Check CRM install
if not exist "C:\Program Files\Microsoft Dynamics CRM" GOTO CRM_INSTALL

:CRM_INSTALL
rem CRM Outlook Client silent install
\\server-app01\PublicInstalls\OutlookClient\setupclient.exe /q
GOTO WTS

REM ************************************************************************

:WTS
REm do stuff here

Answer : Scripting Problem with IFMEMBER

Perhaps you need to put your domain name before the group name?

LIke this:

"%SCRIPTPATH%\tools\ifmember" "mydomain\AG-CRM_Installation"
Random Solutions  
 
programming4us programming4us