I'm looking for an HTA that will ask user to authenticate a user to an AD group and if successful run a program

is this even possible? I want to use this in WinPE to only allow certain users build machines with MDT. Is this possible with an HTA and VB?

if((Get-ADGroupMember -Identity "Your_Group" | Select Name) -match "$($currentuser)"){<#execute code here#>}
#or
if((Get-ADGroupMember -Identity "Your_Group" | Select Name) -match (Get-Credential).UserName){<#call exe#>}
Of course $currentuser needs to be populated depending on how and where the script is going to be run from.
$currentuser = $Env:USERNAME
#or
$currentuser = Read-Host "Enter your username"
#or
$currentuser = (Get-Credential).username
PoSh is king

Similar Messages

  • I am looking for an app that will transcribe talking words into written words.  I have no idea where to look

    I am looking for an app that will transcribe talking words on a cd into written words in a file.

    Give Dictation a try.

  • LOOKING FOR AN APP THAT WILL ALLOW ME TO READ A PDF DOCUMENT OFF LINE

    My itouch has 8 Gb of RAM and I am looking for an app that will allow me to store a PDF document in memory and read it off line as there are times when I do not have access to WiFi. I can email myself the document but I am off line, I don't think that the inbox is an off line folder from which an attachment can be viewed off line, right? Therefore the reason I am looking for the ability to save and read off line.
    Thanks!!

    @x62
    I don't think that the inbox is an off line folder from which an attachment can be viewed off line, right?
    No, incorrect. The inbox is an *off line* folder, just as it is on a computer. Once you download the email from the server, it is in your iPod/computer and you can access it when you like.

  • Looking for an app that will manage all my business contacts (5,000 ) by company and then by name

    I'm looking for an app that will manage all my business contacts (5,000+). Want the app to categorize by company and then by name, kind of like an organization chart
    Ex.     Apple, Inc.
    -John
    -Sam
                                        -Nicole
    I just downloaded "FastContact" for free but its too slow while searching. After more research I saw "ABContacts" but don't want to pay $5 for something I may not be looking for.
    Any suggestions?

    The only thing available to you is the restrictiions section in settings.  Due to sandboxing, apps cannot interoperate with other apps except for sending data files from one app to another if allowed.  There is no app that will help you.
    Settings>General>Restrictions.

  • Looking for an app that will show me where my chil...

    I am Looking for an app that will show me where my children are (via gps on their phomes).  Looked in OVI store but came up empty.  Need the app to work on my E71x.
    Thanks

    I assume the kids have to leave their GPS on all the time draining the battery. What happens if they're in a building?
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • Looking for an app that will alarm on specific text messages.

    Looking for an app that will alarm on specific text messages. The idea is to use the message as a pager without a monthly subscription. There is a similar app for andriod called firealert.

    I could not find any app that would do this. There are different types of message apps but nothing that I could find to do what I am looking for. For a specific contact I would like the message to have a notification that will not go away until I acknowledge it. Just like you would do if it was a pager.

  • Looking for an app that will allow my iphone3 to recieve VHF radio

    looking for an app that will allow my iphone3 to recieve VHF radio
    thank you
    Fabergebrut

    For what its worth, your iPhone does NOT contain a radio frequency antenna.
    Hope this helps

  • Looking for an app that will convert written chemical formulas to text. Any suggestions?

    Looking for an app that will convert written chemical formulas to text. Any suggestions?

    I could not find any app that would do this. There are different types of message apps but nothing that I could find to do what I am looking for. For a specific contact I would like the message to have a notification that will not go away until I acknowledge it. Just like you would do if it was a pager.

  • I'm looking for an app that will allow a presenter to give ipads to several other users in a room and control what's on display for the group

    please let me know if you know of any good apps to sync up several ipads in a room with one person in control. I'm looking for an app that will allow a presenter to control what's on display for several other ipad users in a room. I'd like to be able to do presentations over the ipad, but i want the presenter to control the screens so folks in the meetings don't get distracted by playing with the ipad. i'd like to avoid using a web meeting service and do this without having to connect to any kind of network since i'll often be doing this outside of my office.

    Try http://mysyncpad.com/. I'm not sure if it will do all you need, but it's the closest I've seen.

  • I'm looking for an app that will allow me to upload my contracts and forms to my iPad, fill in a customer's personal information, sign them, save them and email them.

    I'm looking for an app that will allow me to upload my contracts and forms to my iPad, fill in a customer's personal information, sign them, save them and email them.  I looked at easySign, Filemaker, FM Touch, Sign Docs, Zosh, Exzact, Mi-Co

    FormConnect (http://itunes.apple.com/us/app/formconnect/id432653695?mt=8&ls=1) can handle the filling out, signing, saving and emailing the contracts/forms but uploading the contract and the form is going to be a challenge because you’re dealing with paper documents that have to be scanned.  If you can convert the scanned documents into an OCR program, you might be able to copy and paste the contract without having to retype it but the form itself is probably going to have to be recreated.  Alternatively, you could use a document annotation program such as iAnnotate and mark up the contract with ink.

  • I am looking for a device that will answer phone calls on my Mac. I have had a Phonevalet, and it is great, but it is no longer made.

    I am looking for a device that will answer a landline phone. I have a Phonevalet, which answers, takes messages, has call block and is pluged into my Address Book, but it was discontinued, and I would like to add another line. Ovalabs made a similar device, but it also is gone. Is ther a way to use an Apple Modem to take calls? Any other product? The best part of the PhoneValet for me was it would announce the caller ID over my stereo (pluged into my Mac) and I could hear who was calling in my workshop and decide if I wanted to interupt the call.

    I know I'm talking about expensive apps, but having been in prepress for about 30 years now, I really don't look at anything other than Quark XPress or InDesign for page layout apps. Your printing vendor will also be much happier with you when you use these products. Some areas of the U.S. tend to be mostly Quark oriented; others, InDesign. Ask your vendor what they would prefer, and if there are any free or cheap alternative apps they'll accept documents from.
    Apple's Pages app (part of iWork) is a decent page layout program, but hasn't been updated in four years. It also doesn't support CMYK. If you place a CMYK image in the app, it will export out an RGB version of it. Not good! You can work with RGB images if you prefer, but your CMYK translations will be left to the skill of the print shop you use to do the conversions.
    Don't even think about using Word. It has what it calls a page layout option, and does pretty much work like one, but there's no good way to import it into a real layout app such as InDesign. You end up paying the printer for their time to rebuild your entire project in either XPress or InDesign so they can actually do something with it.

  • I am looking for an app that will turn on/off bluetooth/WiFi

    I am looking for an app that will turn on/off bluetooth/WiFi without having to dig through the settings app

    ok.. i am new to iphone and iOS and i just thought there might be some solution for this. Since they have the new notifications similar to Android, i was hoping there will be some simple app for this. Thats all.
    If there is no solution, you can say its not possible. I dont want you to tell me if I have to go back to Android or not. I bought iphone 4s becasue i liked it.

  • Looking for a crop that will allow me to keep all the heads the same size

    looking for a crop that will allow me to keep all the heads the same size. Iam a School photographer and have been looking for a crop tool mask out liner ect that will alow me to crop and see that head sizes remain the same throught out a job can any one help with this question?

    I *think* I'm understanding that Eisenray is asking. Similar to the crop overlays, like Grid or Spiral, he would like one with an oval, to help hi better size the heads in the photos. I believe in each photo, the heads have to be the same size.
    What he *could* do, is create a rectangle with an oval punched out of it. He could drag the image to an 8x10 300ppi document, and that rectangle can be overlayed on his photo, then he can shrink/enlarge the photo to fit the oval...if that makes sense.
    It's difficult to understand, do if I'm wrong, please let us know, Eisenray.

  • Look for a progarm that will let me have 2 moniters but one will lock on and will not change when using spaces

    look for a progarm that will let me have 2 moniters but one will lock on and will not change when using spaces

    ok so i have one moniter to the right of me and i want to keep my google chrome on that one but still be abel to use space on the many monter. cuz when you go to spaces it movies both moniter i hope that help and i hope that you can help me.

  • Looking for a app that will go out and get all my credit card balances.

    I am looking for a App that can go on all the web sites for my Credit Cards and download the balance Interest Rate Payment.....
    Anyone know of a good one?

    I recommend that instead of working on an iPad application you get a good web programmer in and set up a web-facing system that can be used from anything with a web browser --  an iPad, a smartphone, a laptop or a desktop.  Then your employees can access the system from any computer with a web browser, and you don't need to employ an expensive specialist programmer to produce a system which is useless for devices made by other manufacturers.  The only requirement for use will be that your devices must in range of either WiFi or a phone signal.
    It will also mean that if you need to change your software at any time you only have to change one copy, back at headquarters, rather than update an App on every individual iPad.
    Apple's web browsers (including the ones built into iDevices) allow a web site to request the user's location, so people using an iPad should be able to do the things you have asked for.

Maybe you are looking for

  • SPLITTING MORE THAN ONE LINE ITEM IN ECC6.0

    Hi everyone. I am using New GL functionality in ECC6.0. I have a big question regarding multiple objects splitting. Ej: Purchase of a service. If I set one cost centre in the expense line item, the profit centre and segment are determined automatical

  • HT2329 the songs on my ipod are no longer in my itunes library...how do i get them back to the library...

    My computer crashed and i have a new hard drive. The songs on my ipod are now not showing in my itunes library. None of them, either from my cd's or purchased from itunes. how do i get all my songs back into my library?

  • Calling a function in tasks

    HI gurus Is the following implementation in-correct.  This for me should be creating invoices as the function module YSHELL_INCOMING is calling a bapi inturn...however I do not get any tables filled and there is no return in the return table. DO 5 TI

  • How to create a user selected power supply turn on sequece

    I'm trying to come up with code for a user to select the turn on sequence of a HP6626A supply, by entering the numbers 1, 2, 3 & 4 in the approriate channel to be turned on.  Does anyone have such code or any ideas on how to write it?  Thanks in adva

  • Standby Gives Error

    Hi I m facing an error on standby database(Physically) when i trying to open it in read only mode it gives error SQL> ALTER DATABASE OPEN READ ONLY; ALTER DATABASE OPEN READ ONLY ERROR at line 1: ORA-01092: ORACLE instance terminated. Disconnection f