Can a powershell script be set to run once an email had been received from a certain address?

Hello,
I'm trying to see if a PowerShell script can be made to run once an email has been received from a given email address or with a certain subject.
I came across this
http://dmitrysotnikov.wordpress.com/2008/05/08/execute-powershell-scripts-from-your-smartphone/
but I have not been able to get this to the run the script, only the transcript part seems to load. I have tried all suggestions but no luck.
Has anyone been able to do such a thing? or know how?

It is not PowerShell. It is VBA.  You need to post questions about VBA in the VBA forum.
¯\_(ツ)_/¯

Similar Messages

  • How can I uninstall Trend Micro Safe Surfing once the app has been deleted from my Mac OS X?

    How can I uninstall Trend Micro Safe Surfing once the app has been deleted from my Mac OS X?

    Check to see if there's such a folder as  either
    /Library/Application Support/Trend Micro
    ~/Library/Application Support/Trend Micro
    and if so, see if either contains an uninstaller.
    Failing that, download the demo version of the app from Trend Micro, and try the uninstaller that it should contain.
    If all else fails, the manual way would be to use something like EasyFind and search for anything with "com.trendmicro" in the filename (you can use Finder, but be sure to include system files and invisible files in the search options). Pay particular attention to the folders
    /Library/LaunchAgents
    /Library/LaunchDaemons
    ~/Library/LaunchAgents
    ~/Library/Internet Plug-Ins
    ~/Library/Preferences

  • HT4897 I have more than one iCloud account.... Once an email alias is deleted from one account.... can it then be used by another account?  If so, how long after it's deletion before it's made available?

    I have more than one iCloud account.... Once an email alias is deleted from one account.... can it then be used by another account?  If so, how long after it's deletion before it's made available?

    Aliases remain tied forever to the account which created them. They cannot be moved to another account, converted to a full account, nor reinstated after being deleted.

  • HT201320 How do set a password on my Email app preventing anyone from reading my email that picks up my phone?

    Is there a way to set a password on the email app to prevent anyone that picks up my phone from reading or accessing my email? 

    It's interesting that you don't have anything on your iPhone other than email that you wouldn't want a thief to see. And hiding the mail app won't stop the thief, anyway, because they can just use Spotlight search to find the app.

  • Powershell script to set custom attribute on mailuser returns WARNING: The command completed successfully but no settings of user have been modified.

    I am trying to write a script to enable a mailuser (I do know the difference between mailuser and mailbox) and set a custom attribute for that mailuser.  Every time I run the script I get "WARNING: The command completed successfully but no settings
    of <User DN> have been modified."  Both commands being invoked work when typed manually into the exchange management shell on the exchange server itself.  I am using the same administrator account in the script, and when I login to the
    exchange server to manually run the commands, so it shouldn't be a permission issue.  Here is my script so far.  If anyone can shed some light on what I'm doing wrong, I'd appreciate it.
    $excel = new-object -com excel.application
    $wb = $excel.workbooks.open("c:\temp\testmail8.xlsx")
    $ws = $wb.Worksheets.Item(1)
    $row = 1
    $s = New-PSSession -ConfigurationName microsoft.exchange -ConnectionUri http://<Exchange Server Name>/powershell -Credential [email protected]
    Do {
    $Email = $ws.Cells.Item($row, 1).Value()
    $Cat = $ws.Cells.Item($row, 2).Value()
    invoke-command -Session $s -ScriptBlock {Enable-MailUser -ExternalEmailAddress $($args[0][0] + "@domain.com") -Identity $($args[0][0])} -ArgumentList (,$Email, $Cat)
    invoke-command -Session $s -ScriptBlock {Set-MailUser -Identity $($args[0][0]) -CustomAttribute1 $($args[0][1])} -ArgumentList (,$Email, $Cat)
    $row++
         } While ($ws.Cells.Item($row,1).Value() -ne $null)
    $excel.quit    
    Exit-PSSession

    Hi,
    I'm not sure where is wrong in your script. If you want to get more help about the script troubleshooting, I recommand you to ask a question in Script Center forum for more professional answers:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    As a workaround, please directly create a mail user in EAC and set related custom attribute to have a try.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • PowerShell Script for Setting the Welcome Page View of a document set

    Hi,
    We are using document set in the document library and we have created the separate view in the document set and it will show only particular metadata columns. We need to change from default view to another view. For this, we need to write the power shell
    script and update the document set welcome page view link in the document set template. Please let me know how we can get this.
    Thanks,
    Mylsamy

    Hey Mylsamy,
    welcome page view is stored in $contenttype.XmlDocuments. Here is how you can change the view using powershell:
    $web = Get-SPWeb "WEBURL"
    $list = $web.Lists["LISTNAME"]
    $contenttype = $list.ContentTypes["CONTENTYPENAME"]
    $viewid = $list.Views["VIEWNAME"].Id
    $xmldocs = $contenttype.XmlDocuments
    foreach($xmldoc in $xmldocs)
    if($xmldoc.Contains("WelcomePageView"))
    Write-Host "XML contains WPV"
    $newview = [XML] @"
    <wpv:WelcomePageView xmlns:wpv="http://schemas.microsoft.com/office/documentsets/welcomepageview" ViewId="$viewid" />
    $xmldocs.Delete("http://schemas.microsoft.com/office/documentsets/welcomepageview")
    $xmldocs.Add($newview)
    break;
    $contenttype.Update($updateChildren, $false)
    Write-Host "Welcome Page View updated at " $list.Title
    Regards,
    Alexander 

  • PowerShell script to set VM static IP address - multiple subscriptions

    Hi,
    I have set successfully static IP Address to all of my virtual machines until now (1 subscription) using Set-AzureStaticVNetIP
    But now I have 2 Azure subscriptions. The virtual networks names are the same at both of the suscriptions.
    The question is:
    How to define the subscription to use when defining static IP addresses to VMs?
    Thanks in advance!

    Hi SCCMadmin09,
    Considering that you have successfully set static IP Address to all of your virtual machines until now for one of the subscriptions :
    Login to your Azure account with the command ; this time you should be entering your second subscription login credentials.
    Add-AzureAccount
      Add-AzureAccount
      :    This will open a windows login dialog that will allow you to enter your credentials of the second subscription.
      Now you need to find the name of the subscription you created your virtual machines under. The command is:
    Get-AzureSubscription
    The output will give the Azure subscription information
    Here in the example, Visual Studio Ultimate with MSDN a/c is used. The command to select this is:
    Select-AzureSubscription 
    : Select Azure Subscription: Enter your subscription name and then ENTER:
    Eg : Visual Studio Ultimate with MSDN
     At this point you are connected to your subscription and can begin to work with the virtual machines created under it.
    There are two parameters you will need to have:
    ServiceName
    = the name of your virtual machine. Example :
    DTechHST-Test01
    Name
    = the same name you entered as the ServiceName
    And finally the commands, there are three.
    Get-AzureVM -ServiceName <your_vm_name> -Name <your_vm_name>
     Set-AzureStaticVNetIP -IPAddress "<your_new_ip_address>"
     Update-AzureVM
     Unfortunately, entering these commands one at a time fails. They must be strung together via “pipes”.
    Get-AzureVM -ServiceName <your_vm_name> -Name <your_vm_name> | Set-AzureStaticVNetIP -IPAddress "<your_new_ip_address>"
    | Update-AzureVM
     As an example:
    Get-AzureVM -ServiceName HST-Test01 -Name HST-Test01 | Set-AzureStaticVNetIP -IPAddress "192.168.224.50"
    | Update-AzureVM
     In the event that you need to remove an assigned IP address, use the following command structure.
    Get-AzureVM -ServiceName 
    <your_vm_name> -Name <your_vm_name> | Remove-AzureStaticVNetIP | Update-AzureVM
    Hope this helps.
    Regards,
    Shirisha Paderu

  • I have installed mac keeper and they have identified issues? With my Mac. How can I check that my Mac is running at its optimum and is safe from viruses?

    I have installed mac keeper and it has initially found numerous issues? with my Mac. What can I do with the existing software to check that my mac is running at its optimum and get rid of these issues.

    By uninstalling mackeeper. That software is garbage and will cause more problems then good. Get rid of it immediately.

  • Powershell script to get a LIST OF ALL SITES ALONG WITH URL from a web application where we gave access to EVERYONE AD GROUP

    Hi,
    Any help on this?
    Thanks
    srabon

    i found one on the Codeplex, this will check Nt auth group, you have to modify accordingly your need and test it in your test farm.script is for 2010 but i am positive it will work for 2013 as well.
    The Sixth script lists
    all the site collections which have "NT AUTHORITY\authenticated users" in
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Is there any way to set up an Airport Extreme that had been previously used in a password protected network and the password was not provided by the seller ?

    Background -
    My original Airport Extreme Base Station failed (would not connect to the modem). I purchased a similar, if not identical base station on eBay. Unfortunately, the purchased base station apparently was used in a password protected network. For what it is worth, my son gave me a Netgear wireless router, but it leaves a lot to be desired. For one thing, I use to keep the cable modem in the basement along with the Airport base station, with a printer connected to the USB port. The Netgear device does not have a USB port and also requires that the computer (in this case, the eMac) used to set up the network be connected to one of the ethernet ports. This meant I had to move the cable modem and router into my bedroom, a very undesirable situation. It then occurred to me that the original Airport base station Wi-Fi function might still work, and tested this hypothesis and sure enough, the Wi-Fi function does indeed work I currently have both base stations powered on, with my printer connected to the original. Both base stations appear under my Network icon, but neither Airport Utility 5.4.2 or Airport Administrator Utility 4.2 see either base station. I can select the original base station as my network, connect to the printer or even my other computers, but as soon as I try to select the new one, it asks for the password. I would like to somehow reset this base station and then redefine the network name and encryption.

    I would suggest that you perform a "soft" reset on the AirPort Extreme Base Station (AEBS) that you just got from eBay. This type of reset will temporarily (5 minutes) disable both the base station and wireless security passwords so that you can access it with the AIrPort Utility to make the necessary changes.

  • I can not get the phone to turn back on. My email had been blinking off so I tried turning it off. After holding down top button and bottom button it the apple sign came up then went out as it has before when I have approached it this way. But now no go.

    My phone is dead it will not turn back on after taking a step I have used in the past when I have had issues with the phone. In the past I haeld the top button and the button on the face down and it will turn black then the apple sign comes up then off. I can then turn it back on and it seems to be reset and all is good not so today. It will not turn back on.

    1. Plug phone into AC adaptor and charge for at least 30 minutes
    2. If not on, reset phone: press both home and power buttons for at least 10 seconds, releasing when the Apple logo appears.
    If no reponse to above, there is hardware damage and you need to take it to Apple or whoever provides iPhone service in your country.

  • How can I authorize deauthorized songs in my itunes once an account has been deactivated? all?

    My partner and I shared the same itunes with different accounts. since we are no longer together she has cancelled her account so now some songs don't play. Is there a way to find every song on my itunes that has been deauthorized and authorize all at once? I'm aware there will be a cost through itunes store. It's driving me crazy finding these deauthorized songs.
    Thank you in advance if you can help.
    Shane

    I am not sure of a easy way - you can sort by 'Kind' - then 'Get info' - in the get info summary tab is the name of account holder that purchased the tune.
    You can then tag the item using the notes box and again sort using notes to see which purchases are not yours.
    MJ

  • Turned Match off and songs that had been deleted from my hard drive (but NOT deleted from my library) disappeared - how can I get those songs to reappear in my library without manually re-adding the matched files that I had deleted from my hard drive?

    I was trying to turn off iTunes Match on my iPhone and first turned Match off on my MacBook rather than on my iPhone (which was wrong, I should have just turned it off on the iPhone).  I had ~28,000 songs in my library when I turned off iTunes Match; I had deleted ~8,000 of those files from my laptop (which I backed up on a portable hard disk) but I left the deleted files in my library, so that I could play them through iTunes Match.  One of the benefits of Match, right?  Saving hard drive space.  So I turned off iTunes Match on my MacBook thinking that was how to turn it off on the iPhone (it wasn't), and when I turned Match back on, those ~8,000 songs were not in my library.  I tried to update Match several times but can't seem to get the songs back.  I know they are still in the cloud somewhere though, because if Match restarted then it would match/upload all of my remaining ~20,000 songs - but it hasn't, I still have thousands of "exceeded limit" songs.  Anyone know how I can get those songs back?

    "One of the benefits of Match, right?  Saving hard drive space."
    I would not use iTunes Match as a backup. There are too many bugs and I don't think that's what they intended it to be anyway. The main advantage of using it is to make your music available on OTHER devices, not to replace the music on your original computer.

  • How can I restore my iphone back to factory reset after it has been disabled from trying so many times to unlocked with the wrong passcode?

    My son had place a passcode and don't remember it and he try so many times to unlocked the phone but since he did it so many times and it was the wrong passcode the phone now is disabled, How can I get it to work again?

    Well, the level of pain you are about to experience will hinge on what level of backup you have of the phone. If none, you will soon have a blank, from-factory phone you will have to reconfigure from scratch.
    Read here: http://support.apple.com/kb/HT1212

  • HT4061 can't get into my ipad, enter passcode. I never had a passcode from day one

    I can not get into my iPad. The iPad is saying Enter Passcode. I thought they ment my Password so I tried meny times then it kiked me out. I never did have a Passcode at anytime.

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

Maybe you are looking for

  • IPhone won't activate after "auto" reset

    Hi, I went to bed at 10:30pm last night, set my iPhone alarm for 05:30am this morning, dimmed my brightness to its lowest setting (as I always do, so I don't get blinded when I check the time during the night) and then left my phone beside my bed. Th

  • Browser Issue

    Hi Team ,             Trying to access the POrtal brwser its throwing an error saying Error : The Web Dynpro Application 'PageBuilder' has expired. Restart the application using the Refresh button or via the following link PageBuilder.   Details: Tha

  • Where can i find the multimedia touch screen software for ideapad-s10-3t

    i have and ideapad-s10-3t and i had to format it but now im looking for all the software from lenovo that came with it like the multimedia that work with the touchscreen i alredy finde the  directshare veryface verytouth 

  • (8I) COLLECTION TYPE 변경 방법

    제품 : SQL*PLUS 작성날짜 : 1999-05-12 COLLECTION TYPE 변경 방법 ========================= collection type은 attribute나 column의 데이타 타입으로 사용된다. 이전에 정의한 collection type의 property를 변경해야 하는 경우가 종종 발생하게 되는데 그 작업이 간단하지 않다. ALTER TYPE문은 spec이나 body를 재컴파일하거나, member를 추가

  • Custom VK31 Tree for pricing conditions

    Hi All, When VK31 transaction code is accessed, I get a menu tree as follows, Prices Discount / Surcharges Freight Taxes Conditions For each of these Components, there is one access sequence assigned, i.e., Prices - Material Price - Price List - Indi