-
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
-
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...
-
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...
-
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...
-
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
-
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...
-
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...
-
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'...
-
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...
-
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...