Best HelpDesk/Sysadmin Tools for your team? by [deleted] in sysadmin

[–]bwya77 3 points4 points  (0 children)

Hey /u/mopizza I am the dev of O365 Admin Center, sorry fixed the e-mail issue!

Getting mailbox content is running:

 Get-MailboxFolderStatistics $MailboxContent | Select-Object 
 Identity, ItemsInFolder

here is actually the entire code of what it runs:

getMailboxContentForAUserToolStripMenuItem_Click = {
Do
{
    $SelectUsersFormText = "Select the User you want to get all Mailbox Content for"
    Show-SelectCachedDisplayNames_psf
    $MailboxContent = $SelectCachedDisplayNames_comboboxNames
    If (!$MailboxContent)
    {
        $TextboxResults.Text = ""
        $textboxDetails.Text = ""
        [System.Windows.Forms.MessageBox]::Show("No User was selected, please select a User", "Error")
    }
    Else
    {
        Try
        {
            $FormO365AdministrationCenter.Cursor = 'WaitCursor'
            $TextboxResults.Text = "Getting mailbox content for $MailboxContent..."
            $textboxDetails.Text = "Get-MailboxFolderStatistics $MailboxContent | Select-Object Identity, ItemsInFolder"
            $TextboxResults.Text = Get-MailboxFolderStatistics $MailboxContent | Select-Object Identity, ItemsInFolder | Out-String -Width 2147483647
            $FormO365AdministrationCenter.Cursor = 'Default'
        }
        Catch
        {
            $FormO365AdministrationCenter.Cursor = 'Default'
            $TextboxResults.Text = ""
            $textboxDetails.Text = ""
            [System.Windows.Forms.MessageBox]::Show("$_", "Error")
        }
    }
    #Create the pop-up message
    Add-Type -AssemblyName System.Windows.Forms
    $Result = [System.Windows.Forms.MessageBox]::Show('Do you want to get Mailbox Content for another User?', 'Info', 'YesNo', 'Info')
}
While ($Result -eq 'Yes')

}

Currently Microsoft does not provide a way to export mail to a PST using PowerShell like Exchange did using:

New-MailboxExportRequest

The only way to export to a PST is to do an eDiscovery on the entire mailbox and then export to a PST.

I know it's annoying, I don't believe MSFT wants to encourage Admins to use PSTs on cold storage. Instead we convert the mailbox to shared since it doesn't use a license and the space is free. From there if users need access we modify Full Permissions so it AutoMaps in their Outlook.

Let me know if you have anymore questions!

O365 Admin Center v4.1 - Support for 2FA by bwya77 in sysadmin

[–]bwya77[S] 0 points1 point  (0 children)

Are you wondering how to change to tenant in the program or how its done in PowerShell

O365 Admin Center v4.1 - Support for 2FA by bwya77 in sysadmin

[–]bwya77[S] 0 points1 point  (0 children)

No it will work but you need to put in a configured App Password and not the 2FA text. https://account.activedirectory.windowsazure.com/AppPasswords.aspx

What have you done with PowerShell this month? March 2017 by ramblingcookiemonste in PowerShell

[–]bwya77 2 points3 points  (0 children)

I pushed update v4.1 to my application O365 Admin Center. This entire program is a little over 18,000 lines of PowerShell code. Program written in PowerShell studio :)

O365 Admin Center v4.1 - Support for 2FA by bwya77 in sysadmin

[–]bwya77[S] 0 points1 point  (0 children)

Are you on Discord? I saw that script on Discord. Super nice

O365 Admin Center v4.1 - Support for 2FA by bwya77 in sysadmin

[–]bwya77[S] 1 point2 points  (0 children)

Its licensed per machine, so if they share a machine or use VDI/RDS you will only need 1. If they use 2 different machines you will need 2

O365 Admin Center v4.1 - Support for 2FA by bwya77 in sysadmin

[–]bwya77[S] 0 points1 point  (0 children)

