Browse by Tags

Related Posts
  • 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...
  • Forum Thread: New Version of the Azure Active Directory Module and PowerShell 2.0

    Since the last upgrade of the Azure Active Directory Module for Windows PowerShell (64-bit version) , we are no longer able to load it in an application targeting .NET Framework 3.5 SP1. The error message that we receive is: Could not load file or assembly 'file:///C:\Windows\system32\WindowsPowerShell...
  • Forum Thread: powershell cmdlet modification for getting the desired output

    is there a way to modify the cmdlet so that I can list 1 output at a time and then press some key to get next and so on... example: get-mailbox lists all the mailboxes but if I would like to see one at a time. Can I modify the cmldet so that when I run the cmdlet it list the 1st mailbox and then when...
  • Forum Reply: RE: Powershell script error (create MSOL User and adding to SPOUser Group)

    Hi Gary, Which PowerShell are you using? As far as I know, you should use different PowerShell to do the two tasks separately: creating Office 365 users and adding an existing Office 365 user to a SharePoint group. 1. Use Windows Azure Active Directory Module for Windows PowserShel l to create Office...
  • Forum Reply: RE: Remove secondary email address in bulk

    Hi AnkurAjmani, Michael's sharing is great. At present, if you need remove the secondary addresses in bulk, 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 try to post this...
  • Forum Reply: RE: How trace the user who have never login after 30 days?

    Hi Frank, Thanks for your update. I noticed it seems that you connect to Windows PowerShell before configure Windows PowerShell. Generally, we need to configure Windows PowerShell before connecting to it when we first run the PowerShell. Here are the steps: 1. Click Start > All Programs > Accessories...
  • Forum Reply: RE: determine what group a contact belongs to

    Hi Larry, This cannot be checked using Exchange Online User Interface at present. Based on our experience, this kind of goal may be achieved by using Windows PowerShell scripts. However, as Office 365 Online Services technical support, we’re not professional regarding PowerShell scripts. Could...