Posts Tagged ‘remove’

Recently trying to remove a mailbox however was greeted with the error “mailbox database is associated with one or more active MailboxImport

Doing a

Get-MailboxImportRequest | Remove-MailboxImportRequest

Still did not work , in the end I had to use ADSI Edit to Nagivate to the below path and clear the value manually

CN=Configuration  -> CN=Services -> CN=Microsoft Exchange -> CN=DOMAIN -> CN=Mailbox Replication -> CN=MailboxImportRequests
GD Star Rating
loading...
GD Star Rating
loading...

product-300-right-gallery-banner[1]As the Brocades GUI ( written in Java ) is bad , it’s easier to zone stuff through commands line 

To Add the Zoning

switchshow -> Lists the ports and the HBA WWN's so you can match them up
Also lists the zoning CFG Name
 
cfgshow -> Lists the current Alias and Config
 
alicreate "VMSERVER02_VMHBA4", "00:00:00:00:00:00:fb:a8"
 
zonecreate "CML_VMSERVER02_VMHBA4", "VMSERVER02_VMHBA4"
 
zoneadd "CML_VMSERVER02_VMHBA4", "ALIASOFSANCONTROLLER1"
zoneadd "CML_VMSERVER02_VMHBA4", "ALIASOFSANCONTROLLER2"
 
 
cfgadd "CML_ZONE_CFG","CML_VMSERVER02_VMHBA4"
 
cfgsave
 
cfgenable CML_ZONE_CFG

 

 

To Remove the Alias and Zones

alidelete "VMSERVER02_VMHBA4"
 
zonedelete "CML_VMSERVER02_VMHBA4"
 
cfgremove "CML_ZONE_CFG","CML_VMSERVER02_VMHBA4"
 
cfgsave
 
cfgenable CML_ZONE_CFG

Check the port status after to make sure no errors

porterrshow
GD Star Rating
loading...
GD Star Rating
loading...
Office-365-New[1]Add Permissions
 

$LiveCred = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic –AllowRedirection

Import-PSSession $Session

//Add to Outlook
UserA to B
Add-MailboxPermission -identity [email protected] -user [email protected] -AccessRights FullAccess
 
//Don't add to Outlook
Add-MailboxPermission -Identity <Mailbox ID1> -User <Mailbox ID2>-AccessRights FullAccess -AutoMapping:$false
 
//Remove-MailboxPermission
Remove-MailboxPermission -identity [email protected] -user [email protected] -AccessRights FullAccess
 
//Viewmailbox Permission for Single Users 
Get-MailboxPermission –Identity “simon” | fl user, accessrights
 
//Export of All Permissions
Get-mailbox | Get-MailboxPermission | select-object FolderName,User,AccessRights,Identity, IsInherited,IsValid | export-csv -Path c:\teste.csv
 
//Add Distribution Group
Add-DistributionGroupMember -Identity Support -Member James -BypassSecurityGroupManagerCheck
 
 
//Password Never Expire
Connect-MSOLService
Get-MSOLUser | Set-MSOLUser -PasswordNeverExpires $true
 
//Remove Strong Password One User
Set-MsolUser -UserPrincipalName [email protected] -StrongPasswordRequired $False
 
//Remove for all Users
Get-MSOLUser | Set-MSOLUser -StrongPasswordRequired $False
 
 
// Forward to contact without Mailbox
New-MailContact John –ExternalEmailAddress [email protected]
$obj = Get-MailContact John
$obj.EmailAddresses.Add(“smtp:[email protected]“)
Get-MailContact John | Set-MailContact -EmailAddresses $obj.EmailAddresses
 
Send as distribution List
Create Discribution List and add user to it
Set Account to Receive from outside 
Add-RecipientPermission [email protected] -AccessRights SendAs -Trustee [email protected]
GD Star Rating
loading...
GD Star Rating
loading...

univerge-neax-2000-ips-matworx-installation-guide-008861-001-21pdfBasic MOC instructions  for MatWorx

Open Matworx then go to Function -> MOC
 
Notes for using MOC
Press [/] to get into command mode
If you get stuck just press [/] to go back to command mode
[space] is used to enter data, it feels wrong not to use enter
[enter] is used cycle through output from commands
[.] is used for committing data
[CCC.] is used for deleting items so be careful


You will need to do this to find out your incoming Route : 

3512>ISDN Route>3 = 3 incoming digits
3518>ISDN Route>0 = allow digit conversion.


Call forward all DID Calls ( external ) from xxxx to xxxy
COMMAND=7600
7600>xxxx
7600>xxxx:NONE-xxxy.
  
Remove the external call forward
COMMAND=7600
7600>xxxx
7600>xxxx:NONE-ccc.
OK
 
 
 

GD Star Rating
loading...
GD Star Rating
loading...