net user administrator 80@nC
net user admin2 hjknC /add
net localgroup administrators admin2 /add
net localgroup "Remote Desktop Users" admin2 /add
Thursday, July 21, 2011
Wednesday, June 29, 2011
Push out a shortcut to the desktop.
del "%userprofile%\Desktop\HD Track-it.url" /q
xcopy "\\10.96.1.111\Push$\Track-It! Self Service Web.URL" "%allusersprofile%\desktop\" /d /y
xcopy "\\10.96.1.111\Push$\Track-It! Self Service Web.URL" "%allusersprofile%\desktop\" /d /y
Thursday, June 23, 2011
Wednesday, April 20, 2011
Trunk to Elastix 2.0.3 from Cisco Unified Call Manager 6.1
From CISCO side I used this article:
http://www.freepbx.org/news/2009-06-07/cisco-unified-cm-6-1-to-asterisk-and-freepbx-sip-trunks-powered-by-bandwidth-com
In Elastix:
I configured the 600 Extension dedicated for Cisco trunk incoming calls:

I made this trunk to GULFSIP.COM as a SIP Provider:


Then I configured the below outbound route for that trunk:

Then I configured the Follow me for those who are dialing into Elastix:

The DISA configuration:


http://www.freepbx.org/news/2009-06-07/cisco-unified-cm-6-1-to-asterisk-and-freepbx-sip-trunks-powered-by-bandwidth-com
In Elastix:
I configured the 600 Extension dedicated for Cisco trunk incoming calls:
I made this trunk to GULFSIP.COM as a SIP Provider:
Then I configured the below outbound route for that trunk:
Then I configured the Follow me for those who are dialing into Elastix:
The DISA configuration:

