Browse Forum Posts by Tags

Showing related tags and posts for the Ask the Experts group. See all tags in the site
  • How to Remove Custom SMTP Address

    Team, I need help with a quick one hopefully someone can help i have a custom address in email address that is NUMERIC:000000 it is for voicemail. I am trying to remove the custom attribute from emc but to no evail the only thing i can remove are the SMTP address. Any one have any ideas on how to remove...
    Posted to PowerShell for Exchange (Forum) by gelmera on 07-29-2012
    Filed under: Exchange, powershell, exchange 2010, how to remove domainname for one user from exchange server 2010, activedirectory
  • Stuck trying to Multithread Power Shell Script.

    Hey Guys, I am stuck on my script while trying to get it to multi thread. As we have many servers we want to make sure that we can process our log files in a timely manner. The script works perfectly when I do not try to have it open up many threads. I have read about and borrowed code from http://ryan...
    Posted to Ask Don and Jeff (Forum) by Vampire1812 on 08-07-2012
    Filed under: Powershell, Loop, Multiple Thread, Start-Job
  • How would I use get-itemproperty remotely?

    I have a foreach loop. And what I want to do is get a reg key value from each server in that loop. I have something like this: $serverlist = get-exchangeserver blah blah foreach ($server in $serverlist){ get-itemproperty -path "hklm:\..\.." } However im returning the value for only the computer...
    Posted to PowerShell for Exchange (Forum) by jwhite on 08-08-2012
    Filed under: remoting, script block, remote, powershell, exchange 2010, Powershell command:
  • Delete Exchange 2003 mailbox with powershell

    Hi, my company has a few Exchange 2003 servers which contains a few thousand old users with mailboxes. My problem is how to delete these mailboxes since there are no powershell extention for exchange 2003 as far as i know. I've already made a script to list out all the old users so i have samaccount...
    Posted to PowerShell for Exchange (Forum) by eXhaLe on 08-09-2012
    Filed under: powershell, exchange 2003
  • I have bitten off more than I can chew and can't see the forest for the trees...HELP!!!

    I have written the following script but each fix I do breaks 2 other things. For instance I am loading variable data to an .xlsx and it errored that the object was not a string. So I added .ToString method and it now says my passed variable ($computer) loaded using the Get-Content cmdlet is null! Prior...
    Posted to Ask Don and Jeff (Forum) by Oseis on 08-21-2012
    Filed under: PS Remoting, WMI, Remote PowerShell, Powershell, string formatting, script, $env:, Excel, powershell excel
  • Passing credentials with system.Net.WebClient?

    So I'm trying to validate connectivity to a website in my local environment. Using the blog: http://learn-powershell.net/2011/02/11/using-powershell-to-query-web-site-information/. I'm using the following code: Function webtest { $web = New-Object system.Net.WebClient Try{ $web.Downloadstring...
    Posted to PowerShell for Windows (Forum) by jwhite on 08-29-2012
    Filed under: powershell, password, command
  • Setting power plan after import with PowerShell

    I am in the process of writing a script to configure a number of settings on Conference Room PC's. Using powercfg.exe I am able to import the correct power scheme. The problem I am having it with actually setting it. The GUID is differemt each time you import it. This is what i have so far: #Import...
    Posted to PowerShell General (Forum) by gestenta on 09-05-2012
    Filed under: Powershell, power settings
  • -replace will only work with "string", but not with $variable

    Hi, I'm trying to read some replacement rules from a file (separated by "|") and use them on a given Text... $inputText = [system.IO.File]::ReadAllText("input.txt") $regex = Get-Content "changes.txt" -ReadCount 0 foreach($expression in $regex) { if ($expression -eq 'EOF'...
    Posted to PowerShell for Windows (Forum) by Daniela.M on 09-13-2012
    Filed under: powershell, Variable, file, newline, end of line, regular expression, string, replace
  • Set-Acl Access denied

    Hy all I created a powershellscript, which delete folder permissions and set new ones on the userprofile folder, which is stored on a fileserver. The permissions of the user are not inherited, they are directly set on it. The script works fine as long the flag "Inlcude inheritable permissions from...
    Posted to PowerShell General (Forum) by Patrik on 09-21-2012
    Filed under: Powershell, error
  • Re: Script to map properties in userprofile

    In Sharepoint 2010 Userprofile service, i have created one custom property say xxx of type string. By default there is another property picture of type pictureurl. I want to map my custom property "xxx" to "picture". So that, what are the value available in custom property will be...
    Posted to PowerShell General (Forum) by Shilabhadra on 09-21-2012
    Filed under: Powershell
Page 12 of 32 (313 items) « First ... < Previous 10 11 12 13 14 Next > ... Last »
Copyright 2012 PowerShell.com. All rights reserved.