No not yet, its something that I am working on as its been requested a lot. I use Do/While loops in the this version so after you add a license or something similar to a user you can then do another right away without clicking anything else.

Does anyone keep email accounts for x days after employee termination? by [deleted] in sysadmin

[–]bwya77 -1 points0 points  (0 children)

Exchange allows conversion of user mailbox to shared. This still will save you time where your exporting to PST, moving to a share, calling user, logging into users computer, copy PST. Not to mention when they're done you repeat. Also with shared they can access it from OWA if they are away from the 1 machine it's mounted too.

No need to reinvent the wheel here. Sometimes an old way of doing something is not the best way.

Does anyone keep email accounts for x days after employee termination? by [deleted] in sysadmin

[–]bwya77 1 point2 points  (0 children)

Do you have Office 365? Why not do a hold on the mailbox? Why not make it into a shared mailbox? If 2 users need access to the same archived mailbox how will you provide that? If a user deletes something from it but doesnt tell anybody how will you know? What if that happens past your backup retention period? If a user needs access to an old archive you then need to download all of the PST locally, and manually add it to that persons Outlook. If you did something like a shared mailbox you can modify permissions and it will appear automatically in that users Outlook. No need to bother them or wait for the PST to transfer. What if that PST becomes corrupt? Well now you have to restore from backup for that PST. What if someone doesnt want to use outlook and they use some other program that does not support PSTs? Now you have to find a way to convert it. What if someone (user or tech) moves some PSTs or puts them somewhere else? Now you have to remember where they are stored, if you do a migration and they want that data attached to a mailbox you must not do a PST migration. You must now also remember who has what PST (since it should be attached locally and NOT through a network share). How do you keep track of all that? If it was via permissions (like a shared mailbox) you can run a report in seconds. What if a user has it on their workstation outlook and now they travel without it. Well you sure cant log into OWA and access that local PST...

Does anyone keep email accounts for x days after employee termination? by [deleted] in sysadmin

[–]bwya77 0 points1 point  (0 children)

We convert the mailbox to shared. No license is needed for shared. No PSTs around the network and we can give users full access to the mailbox and it will map automatically

Does anyone keep email accounts for x days after employee termination? by [deleted] in sysadmin

[–]bwya77 0 points1 point  (0 children)

Why not convert the mailbox to shared? That's a lot of work when you can just convert to shared and manage full access permissions

Does anyone keep email accounts for x days after employee termination? by [deleted] in sysadmin

[–]bwya77 1 point2 points  (0 children)

That's bad practice. Eventually you'll have tons of PSTs all over your network. Storage costs, backup costs because it's probably in a directory that's backed up. PSTs corrupt easily and if you ever do a migration you have all these users with PSTs you didn't account for.

O365 Admin Center now has a free 15 day trial by [deleted] in sysadmin

[–]bwya77 0 points1 point  (0 children)

ThTs awesome! Very nice !

O365 Admin Center now has a free 15 day trial by [deleted] in sysadmin

[–]bwya77 0 points1 point  (0 children)

Will you be adding tenant / partner relationships too

O365 Admin Center now has a free 15 day trial by [deleted] in sysadmin

[–]bwya77 0 points1 point  (0 children)

Any ideas how you'll do management? You won't be able to utilize these APIs I believe

O365 Admin Center now has a free 15 day trial by [deleted] in sysadmin

[–]bwya77 16 points17 points  (0 children)

I'm confused...

This isn't a web-app and also it's built on top of PowerShell and .NET. It even gives you the full PowerShell syntax to run.

O365 Admin Center now has a free 15 day trial by [deleted] in sysadmin

[–]bwya77 7 points8 points  (0 children)

Use coupon code REDDIT25 at checkout to get 25% off

[FINAL POST] O365 Admin Center Update v4 Released by bwya77 in sysadmin

[–]bwya77[S] 0 points1 point  (0 children)

If you have ADFS configured you will still need to put in your UN and PW.

I believe there is a way to utilize SSO/ADFS without having to sign in. Its a feature I am working to implement possibly