Tag: Script

  • ,

    Microsoft Security – Get all users without a compliant device

    When you want activate security it is useful to understand who will potentially be negatively impacted by your settings. For instance if your enabling compliant device requirement for certain applications, I would recommended knowing who will be blocked and doesn’t have a compliant device they can access the applications from. If you are implementing Azure […]

    Read more
  • Sharing Script with Github

    Sharing Script with Github

    I have started using Github for several reason, but mainly for keeping track of my script/modules, version controlling my scripts/modules, get contribution from friends and fellow comrads, and one day, perhaps I will get a PowerShell Module accepted for Microsoft PowerShell Gallery. I am mainly focusing on Microsoft and have created a Repository named Microsoft: […]

    Read more
  • PS Script: AAD or AD?

    PS Script: AAD or AD?

    Complementing the PS Script by choosing either AAD or AD to hold Your Security Group and Memberships. [code language=”powershell”] #Azure Active Directory Import-Module MSOnline Connect-MsolService #Find ObjectId of every Security Group $Groups = Get-MsolGroup | Select ObjectId,DisplayName $ExchangeGroupObjectId = $Groups | where {$_.DisplayName -eq "Exchange_Users"} | Select ObjectId #Placeholder for ObjectIds of every member of […]

    Read more
  • PS Script: Assign license based on AAD Security Group

    PS Script: Assign license based on AAD Security Group

    So, just to make it easy, here is the Exchange Online assigning script without using it for Unlicensed Users only. AAD Security Group Name: Exchange_Users See earlier post for pre reqs and information. .SYNOPSIS Script that assigns Office 365 licenses based on Group membership in WAAD. .DESCRIPTION #The script assigns license Exchange Online Plan 1 […]

    Read more
  • PS Script: Assign Exchange Online licenses based on AAD Security Group

    PS Script: Assign Exchange Online licenses based on AAD Security Group

    Same script edited to assign Exchange Online instead of Lync Online. AAD Security Group Name: Exchange_Users Same pre reqs and more information in my earlier post. [code language=”powershell”] <# .SYNOPSIS Script that assigns Office 365 licenses based on Group membership in AAD. .DESCRIPTION The script assigns license Exchange Online Plan 1 or 2 based on […]

    Read more
  • PS Script: Assign license based on WAAD Security Group

    PS Script: Assign license based on WAAD Security Group

    A lot of customers buy Package of Plans within Office 365, like Enterprise or MidSize. These Package of License Plans are just build up With the single Plans, but they don’t work the same way when assigning the Licenses With PowerShell. Therefore I made a PowerShell Script that assigns the License Plans underneath a Package, […]

    Read more
  • PS: Script license assigning for Office 365

    PS: Script license assigning for Office 365

    Wanted to share a script for assigning Licenses to Office 365 Users based on Security Groups in Your local Active Directory.   #Command One – Find users in local Security Group $LyncGroup=Get-ADGroupMember -Identity ‘LyncOnline’ -Recursive | %{get-aduser $_.samaccountname} | Select UserPrincipalName #$LyncGroup is just a placeholder for every users UserPrinciplaName found in the Security Group […]

    Read more
  • Changes coming to default address lists in Exchange Online

    Changes coming to default address lists in Exchange Online

    From my test tenant I received this message in my Message Center. Just an FYI! On May 31, Microsoft will be implementing a change to default address lists in Exchange Online, to prepare your organization for new Groups capabilities coming later this year. As a result of this change, any scripts being run in your […]

    Read more
  • PS Script is not digitaly signed

    PS Script is not digitaly signed

    Office 365 leverage PowerShell in a great way and if your an administrator for Office 365, this is the way to do Office 365 Administration 😉 A lot of scripts can help us use PowerShell easier, but scripts are not neccessary digitaly signed and default PowerShell will not run these script. Short command for changing […]

    Read more

Ehlo!

I am Roy Apalnes, a Microsoft Cloud Evangelist working av Sopra Steria. Main focus in Microsoft Security and Endpoint Management, with a bigger picture in mind.

Featured Posts