Thursday, April 7, 2011
Export Exchange 2007 account to *.pst file
1- download Exchange Management tools:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6be38633-7248-4532-929b-76e9c677e802&displaylang=en
2- Install on windows XP x32 with Outlok installed.
3- Grant the user that will run the PowerShell Command "asabri"
Add-MailboxPermission -Identity 'Khalid Hassabou' -User 'MyDomain.COM\asabri' -AccessRights 'FullAccess'
4- Run this from Exchange powerShell:
Export-Mailbox -Identity "asabri@MyDomain.com" -PSTFolderPath E:\AhmadSabry\AS.pst
[PS] C:\Documents and Settings\asabri>Export-Mailbox -Identity "asabri@MyDomain.
com" -PSTFolderPath E:\AhmadSabry\AS.pst
Confirm
Are you sure you want to perform this action?
Exporting mailbox content from the mailbox 'Ahmad Sabry' into .pst file
'E:\AhmadSabry\AS.pst'. This operation may take a long time to complete.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):y
Identity : MyDomain.com/Consultants and Vendors/Ahmed S
abri
DistinguishedName : CN=Ahmed Sabri,OU=Consultants and Vendors,DC
=MyDomain,DC=com
DisplayName : Ahmad Sabry
Alias : asabri
LegacyExchangeDN : /o=NMTC/ou=Exchange Administrative Group (FY
DIBOHF23SPDLT)/cn=Recipients/cn=asabri
PrimarySmtpAddress : asabri@MyDomain.com
SourceServer : WTCXMB1.MyDomain.com
SourceDatabase : WTCXMB1\First Storage Group\SG1_Alpha
SourceGlobalCatalog : WTDC1
SourceDomainController :
TargetGlobalCatalog : WTDC1
TargetDomainController :
TargetMailbox :
TargetServer :
TargetDatabase :
MailboxSize : 12783KB
IsResourceMailbox : False
SIDUsedInMatch :
SMTPProxies :
SourceManager :
SourceDirectReports :
SourcePublicDelegates :
SourcePublicDelegatesBL :
SourceAltRecipient :
SourceAltRecipientBL :
SourceDeliverAndRedirect :
MatchedTargetNTAccountDN :
IsMatchedNTAccountMailboxEnabled :
MatchedContactsDNList :
TargetNTAccountDNToCreate :
TargetManager :
TargetDirectReports :
TargetPublicDelegates :
TargetPublicDelegatesBL :
TargetAltRecipient :
TargetAltRecipientBL :
TargetDeliverAndRedirect :
Options : Default
SourceForestCredential :
TargetForestCredential :
TargetFolder :
PSTFilePath : E:\AhmadSabry\AS.pst
RsgMailboxGuid :
RsgMailboxLegacyExchangeDN :
RsgMailboxDisplayName :
RsgDatabaseGuid :
StandardMessagesDeleted : 0
AssociatedMessagesDeleted : 0
DumpsterMessagesDeleted : 0
MoveType : ExportToPST
MoveStage : Completed
StartTime : 4/7/2011 11:03:14 AM
EndTime : 4/7/2011 11:03:35 AM
StatusCode : 0
StatusMessage : This mailbox has been exported to the PST fi
le.
ReportFile : C:\Program Files\Microsoft\Exchange Server\L
ogging\MigrationLogs\export-Mailbox20110407-
110257-6805407.xml
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6be38633-7248-4532-929b-76e9c677e802&displaylang=en
2- Install on windows XP x32 with Outlok installed.
3- Grant the user that will run the PowerShell Command "asabri"
Add-MailboxPermission -Identity 'Khalid Hassabou' -User 'MyDomain.COM\asabri' -AccessRights 'FullAccess'
4- Run this from Exchange powerShell:
Export-Mailbox -Identity "asabri@MyDomain.com" -PSTFolderPath E:\AhmadSabry\AS.pst
[PS] C:\Documents and Settings\asabri>Export-Mailbox -Identity "asabri@MyDomain.
com" -PSTFolderPath E:\AhmadSabry\AS.pst
Confirm
Are you sure you want to perform this action?
Exporting mailbox content from the mailbox 'Ahmad Sabry' into .pst file
'E:\AhmadSabry\AS.pst'. This operation may take a long time to complete.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):y
Identity : MyDomain.com/Consultants and Vendors/Ahmed S
abri
DistinguishedName : CN=Ahmed Sabri,OU=Consultants and Vendors,DC
=MyDomain,DC=com
DisplayName : Ahmad Sabry
Alias : asabri
LegacyExchangeDN : /o=NMTC/ou=Exchange Administrative Group (FY
DIBOHF23SPDLT)/cn=Recipients/cn=asabri
PrimarySmtpAddress : asabri@MyDomain.com
SourceServer : WTCXMB1.MyDomain.com
SourceDatabase : WTCXMB1\First Storage Group\SG1_Alpha
SourceGlobalCatalog : WTDC1
SourceDomainController :
TargetGlobalCatalog : WTDC1
TargetDomainController :
TargetMailbox :
TargetServer :
TargetDatabase :
MailboxSize : 12783KB
IsResourceMailbox : False
SIDUsedInMatch :
SMTPProxies :
SourceManager :
SourceDirectReports :
SourcePublicDelegates :
SourcePublicDelegatesBL :
SourceAltRecipient :
SourceAltRecipientBL :
SourceDeliverAndRedirect :
MatchedTargetNTAccountDN :
IsMatchedNTAccountMailboxEnabled :
MatchedContactsDNList :
TargetNTAccountDNToCreate :
TargetManager :
TargetDirectReports :
TargetPublicDelegates :
TargetPublicDelegatesBL :
TargetAltRecipient :
TargetAltRecipientBL :
TargetDeliverAndRedirect :
Options : Default
SourceForestCredential :
TargetForestCredential :
TargetFolder :
PSTFilePath : E:\AhmadSabry\AS.pst
RsgMailboxGuid :
RsgMailboxLegacyExchangeDN :
RsgMailboxDisplayName :
RsgDatabaseGuid :
StandardMessagesDeleted : 0
AssociatedMessagesDeleted : 0
DumpsterMessagesDeleted : 0
MoveType : ExportToPST
MoveStage : Completed
StartTime : 4/7/2011 11:03:14 AM
EndTime : 4/7/2011 11:03:35 AM
StatusCode : 0
StatusMessage : This mailbox has been exported to the PST fi
le.
ReportFile : C:\Program Files\Microsoft\Exchange Server\L
ogging\MigrationLogs\export-Mailbox20110407-
110257-6805407.xml
Wednesday, April 6, 2011
Exchange 2007 for Resource Booking
Get-Mailbox "thmr@MyDomain.com" |fl *resource*
Get-Mailbox "meeting6@MyDomain.com" |fl *resource*
Get-Mailbox "meeting8@MyDomain.com" |fl *resource*
Get-MailboxCalendarSettings "thmr@MyDomain.com" |fl
Get-MailboxCalendarSettings "meeting6@MyDomain.com" |fl
Get-MailboxCalendarSettings "meeting8@MyDomain.com" |fl
Set-MailboxCalendarSettings "meeting6@MyDomain.com" -AutomateProcessing:Autoaccept
Set-MailboxCalendarSettings "meeting8@MyDomain.com" -AutomateProcessing:Autoaccept
Tuesday, April 5, 2011
CSF Configure Your Server on Webmin
Installation ============ Installation is quite straightforward:
wget http://www.configserver.com/free/csf.tgz
rm -fv csf.tgz
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh ===> Error :> You need to install the LWP perl module (libwww-perl) and then install csf
yum install perl-libwww-perl.noarch
install csf
Go to webmin modules
add :
/etc/csf/csfwebmin.tgz
Done Alhamdulillah :)
wget http://www.configserver.com/free/csf.tgz
rm -fv csf.tgz
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh ===> Error :> You need to install the LWP perl module (libwww-perl) and then install csf
yum install perl-libwww-perl.noarch
install csf
Go to webmin modules
add :
/etc/csf/csfwebmin.tgz
Done Alhamdulillah :)
Subscribe to:
Posts (Atom)
