Browse by Tags

Related Posts
  • Forum Thread: Get-messagetrace poweshell

    Hi, is there anyway i can get a -resultsize unlimited on this command? Curently running a script, that gives all results over last 2 hours, but it only returns a 1000
  • Forum Reply: RE: Mailbox export

    Hi Bijal, Do you mean you want to export Office 365 mailboxes into .pst files? If yes, sorry we cannot do it directly in Office 365 GUI and PowerShell. For now, to do this, we can use Outlook Client. 1. Set up your Office 365 account on Outlook Client. Please refer to " Set up an Exchange connection...
  • Forum Reply: RE: Powershell Script to compare domain of proxy address

    Hi Ahmed, In order to better understand your requirements, please clarify whether the following scenario is correct or not. Verified domains in Office 365: abc.com, efg.com The proxy address of on-premises AD user: User1: user1@abc.com, user1@efg.com, user1@xyz.com User2: user2@abc.com, user2@efg.com...
  • Forum Thread: How do i add 1 license to an already licensed user through powershell?

    I have 136 users that originally had enterprise e3 pack assigned to them except the lync and azure rights management I would like to go back and implement azure rights management but still keep lync off. I tried it like this but was getting $AccountSkuId = "XXXXXXX:ENTERPRISEPACK" $NewSku...
  • Forum Reply: RE: get-mailbox doesn't work what am i doing wrong. I connected to connect-msolservice ok!all

    Hi armandos, By default, the cmdlet get-mailbox is not a vaild cmdlet if you connect to connect-msolservice. If you want to run this cmdlet, you need connect to Exchange Online PowerShell. Here is an article about Connect to Exchange Online using remote PowerShell for your reference: http://technet...
  • Forum Thread: Sharepoint workflow.

    Dear All, I want to activate sharepoint 2013 workflow in particular site sollection. Which feature should I activate? Is there any need of PowerShell to activate features related to sharepoint 2013 workflow. Please help me. It is urgent. Kind regards, Supriyo Manna
  • Forum Thread: Get-MessageTrace only returning last 7 days

    HI, I'm trying to make a (csv) export of the mail logs for all users over the past 30 days using a Get-MessageTrace script: https://gallery.technet.microsoft.com/office/Export-Mail-logs-to-CSV-d5b6c2d6 The script runs fine, even after adapting it to return the last 30 days, however, only the...
  • Forum Reply: RE: exporting a list of licensed users

    It's easy from Powershell! I would use this link: http://support.microsoft.com/kb/2777380 From there, you can modify the given parameters to export licences types. The issue I have with this is that I cannot change the checking string to look for specific licences. This will export a list of...
  • Forum Thread: Powershell: Enter-PsSession to an existing Exchange session ERROR

    Hello, i met an error while executing the following powershell command : Enter-PSSession -ComputerName pod5****.outlook.com -UseSSL Error: Connect-PSSession : The remote session query failed for pod5******.outlook.com with the following error message: WinRM cannot complete the operation. Verify...
  • Forum Reply: RE: how do i add more user licence

    Hi Krushang, I would like to confirm whether you want know how to add licenses to bulk users. If so, usually, we perform bulk user actions by using the PowerShell . Doing bulk license assignments you’ll need to create a CSV file containing the UPN for each batch you want to license. I’ve...
  • Forum Reply: RE: Office 365 & Pictures

    Hi Mike, I am so glad you have resolved this issue. Thanks for providing all the screenshots and information in the private message. I appreciate all your efforts on this issue. Now, I’d like to share some summary here. First, the issue is that: after admin removes end users’ photos...
  • Forum Reply: RE: Powershell Script showing how users connect to O365 for email

    Hi barracuda99, Currently, we have some methods to view the mailbox connection type. But the report might not be very detailed or refined. I not sure if this will meet your specific requirement. To view how users connect to the mailboxes, we have the following two methods: 1. Types of mailbox connections...
  • Forum Reply: RE: An unknown error has occurred. Refer to correlation ID

    Hi MEra, Thanks for the information, I replied to you in the private message. Thanks, Young
  • Forum Reply: RE: An unknown error has occurred. Refer to correlation ID

    Hi MEra, Thanks for the update in the private message. This user is not assigned any Exchange Online license. However, this error is related to Exchange. It’s unique. Maybe the error is false positive. To validate this, shall we use PowerShell to check the detailed error? 1. Make sure Windows...
  • Forum Thread: New version of the Azure AD PowerShell module is incompatible with PowerShell 2.0

    We are not able to load the newest version of the Azure Active Directory Module for Windows PowerShell (64-bit version) in an application that targets .NET Framework 3.5 SP1. The previous version of the module available until September worked well, but now we get the following error message: Could...
  • Forum Reply: RE: Need Help About Licensing issue ( URGENT )

    Hi Orkhan, The previous PowerShell cmdlets are used with the Quest Active Roles snap-in and is used with Active Directory. Below I've pasted two links: the first has more information about the snap-in and the second could be used to download the ActiveRoles Management Shell for Active Directory....
  • Forum Thread: Trying to Export total licenses via delegated admin powershell

    I'm currently trying to export a full list of customer licenses through power shell and it works fine if I do it one by one like so: Get-msolaccountsku -TenantId 'tenantidstring' If I try to do this via a script, instead of it giving me the list of licenses for all customers, it prints...
  • Forum Reply: RE: Need Help About Licensing issue ( URGENT )

    Hi Orkhan, I am glad that the script works! To find users with empty attributes, you can try to use the following PowerShell commands: 1. Get-QADUser| where {$_.mail -eq $null} 2. Get-QADUser| where {$_.mail -eq $null}|export-csv c:\upload\dump\EmptyMailAttribute.csv The first one is to find and display...
  • Forum Reply: RE: How to use PowerShell in Microsoft Office 365 Small

    Hi RinkuPandy, What exactly do you need to do in PowerShell? If I know that, I could provide you with a more specific answer to your question. To connect with Office 365 via PowerShell, the following link might be of great help: technet.microsoft.com/.../dn568015.aspx Be sure to run PowerShell as administrator...
  • Forum Reply: RE: Need Help About Licensing issue ( URGENT )

    Hi Orkhan, The other day I found a PowerShell script that may point you in the right direction: # Define Hashtables for lookup $Sku = @{ "DESKLESSPACK" = "Office 365 (Plan K1)" "DESKLESSWOFFPACK" = "Office 365 (Plan K2)" "LITEPACK" = "Office...
  • Forum Thread: Set-MsolDomain capabilities (or lack thereof)

    Trying to create a bunch of domains via powershell, of which works with New-MsolDomain. However new domains create with no "Capabiltiies". I cannot fathom how to update this field even though powershell hints that Set-MsolDomain can do this, there is no actual parameter to do so. I cannot find...
  • Forum Thread: Need a Report of All Users and their Assigned Licenses

    Hello! I recall a long time about I found a Microsoft article that gave me step by step instructions on how to output a report with all of our users and what O365 license they are assigned but cannot find it again. I googled and found a bunch out there and even found an O365 forum post however, some...
  • Forum Reply: RE: Calendar sharing via Powershell

    Hi Dan, Based on your current situation, if you want to run this PowerShell cmdlet for multiple email addresses at one time, it may involve some PowerShell scripts to achieve it. Since we are not the masters for PowerShell scripts and we can just provide limited assistance on it, I recommend you...
  • Forum Thread: Calendar sharing via Powershell

    I use the following cmd to grant office 365 calendar right with Powershell: Add-MailboxFolderPermission <mailbox>:\Calendar –User <Mailbox-that-will-have-access> –AccessRights <Editor,Owner,PublishingEditor,PublishingAuthor,Author,NonEditingAuthor,Reviewer,Contributor>...
  • Forum Reply: RE: Mail forwarding issue

    Hi Tasos, To remove ForwardingAddress, please run the following PowerShell cmdlets and check if the issue persists: Set-Mailbox -Identity user@domain.com -DeliverToMailboxAndForward $false -ForwardingAddress $null If you have tried the cmdlet before, please feel free to let me know. Thanks, Kid...