Need help on scripting to skip exchange databse for checking
Hello, There is a default script in exchange in 2010 to check the DB replication by default it will check for all BUt if we need to skip any of the DB i need to mentioned the same; so for one DB is working fine but when adding more then one its not
working and alert is getting generated
# Skip checking the "default" mailbox databases. eg: Mailbox Database 0017891750
# Specify $null (or an empty string) if you don't want to skip any databases.
[Parameter(ParameterSetName="Server")]
[string] $SkipDatabasesRegex = "^Mailbox Database \d{10}$|^ABC-DB",
## the BOLD for one Database to skip what if i need to need to skip more then one database , i tried adding the below but seems to be it is not working ?
#Do i need to user comma, or any other symbol to mentioned two DB's
^ABC-DB,HOME-DB", OR ^ABC-DB,^HOME-DB",
#I tried the below but it is not working
# Skip checking the "default" mailbox databases. eg: Mailbox Database 0017891750
# Specify $null (or an empty string) if you don't want to skip any databases.
[Parameter(ParameterSetName="Server")]
[string] $SkipDatabasesRegex = "^Mailbox Database \d{10}$|^ABC-DB|^HOME-DB",
sorry but able to make the changes now and its working as expected .thanks
[string] $SkipDatabasesRegex = "^Mailbox Database \d{10}$|(ABC-DB)|(HOME-DB)",
My point is that you are not supposed edit the supplied scrip but are supposed to pass in your own parameters. THe default behavior is set by the author by design.
Since you have not supplied us with a copy of the script it is not possible to understand exactly what is intended.
Normally we would mark the supplied answer as the "answer" and not your response to that. THe answr was that you need to use a correct RegEx and not just place an arbitrary "OR" in the RegEx.
¯\_(ツ)_/¯
Similar Messages
-
Need help writing script to change version control for all document libraries in all sites
Hello,
I found this script, http://get-spscripts.com/2010/10/changing-sharepoint-list-settings-using.html that
changes versions control for a document library. However, many sites have many document libraries with different names. The script below just changes a the settings to a document library that is named "Shared Documents", but does not
change one if its named something else. How can change the script to loop through all document libraries so their settings are changed?
$site = Get-SPSite http://site
$listName = "Shared Documents"
#Walk through each site in the site collection
$site | Get-SPWeb |
ForEach-Object {
#Get the list in this site
$list = $_.Lists[$listName]
#Create a version each time you edit an item in this list (lists)
#Create major versions (document libraries)
$list.EnableVersioning = $true
#Create major and minor (draft) versions (document libraries only)
$list.EnableMinorVersions = $true
#Keep the following number of versions (lists)
#Keep the following number of major versions (document libraries)
$list.MajorVersionLimit = 7
#Keep drafts for the following number of approved versions (lists)
#Keep drafts for the following number of major versions (document libraries)
$list.MajorWithMinorVersionsLimit = 5
#Update the list
$list.Update()
#Dispose of the site object
$site.Dispose()
PaulSorry, I agree. It will update Style Library and other out of the box ones. Include the library titles in a collection and run the update against them provided these libraries are common across all sites. If not, you will have to first get an extract of
all such libraries in all sites say in a CSV file and then update the script below to refer to the CSV records.
Add-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction Stop;
#List of Libraries to be updated.
$Libraries = @("Shared Documents","My Document Library");
$spAssgn = Start-SPAssignment;
$site = Get-SPSite http://site -AssignmentCollection $spAssgn
#Walk through each site in the site collection
$site | Get-SPWeb -Limit ALL -AssignmentCollection $spAssgn |
ForEach-Object {
#Enumerate through all document libraries
$_.Lists|Where{$_.BaseTemplate -eq "DocumentLibrary" -and $Libraries -contains $_.Title}|Foreach-Object{
#Get the list in this site
$list = $_;
#Create a version each time you edit an item in this list (lists)
#Create major versions (document libraries)
$list.EnableVersioning = $true
#Create major and minor (draft) versions (document libraries only)
$list.EnableMinorVersions = $true
#Keep the following number of versions (lists)
#Keep the following number of major versions (document libraries)
$list.MajorVersionLimit = 7
#Keep drafts for the following number of approved versions (lists)
#Keep drafts for the following number of major versions (document libraries)
$list.MajorWithMinorVersionsLimit = 5
#Update the list
$list.Update()
Stop-SPAssignment $spAssgn;
This post is my own opinion and does not necessarily reflect the opinion or view of Slalom. -
Need help setting up 3 different iCloud accounts for my kids (so each has own iMessanger)using same Apple ID (mine) ....they don't have their own separate email addresses to work from...how do I do this?
Any devices connected to the same icloud account can sync all the data on that account. For this reason an icloud account is really for a single user.
On a mac, if each user has their own account, then the itunes for that mac account should be set up to connect to that user's icloud account (System preferences>icloud). -
Need help using WEB module in Lightroom 2 for .mac/mobile me accounts
Hello,
I need help in finding the Server path information for Lightroom 2. I am trying to use the Web module of Lightroom and build a website and instead of going through another hosting service, I want to use my Mobile ME account, can't I do that?
I have the user name and password obviously but what is the server path, protocol, path?
Help please!
Thanks
RayFor those Mac Users using iWeb, MobileMe, and Lightroom 2, here are step-by-step instructions on how to create a web gallery in Lightroom, upload the gallery to MobileMe, and finally, how to link the uploaded files to the wesite you created in iWeb.
1. In the Lightroom Library module, create a collection of photos you want to display in your web gallery. For illustration purposes, we will call your collection Sunsets. Once created, it will be listed under Collections in the left panel of Lightroom.
2. Switch to the Lightroom Web module and select the Sunsets collection (from the panel on the left of the screen.)
3. Chose whichever template you like (from the list of Templates in the left panel).
4. Fine tune the appearance of the gallery using the controls in the right hand panel of Lightroom 2.
5. When you are satisfied with the gallery’s appearance, use your keyboard to type Command-S. That will save your template settings (give it a unique name when saving).
6. Open up Finder on your Mac. Inside your username folder, create a new folder… I'll call it Web Files. (You can choose any name you like, and locate the file anywhere on your Mac HD.) You have just created the folder username/Web Files.
7. Back in the Lightroom Web module, chose Export, at the bottom of the right panel, and export your gallery to the folder you just made (e.g. export to username/Web Files). By doing so, you will have created /username/Web Files/Sunsets.
8. Once again open Finder on your Mac. Go to /username/Web Files/Sunsets and you will see 3 files in the Sunsets folder: bin, index.html, and resources.
9. Open a second Finder window and in it, click on your iDisk icon. You will soon see all of the files on your iDisk.
10. In iDisk, click on the folder called /Web. You will now see the /Sites folder inside the /Web folder. I.e., /Web/Sites.
11. Drag the Sunsets file from your Mac HD to the /Sites folder on your iDisk. E.g, drag Sunsets from /username/Web Files/Sunsets on your Mac HD to the /Sites folder in iDisk /Web/Sites. The Sunsets folder (and the three files it contains) will now upload to your iDisk on MobileMe.
12. Open iWeb on your Mac. Add a new page to your website. Call it “Galleries,” or anything you like. (You can also use an existing page if you wish.)
13. On that “Galleries” web page (or on an existing web page), create a picture icon, or a word, or a symbol, or anything else that you will activate as a hyperlink to your iDisk web files - specifically, you will link it to the Sunsets folder you just uploaded to iDisk.
14. Activate the hyperlink in iWeb’s Inspector. In the URL box, type:
http://web.me.com/username/Sunsets (Don’t forget to substitute your name for “username” and the name of your gallery for “Sunsets.”)
15. Save your website in iWeb, and then publish your site.
You will NOT see your gallery in iWeb – you will see only the link to the gallery that you uploaded to iDisk.. To view your gallery, either make hyperlinks active, using the Inspector in iWeb and click on he link to the gallery, or visit your website on the internet. If you want to edit your gallery, you will have to do that in Lightroom… then repeat steps 7 – 11. You cannot edit your gallery in iWeb, but you can use iWeb to change the appearance of the link to your gallery, or to change it’s location within your website. -
I need help exporting Apple Mail messages to Outlook for MAC 2011
Good morning,
I need help exporting Apple Mail messages to Outlook for MAC 2011. Please....It is possible to do this without external tools, but it is a tremendous faff. See
http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macoutlook/import-ema il-from-mail-to-outlook-2011/5e858173-e1f4-4adc-99d7-253cc467169d?page=2 for details.
The easiest way, however, is to use Mail Exporter Pro https://itunes.apple.com/us/app/mail-exporter-pro/id675131616?mt=12 which will convert the email for you from one format to the other, and comes with an excellent manual.
A third possibility is to connect Apple Mail to an email account via IMAP (this doesn’t have to be your usual account, you can just create a Gmail account for the purpose) . Copy all the messages into it and they will be uploaded. Then connect Outlook 2011 to the same account, via IMAP again, and let the messages download, then copy them to wherever you want to keep them and disconnect from that account. This is slow but preserves the attributes of your email (e.g. read/unead) better than any other method. -
hii i need help i cannot use my apple id for download on app store because they say i need to verify my account but i don't know how so please somebody can help me? i try to resset my password but that don't help
is it asking for ur security questions?
-
Need help . Bought original HP 21b ink for F370 all in one printer , its not printing
Hi ,
Need help . Bought original HP 21b ink for F370 all in one printer , its not printing at all .Kindly mail at [Thank you for visiting the HP Support Forums. I am sorry to inform you that your post has needed some editing to remove personal information.]
. Thanks .Hello @Bn23 , and welcome to the HP Forums, I hope you enjoy your experience!
I see you're running into print issues. I would love to try and help you, but I do need a little information first. I am linking a few HP Support documents below that will show you how to find which operating system you are using. Also, if you're using Windows, please include whether your operating system is 32-bit or 64-bit. With this information we can provide you with accurate information.
Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
Which Windows operating system am I running?
Is the Windows Version on My Computer 32-bit or 64-bit?
Also, when you print, does a blank page come out, or does no paper feed through the printer? Is there any errors that come up?
Please let me know what you find. Thanks for posting on the HP Forums!
Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
Jamieson
I work on behalf of HP
"Remember, I'm pulling for you, we're all in this together!" - Red Green. -
Need help! Can't validate date overlaps for a tabular column
Hello all,
The validation I created to validate whether new or updates rows does not overlap with any records in the table isn't working.
The columns are StartDt and EndDt
Validation Type: NOT EXISTS
Validation expresion:
select 1
from sample S
WHERE S.STARTDT BETWEEN :STARTDT AND :ENDDT
OR(S.ENDDT BETWEEN :STARTDT AND :ENDDT)
or (S.STARTDT <= :STARTDT and S.ENDDT >= :ENDDT)
or (:STARTDT <= S.STARTDT and :ENDDT >= S.ENDDT)
Error Message:
Times overlap
When Buttons pressed
-Select Button-
The validation works if a new row or updated row overlaps any existing start and end date records but it doesn't work if I update startdate and end date rows that doesn't overlap existing date times
Example:
TABLE DISPLAYS THE FOLLOWING RECORDS
NAME START DATE END DATE
TEST 1/1/2012 12/31/2012
If I update the rows to the following values, I receive an error message (although those values don't overlap any records in the table)
NAME START DATE END DATE
TEST 6/1/2012 10/30/2012
Any ideas? Do I need to change my code?
Click the link to view the answer to this question. Need help! Can't validate date overlaps for a tabular column
Message was edited by: CharlieMackLogic for date range overlap testing only requires two conditions in the WHERE clause:
ORACLE-BASE - Overlapping Date Ranges
WHERE S.STARTDT <= :ENDDT AND S.ENDDT >= :STARTDT -- TRUE for ranges that overlap
It looks a little odd, but, if you scribble out a 'logic table', it makes sense.
Condition
A.start <= B.end
A.end >= B.start
A__A B--B
true
false
A__B=A--B
true
true
A__B==B__A
true
true
B--A==B__A
true
true
B--B A__A
false
true
MK -
also say explorer not reading SWF files and I have to reload them? Not sure what that is either,
Thanks
JimHi Nancy
Trying to update my site got to make some changes. Do you work on sites via remote? I am on Cloud.
: Nancy O.
Sent: Monday, September 01, 2014 3:47 PM
To: James Neidner
Subject: Need help " Can't find a valid editor for this file extension" not sure why I am getting and this or what to do.
Need help " Can't find a valid editor for this file extension" not sure why I am getting and this or what to do.
created by Nancy O. <https://forums.adobe.com/people/Nancy+O.> in Dreamweaver support forum - View the full discussion <https://forums.adobe.com/message/6692200#6692200> -
Need help regarding the location of Exchange 2013 Logs for parsing
Hi, I am trying to create reports based on the logs that are created on my exchange server. I am using
exchange 2013. My problem is that I cannot handle every log, and instead want specific types of logs.
I need help finding the specific locations of the following types of logs (If they even exist), so that I can parse them and use them effectively:
Audit Logs (Mailbox logons, Mailbox permission changes, Mailbox property changes,
Exchange store changes)
Mail Report Logs (Mailbox size and growth, Mailbox storage growth, Enabled users, Expired and Soon-to-Expire Mailboxes)
Exchange Traffic Reports (Details on size and amount of messages sent and recieved, Internet traffic [to and from], Traffic between exchange users)
I understand this might sound like a huge undertaking, but any help that can be provided would be appreciated.
Again, I need information on the locations of these types of logs on the exchange server, so that I can parse them. Collecting them all and searching through them is not practical for my available resources.
Thanks,
MattAudit Logs (Mailbox logons, Mailbox permission
changes, Mailbox property changes, Exchange
store changes) ---- these are two type of logs, 1. mailbox audit logs and that is stored in each mailbox under dumpster
http://technet.microsoft.com/en-us/library/ff461930(v=exchg.150).aspx however you need to
enable
it for individual mailboxes... 2. admin audit log, this is stored into a system mailbox dumpster.... http://technet.microsoft.com/en-us/library/dd335052(v=exchg.141).aspx
Mail Report Logs (Mailbox size and growth, Mailbox
storage growth, Enabled users, Expired and Soon-to-Expire Mailboxes) ---- there isn't any specific log for this, you would need to create some time of script to collect this every day for you and store it somewhere... This is a good start... http://www.stevieg.org/2011/06/exchange-environment-report/
Exchange Traffic Reports (Details on size and
amount of messages sent and recieved, Internet traffic [to and from], Traffic between exchange users) ----- This you can get from message tracking log... http://technet.microsoft.com/en-us/library/bb124375(v=exchg.150).aspx -
Need Help in scripts relating to subscripts
I have encountered a HUGE problem in flash and I desperately
need urgent help from flash experts out there so please hear me
out. Here it goes >> I am currently working on ‘fill in
the blanks’ questions and answer for my chemistry project and
the thing is , I need to ENABLE other people who are going to do
the questions I created to type ‘subscripts’ for
example ‘3 2’. Now I have seen similar questions from
other flash documents is also requires entering of
‘subscripts’ and they used some script in the flash
document, WHICH is the user( person who is answering the questions)
can type in normal fonts as well as subscripts by HOLDING down ALT
key and typing the number, and the subscript would appear in the
selected INPUT BOX. i have attached an image below for better
understanding of my problem.
http://img239.imageshack.us/my.php?image=problemyd5.jpg
apart from that, i am also looking for a script that i can insert
into my 'check' button at the bottom of the page to check the
answers. To be specific, the script must be able to check the
answers WHICH also includes SUBSCRIPTS for example '
HNO[SIZE="2"]3[/SIZE] or H[SIZE="2"]2[/SIZE]O ' as I fail to obtain
the first script i mentioned which is the script that enables one
to type in normal fonts AND subscripts by holding ALT key or
something similar to that, i also fail to come up with a proper
script for my 'check' button to check my answers. I hope readers of
this passage are able to understand what i am trying to say here as
well as help me solve my dilemma that i am facing. IN a nutshell, i
am need 2 types of scripts now .....which are
1) script that enables one to type in subscript by holding
down the 'alt' key and typing the letter at the same time 2)and the
second script which when embedded to my 'check' button, when
CLICKED will be able to check the answers which includes
SUBSCRIPTS.
if you need any further information to have a better
understanding, do tell and i will provide more pictures or even
flash documents.No I am just using SET DATE MASK command to make it appear as required but that is changing my value at the other window also so I dont want this date format anywhere else other than footer.
Thanks
Sudharshan -
Need Help in scripts relating ot subscripts
I have encountered a HUGE problem in flash and I desperately
need urgent help from flash experts out there so please hear me
out. Here it goes >> I am currently working on ‘fill in
the blanks’ questions and answer for my chemistry project and
the thing is , I need to ENABLE other people who are going to do
the questions I created to type ‘subscripts’ for
example ‘3 2’. Now I have seen similar questions from
other flash documents is also requires entering of
‘subscripts’ and they used some script in the flash
document, WHICH is the user( person who is answering the questions)
can type in normal fonts as well as subscripts by HOLDING down ALT
key and typing the number, and the subscript would appear in the
selected INPUT BOX. i have attached an image below for better
understanding of my problem.
http://img239.imageshack.us/my.php?image=problemyd5.jpg
apart from that, i am also looking for a script that i can insert
into my 'check' button at the bottom of the page to check the
answers. To be specific, the script must be able to check the
answers WHICH also includes SUBSCRIPTS for example '
HNO[SIZE="2"]3[/SIZE] or H[SIZE="2"]2[/SIZE]O ' as I fail to obtain
the first script i mentioned which is the script that enables one
to type in normal fonts AND subscripts by holding ALT key or
something similar to that, i also fail to come up with a proper
script for my 'check' button to check my answers. I hope readers of
this passage are able to understand what i am trying to say here as
well as help me solve my dilemma that i am facing. IN a nutshell, i
am need 2 types of scripts now .....which are
1) script that enables one to type in subscript by holding
down the 'alt' key and typing the letter at the same time 2)and the
second script which when embedded to my 'check' button, when
CLICKED will be able to check the answers which includes
SUBSCRIPTS.
if you need any further information to have a better
understanding, do tell and i will provide more pictures or even
flash documents.No I am just using SET DATE MASK command to make it appear as required but that is changing my value at the other window also so I dont want this date format anywhere else other than footer.
Thanks
Sudharshan -
I need help with a migration from Exchange 2010 to 2007
Hi All,
I need help migrating mailboxes from a separate forest / domain using exchange 2010 to our Exchange 2007 SP3 servers.. I am following this procedure:
1. On source server, create a mailbox user, test01.
2. On target server, run the following command to move the AD account:
Prepare-MoveRequest.Ps1 -Identity [email protected] -RemoteForestDomainController FQDN.source.com -RemoteForestCredential $Remote -LocalForestDomainController FQDN.target.com -LocalForestCredential $Local -UseLocalObject -Verbose"
3. Run the ADMT to migrate the password and SID history.
4. Run the following command to move the mailbox:
New-MoveRequest -Identity '[email protected]' -RemoteLegacy -RemoteTargetDatabase DB03 -RemoteGlobalCatalog 'GC01.humongousinsurance.com' -RemoteCredential $Cred -TargetDeliveryDomain 'mail.contoso.com'
(Changed all the details obviously)
It gets to 95% and shows this error
01/12/2014 12:47:24 [EX2K10] Fatal error UpdateMovedMailboxPermanentException has occurred.
Error details: An error occurred while updating a user object after the move operation. --> Active Directory operation failed on DC.DC.COM . This error is not retriable. Additional information: The parameter is incorrect.
Active directory response: 00000057: LdapErr: DSID-0C090A85, comment: Error in attribute conversion operation, data 0, vece --> The requested attribute does not exist.
at Microsoft.Exchange.MailboxReplicationService.LocalMailbox.Microsoft.Exchange.MailboxReplicationService.IMailbox.UpdateMovedMailbox(UpdateMovedMailboxOperation op, ADUser remoteRecipientData, String domainController, ReportEntry[]& entries,
Guid newDatabaseGuid, Guid newArchiveDatabaseGuid, String archiveDomain, ArchiveStatusFlags archiveStatus)
at Microsoft.Exchange.MailboxReplicationService.MailboxWrapper.<>c__DisplayClass3c.<Microsoft.Exchange.MailboxReplicationService.IMailbox.UpdateMovedMailbox>b__3b()
at Microsoft.Exchange.MailboxReplicationService.ExecutionContext.Execute(GenericCallDelegate operation)
at Microsoft.Exchange.MailboxReplicationService.MailboxWrapper.Microsoft.Exchange.MailboxReplicationService.IMailbox.UpdateMovedMailbox(UpdateMovedMailboxOperation op, ADUser remoteRecipientData, String domainController, ReportEntry[]& entries,
Guid newDatabaseGuid, Guid newArchiveDatabaseGuid, String archiveDomain, ArchiveStatusFlags archiveStatus)
at Microsoft.Exchange.MailboxReplicationService.RemoteMoveJob.UpdateMovedMailbox()
at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.UpdateAD(Object[] wiParams)
at Microsoft.Exchange.MailboxReplicationService.CommonUtils.CatchKnownExceptions(GenericCallDelegate del, FailureDelegate failureDelegate)
Error context: --------
Operation: IMailbox.UpdateMovedMailbox
OperationSide: Target
Primary (b5373e49-6a06-41f4-990e-27807c7a57f3)
01/12/2014 12:47:24 [EX2K10] Relinquishing job.
Any ideas what i can do about this?Hi,
From your description, I recommend you follow the steps below for troubleshooting:
Open the problematic user in AD and check the Email Address. Verify if you can open or edit the x400 address. If no, remove the x400 address and recreate it. If yes, ensure that the name is spelt correctly. After that, continue to move the mailbox and check
the result.
Hope this can be helpful to you.
Best regards,
Amy Wang
TechNet Community Support -
Need Help with scripting for Automator/AppleScript.
Hi everybody,
I am building a small app for my mac, What I need is a script that can rename a file that I drop on it.
and example being:
example.jpg
(when I drop it on the app, I want the app to change the filename of the document to "Image.jpg"
I have tried this with Automator, but it requires that I specify the file to be changed, what I need is something that will change the name of any file I drag onto it.
I am using it for application specific files.
Kind regards,
Pete.
iBook G4; 60GB Hard Drive, 512MB RAM, Airport ExtremeOpen the Script Editor in the
/Applications/AppleScript/ folder and enter the
following:
on open(the_file)
tell application "Finder"
set name of the_file to "Image"
end tell
end open
Save this script as an application.
(11347)
this script compiled correctly; however when run it returned the following error "Can't set name of (the_file) to "Image.jpg"
I am also given the option of editing the script or just quitting.
thanks for your help -
Need help with a customized interactive web application for apparel
Help!!!!
Hi I am a web designer at beginners stage with web
devlopment. I am seeking guidance on how to develop a customized
interactive web application so that the end user can change color
and patterns of apparel on vector images such as teamsports
uniforms and tshirts. Once the design is customized to their liking
they can save it with all of the spec information in a file to
there desktop or to a database to send to the manufacturer.
Also looking for a possible way to use a CMS so I can upload
templates of the garment easily for the end user to customize
online. Can this be done and if so how? This is an example the kind
of application I am looking for:
http://www.dynamicteamsports.com/elite/placeorder.jsp
I am in desperate need of some brilliant developer to help
with this.
Thanks in advance for anyone who is willing to assist or give
me guidance,
Danka
"Reap what you sew"some parts of that are doable using non-advanced skills, but
will be difficult and unwieldly if there are more than a few
colors/patterns.
saving the image to the server is a bit more advanced and
you're going to need some server-side scripting like php, perl, asp
etc. in addition to some flash programming ability.
Maybe you are looking for
-
Error while running HelloWorld page in OAF
Hi, While running Helloworld tutorial its throwing following Exception: oracle.apps.fnd.framework.OAException: Application: ICX, Message Name: Could not create the transaction Id for this session. at oracle.apps.fnd.framework.CreateIcxSession.createT
-
Can I print the File name and page number
When printing a file, I would like to print the File Name and the page number also...something like a header, in every page printed. Is this possible in Acrobat? Please advise. Thanks
-
What does it mean when you receive a box that says " The Itunes library cannot be saved. You do not have enough access privileges for this operation"?
-
Is it possible to change the theme back to Tiger's Metal-brushed surface?
As title.
-
Problem installing latest version
Everything was fine yesterday, I watched many videos with my flash player, then a video told me I needed to upgrade my flash player to view... So I downloaded, got the logo above & message below on the download page confirming version 10... was insta