Script for removing color definitions

I'm trying to create a script that will remove color definitions other than the default plus our corporate colors. I'm thinking some kind of "while" loop to go through the doc's color list, matching it to an array of named colors.
I see that there is a Color object and methods such as Delete(), but it's not coming together for me.
Any help would be appreciated.

Finally able to get back to this project.
Thanks for this snippet which does work great for removing a single "known" color. What I actually need to do is remove all colors except a specified list.
I've made an attempt (I'm sill relatively new to JS programming), but it only deletes the first instance instead of iterating through all the color definitions:
doc = app.ActiveDoc   //getting the active doc
col  = doc.FirstColorInDoc   //getting the first color in doc
keepColors = new Array ("Black","White","Red","Green","Blue","Cyan","Magenta","Yellow","Dark Grey","Pale Green","Forest Green","Royal Blue","Olive","Salmon","Mauve","Light Salmon","Custom Color");
while (col.ObjectValid() )  //checking if the color object is valid
    if (col.Name in (keepColors))  //color exists
       break
else {
col.Delete()  //delete color
col = col.NextColorInDoc

Similar Messages

  • I am new to scripting & I need Script for Document color mode

    Hi,
    Please help me to create a script which should find the Document color mode. I am new to scripting. And please let me know how to use the same.
    Balaji

    Are you using the Extendscript Toolkit Editor (ESTK)? In the Help menu you can find all the properties for Document that can be queried/changed.
    (Personally, I don't use ESTK, because I really really hate it. But I don't want to miss the Help, so I made my own version. I have Illustrator CS4, and it's possible your version doesn't have this, but under Document I find:
    documentColorSpace
    DocumentColorSpace:
    DocumentColorSpace.RGB
    DocumentColorSpace.CMYK
    readonly
    The color space used for the document.
    For the how-to-use I glady refer you to Adobe's own Starting With Scripting guides.)

  • Script for removing duplicates in Mail

    I have thousands of saved messages, of which a great many are dupllicates. I have been able to eliminate many of them using the script provided by Andreas Amann http://homepage.mac.com/aamann/, but large numbers of others resist the script because they are not "quite" identical. For example, if one looks in the .emix files, one may find that one has charset="iso-8859-1" and the other has charset=iso-8859-1 without quotation marks. No simple script is going to catch things like that.
    I don't know the cause, but one problem is that I often receive an inbox item from the Exchange server that can't be read: the message appears in the viewer, but won't open. Then, seconds or minutes later, a valid version will pop up and, perhaps, the bad one will disappear. However, I have a rule that automatically copies inbox messages to a local folder. As a result, I have two items in that folder (both of which, by the way, I can usually read). Over time, this means thousands of duplicates.
    Another symptom for at least some of the duplicates is that what appear to be duplicates appear in the viewer with variations of my name, such as John Smith in one and Smith, John in the other. I can imagine that this is due to message-handling protocols in my company's Exchange-based system, but actually have no clue. Further, not everyone in the company that uses Mail seems to have this problem.
    Ideas?
    P.S., why can't Apple have a Remove Duplicates feature, as it does in Address Book?

    I've written a script called DeDuper which can help remove unwanted duplicates. See this thread for background. I can't necessarily claim it is the best, but it is certainly free.
    I have another script called FindTracks which attempts to do just that.
    tt2

  • Powershell script for removing some users from a particular Site Collection

    Hi,
    I am looking for a PowerShell script to delete a few users from a particular Site Collection. I am unable to delete them from/_catalogs/Users/simple.aspx page therefore need some other medium to
    delete users from the site collection.
    My ultimate aim is to have no user profile with "tp_deleted" field's value as 0 in the USERINFO table. Currently there are about 40 odd users with this field's value as 0 and this is affecting my crawling of this content database.

    Thanks for the reply Alex & eHaze,
    I have a content source of root site which crawls all the site collections under it. Out of the 9 site collections, only 8 are getting crawled and 1 doesn't get crawled at all. The error in the crawl logs is 
    The SharePoint item being crawled returned an error when requesting data from the web service. ( Error from SharePoint site: Value does not fall within the expected range. )
    I tried a lot of things, searched over the net and finally found
    this which helped me solve the same issue in my development environment. I deleted these users from userInfo table and ran a full crawl. And the issue was fixed.
    Now since I cannot delete the users from userInfo table directly from PROD environment, I used .../_catalogs/Users/simple.aspx list
    to delete users from this site collection. While some of the users I could delete, quite a few I could not. Clicking on the profile redirected me to the home page rather than the info page of the profile. 
    This
    is why I have to delete these users from the site collection.
    Alex - the link you shared, I guess it is for a web application level.
    eHaze - the script you shared throws this error:
    Get-SPSite : Cannot find an SPSite object with Id or Url: http://dev-apps/divisions/BT. At C:\PowerShell Scripts\DeleteUserFromSiteCollection1.ps1:4 char:19
    + $site = get-spsite <<<< $siteURL
    + CategoryInfo : InvalidData: (Microsoft.Share...SPCmdletGetSite:
    SPCmdletGetSite) [Get-SPSite], SPCmdletPipeBindException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletGetSite
    You cannot call a method on a null-valued expression.
    At C:\PowerShell Scripts\DeleteUserFromSiteCollection1.ps1:9 char:27
    + $site.SiteUsers.Remove <<<< ($LoginName)
    + CategoryInfo : InvalidOperation: (Remove:String) [], RuntimeExc
    eption
    + FullyQualifiedErrorId : InvokeMethodOnNull
    hope this info helps.

  • Need a Script for Removing User Profiles in Windows 7

    I am in need of a script that will allow me to remotely delete user profiles from multiple computers. I am an IT Admin over around 15-20 computers that are publicly used by many different people each day, and at least once a month we have to go into each
    computer individually..my computer, properties, profiles and delete them one by one. This is growing very tedious due to manpower and the number of computers we have to do this on. 
    I have absolutely zero knowledge in the scripting department so could somebody point me in the right direction on this? I would like to have a script that i can just run once a month or so and say "delete all profiles from computers x y and z that are
    over a few months old." Is this possible? Thanks in advance!

    Try this link - http://superuser.com/questions/643417/delete-user-profile-from-command-line-windows-7
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/7663ea51-9f4e-4fd7-9946-e16e65c3ed9d/remove-windows-7-user-profiles-via-powershell-script-initiated-on-logoff?forum=ITCG
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Looking for a "color pass filter"..Remove all colors but 1

    Looking for a "color pass filter"..Remove all colors but 1 or 2.
    FCP6 doesn't seem to have one.
    Anyone heard of one that works really well & that is fast to use?
    steve

    Jim,
    You are totally missing the point. I am an Adobe Premiere Pro instructor. I have been for 5 years. I added my 1st FCP system 2 weeks ago & am experiencing typical transitional curiosities as all who switch to other platforms & editing apps do.
    PP has a color pass filter. I was curious to see if FCP did. That sounds logical to me:) If posting the question about the possibility of there being a color pass plugin bothers you, well , that has to do with you.
    If you take a moment to read the prior correspondence, you might see my point.
    I think we can bury the hatchet now:)

  • Scripts for setting mail message colors quickly

    I've been frustrated at how difficult it is to set the color of a message subject etc in a mailbox. Sometimes applying a color would work, sometimes not, and many clicks required. Finally I wrote a simple script that appears in the Finder's Scripts menu, which applies a particular color to all emails that are selected. I made one version for each color I use (I use these to keep track of emails that are useful references, or that require some action, etc.) I added a leading space to the script names so they would appear at the top of the scripts menu. I wish I could connect them to buttons in the Mail window, but don't know a way to do that, and this is nearly as conveniet.
    Here's one of the scripts. Colors can be none, red, orange, blue, gray, green, purple, yellow:
    tell application "Mail"
    set selectedMessages to selection
    set nm to count of selectedMessages
    if (nm) is equal to 0 then
    display alert "No Messages Selected" message "Select the message(s) you want to color red before running this script."
    else
    repeat with nn from 1 to nm by 1
    set theMessage to item nn of selectedMessages
    set the background color of theMessage to red
    end repeat
    end if
    end tell

    HI Disha
    Check out these links. They will surely help
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    If you find this answer useful, please reward me for the same.
    Good luck
    Karthik Potharaju

  • Using a script to automate UNC definition updates for FEP 2010

    Hi all,
    I tested the script mentioned in this article
    http://blogs.technet.com/b/clientsecurity/archive/2010/09/16/using-a-script-to-automate-unc-definition-updates.aspx with no success. I am getting the following error:
    Line: 11
    Char: 5
    Error: The operation timed out
    Code: 80072EE2
    Source: WinHttp.WinHttpRequest
    the script content is as follows:
    strMSEx86URL = "http://go.microsoft.com/fwlink/?LinkID=121721&clcid=0x409&arch=x86"
    strMSEx86Location = "D:\defs\Updates\x86\mpam-fe.exe" 
    strNISX86URL = "http://go.microsoft.com/fwlink/?LinkId=197095" 
    strNISX86Location = "D:\defs\Updates\x86\nis_full.exe" 
    strMSEx64URL = "http://go.microsoft.com/fwlink/?LinkID=121721&clcid=0x409&arch=x64" 
    strMSEx64Location = "D:\defs\Updates\x64\mpam-fe.exe" 
    strNISX64URL = "http://go.microsoft.com/fwlink/?LinkId=197094" 
    strNISX64Location = "D:\defs\Updates\x64\nis_full.exe"
    Set objWINHTTP = CreateObject("WinHttp.WinHttpRequest.5.1")  
        objWINHTTP.open "GET", strMSEx86URL, false  
        objWINHTTP.send
    If objWINHTTP.Status = 200 Then
    Set objADOStream = CreateObject("ADODB.Stream")
       objADOStream.Open
      objADOStream.Type = 1 'adTypeBinary
    objADOStream.Write objWINHTTP.ResponseBody
    objADOStream.Position = 0 'Set the stream position to the Start
    Set objFSO = Createobject("Scripting.FileSystemObject") 
        'check if file exists if so delete 
        If objFSO.Fileexists(strMSEx86Location) Then objFSO.DeleteFile strMSEx86Location
    objADOStream.SaveToFile strMSEx86Location 
    objADOStream.Close
    end if
    Anybody can help?

    This is the script that I use and it works:
    strMSEx86URL = "http://go.microsoft.com/fwlink/?LinkID=121721&clcid=0x409&arch=x86" 
    strMSEx86Location = "C:\defs\Updates\x86\mpam-fe.exe" 
    strNISX86URL = "http://download.microsoft.com/download/DefinitionUpdates/x86/nis_full.exe" 
    strNISX86Location = "C:\defs\Updates\x86\nis_full.exe" 
    strMSEx64URL = "http://go.microsoft.com/fwlink/?LinkID=121721&clcid=0x409&arch=x64" 
    strMSEx64Location = "C:\defs\Updates\x64\mpam-fe.exe" 
    strNISX64URL = "http://download.microsoft.com/download/DefinitionUpdates/amd64/nis_full.exe" 
    strNISX64Location = "C:\defs\Updates\x64\nis_full.exe"
    Set objWINHTTP = CreateObject("WinHttp.WinHttpRequest.5.1")  
        objWINHTTP.open "GET", strMSEx86URL, false  
        objWINHTTP.send
    If objWINHTTP.Status = 200 Then 
    Set objADOStream = CreateObject("ADODB.Stream") 
        objADOStream.Open 
        objADOStream.Type = 1 'adTypeBinary 
        objADOStream.Write objWINHTTP.ResponseBody 
        objADOStream.Position = 0 'Set the stream position to
    Set objFSO = Createobject("Scripting.FileSystemObject") 
        'check if file exists if so delete 
        If objFSO.Fileexists(strMSEx86Location) Then objFSO.DeleteFile(strMSEx86Location)
    objADOStream.SaveToFile strMSEx86Location 
    objADOStream.Close
    End IF
    Set objWINHTTP = CreateObject("WinHttp.WinHttpRequest.5.1")  
        objWINHTTP.open "GET", strNISx86URL, false  
        objWINHTTP.send
    If objWINHTTP.Status = 200 Then 
    Set objADOStream = CreateObject("ADODB.Stream") 
        objADOStream.Open 
        objADOStream.Type = 1 'adTypeBinary 
        objADOStream.Write objWINHTTP.ResponseBody 
        objADOStream.Position = 0 'Set the stream position to
    Set objFSO = Createobject("Scripting.FileSystemObject") 
        'check if file exists if so delete 
        If objFSO.Fileexists(strNISx86Location) Then objFSO.DeleteFile (strNISx86Location)
    objADOStream.SaveToFile strNISx86Location 
    objADOStream.Close
    END IF
    Set objWINHTTP = CreateObject("WinHttp.WinHttpRequest.5.1")  
        objWINHTTP.open "GET", strNISx64URL, false  
        objWINHTTP.send
    If objWINHTTP.Status = 200 Then 
    Set objADOStream = CreateObject("ADODB.Stream") 
        objADOStream.Open 
        objADOStream.Type = 1 'adTypeBinary 
        objADOStream.Write objWINHTTP.ResponseBody 
        objADOStream.Position = 0 'Set the stream position to
    Set objFSO = Createobject("Scripting.FileSystemObject") 
        'check if file exists if so delete 
        If objFSO.Fileexists(strNISx64Location) Then objFSO.DeleteFile (strNISx64Location)
    objADOStream.SaveToFile strNISx64Location 
    objADOStream.Close
    END IF
    Set objWINHTTP = CreateObject("WinHttp.WinHttpRequest.5.1")  
        objWINHTTP.open "GET", strMSEx64URL, false  
        objWINHTTP.send
    If objWINHTTP.Status = 200 Then 
    Set objADOStream = CreateObject("ADODB.Stream") 
        objADOStream.Open 
        objADOStream.Type = 1 'adTypeBinary 
        objADOStream.Write objWINHTTP.ResponseBody 
        objADOStream.Position = 0 'Set the stream position to
    Set objFSO = Createobject("Scripting.FileSystemObject") 
        'check if file exists if so delete 
        If objFSO.Fileexists(strMSEx64Location) Then objFSO.DeleteFile(strMSEx64Location)
    objADOStream.SaveToFile strMSEx64Location 
    objADOStream.Close
    END IF

  • The following install step failed: run preupgrade script for AppleMobileDeviceSupport. Contact the software manufacturer for assistance.

    Just upgraded software. When system prompts to update itunes and in the middle of the system's attempt to complete the upgrade, the message, "The following install step failed: run preupgrade script for AppleMobileDeviceSupport. Contact the software manufacturer for assistance" appears.
    I don't understand what "preupgrade" needs to be done.
    Anyone else experience this?
    Suggestions?

    -= Pre Upgrade Script Error with iTunes =-
    Do a general web search and you will discover there are many answers, none definitive.
    iTunes: How to remove and reinstall the Apple Mobile Device Service on Mac OS X 10.6.8 or Earlier - http://support.apple.com/kb/ht1747
    scarier:
    https://discussions.apple.com/message/10464515#10464515

  • The following install step failed: run preupgrade script for AirPortUtility. I have been getting this error whenever I try to do a software update on anything.

    Each time I try to run a software update... I am getting these error messages so I am never able to upate.
    The following install step failed: run preupgrade script for AirPortUtility

    =Pre Upgrade Script Error with iTunes=
    Do a general web search and you will discover there are many answers, none definitive.
    iTunes: How to remove and reinstall the Apple Mobile Device Service on Mac OS X 10.6.8 or Earlier - http://support.apple.com/kb/ht1747
    scarier:
    https://discussions.apple.com/message/10464515#10464515

  • How do I remove colors from the Tools Palette

    Hi,
    I recently defined two custom colors (blue and green) that were required for our brand representation (I am using Unstructured FM 8). I used the RGB values that Marketing provided to obtain these colors. For some reason, I now have the entire RGB blue and green libraries displayed in my Set Color option of the Tools Palette.
    Is there a way to remove these standard RGB libraries while keeping my custom color definitions?
    Thank you,
    Miruna

    the »Indexed color efficiencies« came from way back when the Net was a number of very thin electronic pipes connected to each other.
    You're replying to someone who recalls full page 300 dpi TIFFs taking 30 minutes just to display for text overlay in Frame 3.1.
    It is a long time I heard someone complaining about image files larger than 32k. but of course, FrameMaker should handle them OK!
    Frame handles large images with ease. I've generated PostScript files of 1GB. The issue is what size PDF they distill to.
    We render to PDF at the same resolutions for both publishing and web (200 dpi contone, 600 bitmap). Multiple dozen large images can easily make a final document PDF that is too large for practical web use. Our general rule is that if a single image adds more than 250 KB to the final PDF,  we take steps.
    I often have to deal with dense vector objects that are well over 5MB as raw  EPS. I routinely save a convenience browsing PDF of each image, and if it's over 250K, the image gets attention.
    For B&W line art, flattening to 600 dpi dithered bitmap in Photoshop usually suffices, but rasterizing to contone does not, because our workflow passes 600 dpi "bitmap", but subsamples "color" and "gray" to 200 dpi.
    I had this one vector-overload externally sourced image where I needed just a touch of one color. I was hoping that indexed color (e.g. GIF) might be the solution, but Distiller downsampled it anyway. Some of the indexed color tests, as I recall, but cannot now re-create, also polluted the color pallete.
    The work-around, in case anyone else has the same requirement (hi-res bitmap with color), was:
    Open the .ai file in PhotoShop, 600 dpi gray.
    Convert to bitmap, 600 dpi, diffusion dither.
    Save as .tif.
    Open the original .ai in Illustrator.
    Isolate the color elements to the top layer.
    Open the .tif bitmap in Illustrator.
    Copy the bitmap into a new bottom layer.
    Align the bitmap with the vector B&W layers of the same content.
    Turn off the vector B&W layers.
    Save the .ai.
    Flatten and save as .eps.
    This survives distiller, and provides a bitmap with color.
    Don't forget to redact the metadata. It can add MBs all by itself.

  • Display color problem - asking for a color solution

    So I have this serious problem with my Macbook Pro.
    Some months ago I suddenly saw green colors in black area's and pink line colors in white areas.
    Text on white background was extremely frustrating to read, since it was surrounded with small pink lines and flickering.
    Note this was only near max white and max black areas of the screen.
    I found out that it was due to a hardware failure, since slightly bending the laptop (!!) would remove the problem
    Attaching an external monitor doesn't show the defect, and booting in Windows 7 (bootcamp) still shows the same screen problem.
    Searching the web, it appears that it was a NVidia related heat problem, known to my model, but the offer to get it fixed for free by apple (since it was a known issue) had already run out december 2012 (!!). I think my laptop is about 3-4 years old, and the battery pretty much died on me the first year, probably due to heavy usage and the graphic card getting too hot. There are small sweat/corosion marks of where my hand are placed when typing, on the aluminium, due to how hot my laptop got. It sometimes got so hot I couldn't touch the aluminium on the top left corner near the 1-2-Q-W keys.
    Fixing my Macbook is too expensive. Just getting someone to look at it to diagnose it (without repairing it), costs a lot in my country, and we have no official apple store, only authorized resellers. I know it's probably the motherboard, because I tried to unscrew the backlid and gently touch certain area's on the motherboard with a pen, while the computer was still running, to find out where the short circuit was. I only started this kind of trying to "self service" it, because I knew how expensive replacing the motherboard would be (if that was even the issue?).
    I have multiple times tried to place something up against the sensitive area's on the motherboard, and then screw back the backlid, to put some pressure on it, which at first worked brilliantly and removed the color issue for some weeks, before it started reappearing. I think the heat from the laptop slowly makes the motherboard adapt, and the problem returns. Extremely frustrating indeed.
    I hope I can one day afford a Macbook Air, but until then, I don't want to throw more money after my poor macbook (which I pronbably can't sell anyway, like previous mac's I've owned, the day get a new. It's too worn out + battery got only 5min on a full charge).
    I think it's wisest to rather save the money for a Macbook Air, and try to survive until then. Therefor I was hoping someone could help me with a temporary solution.
    In Windows 7, using the Nvidia Control Panel to apply color management, I was able to adjust the individual color output values, and thereby remove the the screen issue! Maybe the colors are not as good anymore, but it sure beats not getting a headache after 10minutes trying to read an article.
    I tried the same thing on the mac, using Preferences>Displays>Color>Calibrate, but this guide is much harder to use to get a decent result (since only the last 2 options really makes a difference, but changes the colors completely, which I can't change by going back to the first color settings since then it just undos the last step I just did. I'm currently writing this with a very blue pale screen.
    I also tried to use ColorSync Utility, expecting to enter values manually, but contrary to the articles I read about using ColorSync, I cannot edit the values in the color profile I created (I can only change the ASCII text input fields). Trying to save the profile gives me the error 'The Document "screenbug.icc" could not be saved.'
    I tried to look for alternative color calibration software, but most of them required hardware, or expensive full version to unlock the settings I needed (like SuperCal).
    I hope some tech savy users out there that can help me, or at least make my life with my macbook less of a pain.
    All help is much appreciated!!
    PS: I've been a loyal Mac user since always. Few things I've learned is:
    1) Don't buy the first version of new hardware. Wait about a month for reviews, to check for issues. I had a problem with an expensive MacPro that had to be replaced, but luckily for free since it was Apple's mistake. Sometimes Apple products also get minor internal changes/fixes without announcements, to help solve reported issues from early buyers.
    3) Take care of you Mac, especially so because you can often sell your used Mac's for quite a value the day you want to upgrade. I've sold about 3 Mac's in my lifetime, for quite a gain, though I don't expect this macbook to do as well, if at all. But it's normally something to be cautious about.
    3) Don't order custom configurations from the Apple Store, if you can live without it (+ it's usually crazy overprices). I payed extra to get the NVidia GeForce 9600M, and was happy with it for the first couple of years, but is now causing me all the problems I have today + made my Macbook worthless.
    Stick with what the default configuration if possible, as other configurations might not have been tested carefully.

    Who exactly is your comment "I am asking you to fix this problem soon" directed at?
    Remember that you are posting on a user to user forum so nobody can really help you.  If you want to give feedback to Apple, then contact them directly at http://www.apple.com/feedback.
    Also, if you have an iPhone 3G and iOS 4.2.1 is the latest software that you can install on your phone, then there is absolutely nothing that anyone can do to fix the problem if you want to install Skype that requires iOS 4.3 - what do you think anyone can magically do?
    iPhone 3G is a very old phone now and if you want to install Skype on your phone, then you need to go out and buy a new iPhone - either a 4s or a 5.  Nothing more to it.  Buy a new phone.

  • Using Echo Command in PowerShell Script for Configuration Item

    Hello All,
    Before you tell me to post my PowerShell question to the PowerShell Forum, please know that the PowerShell portion of my task works just fine. It is the SCCM portion of my task that keeps failing, so that is why I am here. To give some background...
    There are two servers in our SCCM test environment. Both the SCCM server and SQL DB server are 2012, patched and updated.
    Test servers in my Device Collection being used for running Baselines and Reports against are 2008R2 and 2012, patched and updated.
    I have created a Configuration Item that checks to see if the FTP Server Role Feature has been installed on a 2008 or 2012 server. To do the check, I am using the following PowerShell script:
    (get-windowsfeature -Name Web-Ftp-Server).Installed
    When I log into my 2008R2 and 2012 test servers, and run this command directly on the server, it will return a "True" if the FTP Server Role Feature is installed on either server, and a "False" if it is not installed. Basically,
    it works as advertised.
    When I setup my Configuration Item and then deploy my Baseline, or run a report against my device collection of test servers, SCCM will return a correct response (True or False) for the 2012 test server, but throws the following error for the 2008R2
    server:
    0x87df00329 application requirement evaluation or detection failed
    Google searches for this have not been very helpful.
    Now, when I created the Configuration Item and referenced PowerShell, the configuration screen has the following note:
    "Specify the script to find and return the value to be assessed for compliance on client devices. Use the echo command to return the script value to Configuration Manager."
    Since I did not include an echo command in my PowerShell script above, I figured that was my problem, so I did the following:
    Logging onto both of my test servers (2008R2 & 2012) I was able to successfully run the following PowerShell commands and get the expected responses of True or False:
    (get-windowsfeature -Name Web-Ftp-Server).Installed | echo
    (get-windowsfeature -Name Web-Ftp-Server).Installed | write-output (http://technet.microsoft.com/en-us/library/hh849921.aspx)
    (get-windowsfeature -Name Web-Ftp-Server).Installed | write-host (http://technet.microsoft.com/en-us/library/ee177031.aspx)
    However, when I use any of these PowerShell commands in my Configuration Item, NEITHER of my test servers returns a response to the SCCM server.
    When I check the report, both servers show as "Unknown" and when I click on the number 2 (as in 2 servers unknown), the following report page (List of unknown assets for a configuration baseline) has absolutely no data/information at all.
    So...I am at a loss.
    SCCM tells me to use an echo command to return a script value to Configuration Manager. The PowerShell scripts above, with the various echo related commands, work just fine on the servers themselves, but they return no information when run via SCCM.
    What am I missing?
    Any help will be appreciated.
    Thanks in advance for your time.

    Sorry for my ignorance, but I don't understand. (I forgot to mention that I am new at both PowerShell and SCCM.)
    After I change the PowerShell script to add the echo/write-output/write-host cmdlet, I open the ConFig Item and "Clear" the PowerShell script and then re-add it. When I do that, it correctly shows the change in the ConFig Item.
    Next I open the Baseline, then open the ConFig Item within the Baseline to make sure the change is reflected there as well, which it is.
    I then deploy the Baseline to my Device Collection. After that, I run a report against the Baseline and Device Collection and it returns the "Unknown" result.
    If I open the PowerShell script and remove the echo/write-output/write-host cmdlet, then go through the rest of the process of updating and reporting, the result it returns changes, showing one server in compliance and the other server out of compliance,
    which leads me to think that all changes have taken correctly.
    Does that sound right? If I manually deploy the Baseline, is that the same as the client retrieving policies from the management point?
    Sorry to be so thick but I'm learning as I go.
    Thanks again for your help.

  • How can i search for a color that is not in the color palette? (CS 5.5)

    I have a client, that has used a certain color in a series of textfields throughout the document.
    The color consists of all 4 CMYK colors and needs to be just Keycolor. However the color is not in the swatches menu, so marking it there and changing it won't work. I have downloaded a script that might have worked, but it could only find colors that were in the swatches palette. (Find / Change by Color / Overprint" version 1.2).
    Ofcourse, creating a similar color and adding it to the swatches doesn't work.
    Is there anyway that i can search for the color or does it really have to be done manually.
    Best regards

    You can only search for real, actually existing swatches. No sweat: use "Add Unnamed Colors" in the Swatch panel dropdown menu to get a list of all of the manually applied colors.
    Since you want to change all of them to the same color, you don't even have to use Search/Replace. Simply delete the new colors and select the one you need in the "Replace With" dialog that appears.

  • How can I set up a keyboard shortcut for 'Remove Tween' in Flash Pro CC 2014?

    I'm trying to set this up, as I have in previous versions of Flash, but the 'Remove Tween' command (among other commands) is not available in the Keyboard Shortcut window.
    Is there some other way to add this shortcut?
    Thanks,
    George

    I don't think this had a keyboard shortcut even before (checked in CS6). There's an alternative though.
    1. Create a JSFL file with following code and save it in the commands folder as 'Remove Tween'.
         fl.getDocumentDOM().getTimeline().setFrameProperty('tweenType', 'none');
    2. Now goto Edit Menu > Keyboard Shortcuts..
    3. Search for 'Remove Tween' and assign a keyboard shortcut to it.
    Now everytime you press the assigned key - jsfl script is executed which essentially removes the tween from selected frame. (works for Classic and Shape tween but not Motion Tweens)

Maybe you are looking for

  • Error in Portal when checking MSS role, Help me how to solve?

    In portal when I click on MSS I am getting an error like... Portal Runtime Error An exception occurred while processing a request for : iView : pcd:portal_content/com.sap.pct/line_manager/com.sap.pct.erp.mss.bp_folder/com.sap.pct.erp.mss.roles/com.sa

  • Regarding material in transit

    hi all, wht is the database table that has the invoice number of materials in transit. ( while transferring from plant to plant??) Edited by: Radhika on May 9, 2009 10:57 AM

  • Adobe Reader does not open any PDF when double clicked/hit enter once.

    Adobe Reader 11 does not open when I double click/hit enter on a PDF document. I need to hit enter multiple times to open a document once. This ends up creating multiple AcroRd32.exe. It's very annoying that I need to hit enter multiple times even to

  • How come the nano has a fm tuner and the touch does not?

    I would really love to have a FM radio tuner for my ipod touch so I can listen to te radio insted of listening to my downloaded music.

  • Packaging an EAR file

    Where can I find documentation on how to properly package an application (with web and EJB components) into an EAR file for deployment on wls 6.1. I know there are probably more than a few ways to do this, but would like to know the general recommend