TidBits: Skype For Business Online

Standard

Skype for Business Online Meeting Limits
are you ready to get real fuckin confused, then just go here.. what micrsoft expects you to memorize is incomprehensible!
Reference: https://technet.microsoft.com/en-us/library/skype-for-business-online-limits.aspx

Another Tidbit
Issue: You can’t connect to Skype for Business Online, or certain features don’t work, because an on-premises firewall blocks the connection

Reference: https://support.microsoft.com/en-us/kb/2409256

Skype for Business (aka Lync) – Nightmare

Standard

#Basic Commands

Get-CsOnlineUser -Identity “kenmyer@litwareinc.com”

Set-CsPushNotificationConfiguration -EnableApplePushNotificationService $False -EnableMicrosoftPushNotificationService $False

Set-CsMeetingConfiguration -DesignateAsPresenter “Everyone”

Get-CsTenant

Get-CsTenantLicensingConfiguration

#Returns info about users who have accounts homed with your Skype for Bus. online tenant
Get-CsOnlineUser

#Enables you to assign, modify, or unassign an audio conferencing provider to individual users.
Get-CsUserAcp
Remove-CsUserAcp
Set-CsUserAcp

#These cmdlets do not return information about the audio providers available to be assigned to those users. For that information, run this command instead
Get-CsAudioConferencingProvider

#Client policies are used to determine the Lync client features that are available to users. For example, you might give the capability to transfer files to some users, but not to others.
Get-CsClientPolicy
Grant-CsClientPolicy

#Skype/Lync Policy Photo Size
Get-CsClientPolicy | Where-Object {$_.MaxPhotoSizeKb -gt 10} | Set-CsClientPolicy -MaxPhotoSizeKb 10

#Skype Policy Emoticons
Set-CsClientPolicy -Identity RedmondClientPolicy -DisableEmoticons $True -DisableHtmlIm $True -DisableRTFIm $True

#Skype Photo Policy Reference: https://technet.microsoft.com/en-us/library/gg398300.aspx

# Reference Links:
# https://technet.microsoft.com/en-us/library/dn362776(v=ocs.15).aspx
# https://technet.microsoft.com/en-us/library/dn362817(v=ocs.15).aspx

#Conferencing policies determine the features and capabilities that can be used in a conference. This includes everything from whether the conference can include IP audio and video to the maximum number of people who can attend a meeting.
Get-CsConferencingPolicy
Grant-CsConferncingPolicy

#External access policies are used to determine whether your users are allowed to communicate with users from federated domains, and/or whether your users are allowed to communicate with users who have accounts on public IM providers, such as Windows Live or AOL
Get-CsExternalAccessPolicy
Grant-CsExternalAccessPolicy

#Managing the Skype for Business client from Skype for Business Online

#Retrieves information about the URI restrictions in use in your organization.
Get-CsImFilterConfiguration

#Returns information about two important aspects of presence subscriptions: prompted subscribers and category subscriptions.
Get-CsPresencePolicy

#Configures default privacy values in Skype for Business Online, while still giving users the option to change these values
Get-CsPrivacyConfiguration
Set-CsPrivacyConfiguration

#Managing Exchange Unified Messaging and hosted voice mail in Skype for Business Online

#Creates and manages contact objects used for Auto Attendant and Subscriber Access services, when Exchange UM is a hosted service.
Get-CsExUmContact
New-CsExUmContact
Remove-CsExUmContact
Set-CsExUmContact

#Manages hosted voicemail policies used in the organization. Hosted voicemail policies specify how unanswered calls are routed to the Exchange UM service
Get-CsHostedVoicemailPolicy
Grant-CsHostedVoicemailPolicy
#Example
Get-CsOnlineUser -Identity “kenmyer@litwareinc.com” | Select-Object HostedVoiceMail

#Managing communications in Skype for Business Online with outside users and organizations

#Allows users to communicate with all domains except for those specified on the blocked domains list.
Federation is a service that enables users to exchange IM and presence information with users from other domains. Typically, administrators use allowed and blocked lists to specify the outside domains that users can communicate with.
New-CsEdgeAllowAllKnownDomains

#Limits user communication to a specified collection of domains.
Users will be allowed to communicate only with domains that appear on the allowed domains list.
New-CsEdgeAllowList

#Modifies the allowed or blocked domain lists.
New-CsEdgeDomainPattern

#Enables and disables federation with other domains and federation with public providers.
Get-CsTenantFederationConfiguration
Set-CsTenantFederationConfiguration

#Assigns the appropriate values to hybrid configuration settings.
Get-CsTenantHybridConfiguration
Set-CsTenantHybridConfiguration

#Manages federation with public providers.
Get-CsTenantPublicProvider
Set-CsTenantPublicProvider

#Managing Skype for Business Online meetings and conferences

#Manages endpoint devices for meeting rooms.
Disable-CsMeetingRoom
Enable-CsMeetingRoom
Get-CsMeetingRoom
Set-CsMeetingRoom

#Returns information about the audio conferencing providers that your organization is contracted with.
Get-CsAudioConferencingProvider

#Controls the type of meetings that users can create and determines how meetings deal with anonymous users and dial-in conferencing users.
Get-CsMeetingConfiguration
Set-CsMeetingConfiguration

#Managing cell phones and mobile devices in Skype for Business Online

#Enables or disables push notification.
Get-CsPushNotificationConfiguration
Set-CsPushNotificationConfiguration

#Updates the meeting URL for the specified Lync Online tenant.
#The updated URL uses a simpler, more standardized format that makes it easier for clients to locate and connect to meetings.

Update-CsTenantMeetingUrl

Powershell Cmdlets:
https://technet.microsoft.com/en-us/library/dn362776(v=ocs.15).aspx
https://technet.microsoft.com/en-us/library/dn362817(v=ocs.15).aspx

Start-ManagedFolderAssistant

Standard

Reference: https://technet.microsoft.com/en-us/library/aa998864(v=exchg.160).aspx

Start-ManagedFolderAssistant

Applies to: Exchange Online, Exchange Server 2016

This cmdlet is available in on-premises Exchange Server 2016 and in the cloud-based service. Some parameters and settings may be exclusive to one environment or the other.

Use the Start-ManagedFolderAssistant cmdlet to immediately start messaging records management (MRM) processing of mailboxes that you specify.

For information about the parameter sets in the Syntax section below, see Syntax.

This example processes the mailbox for a user with the alias Chris.

Start-ManagedFolderAssistant -Identity "Chris"

This example uses the Get-Mailbox command to retrieve all the mailboxes that resolve from the ambiguous name resolution (ANR) search on the string “Chr” in the domain DC01 (for example, users such as Chris Ashton, Christian Hess, and Christa Geller), and the results are piped to the Start-ManagedFolderAssistant cmdlet for processing.

Get-Mailbox -Anr Chr -DomainController DC01 | Start-ManagedFolderAssistant

The Managed Folder Assistant uses the retention policy settings of users’ mailboxes to process retention of items. This mailbox processing occurs automatically. You can use theStart-ManagedFolderAssistant cmdlet to immediately start processing the specified mailbox.

Plan for Exchange Online and Skype for Business Online

Image

Spam/Malware

Get-MalwareFilterPolicy
Set-MalwareFilterPolicy
New-MalwareFilterPolicy
Remove-MalwareFilterPolicy
New-MalwareFilterRule
Set-MalwareFilterRule
Enable-MalwareFilterRule
Disable-MalwareFilterRule

Connection Filter policies
Connection Filter policies let you always allow email from trusted senders and always block email from known spammers. Exchange Online only supports the default connection Filter policy. You configure connection Filters by configuring an IP Allow list and an IP block list.

Get-HostedConnectionFilterPolicy
#Use this cmdlet when you want to review the default policy settings.

Set-HostedConnectionFilterPolicy
#Use this cmdlet to configure the connection filter policy settings. This cmdlet includes the IPAllowLIst and IPBlockList parameters

Spam Filter policies
Spam Filter policies allow you to configure how incoming messages are categorized, including which characteristics a message might have that means you want if flagged as spam. The default policy applies to all users in the company. You can also configure custom policies that apply to specific users, groups, and domains within the organization.

Get-HostedContentFilterPolicy
#This allows you to view existing spam filter settings.

Set-HostedContentFilterPolicy
#Use this cmdlet to edit spam filter settings, including the recipients to which the spam filter policy applies.

New-HostedContentFilterPolicy
#Use this cmdlet to create a new custom spam filter policy.

Remove-HostedContentFilterPolicy
#This cmdlet allows you to remove a custom spam filter policy.

Quarantine
Content filtering can be configured to send messages to Quarantine rather than to a recipient’s junk email folder, or to simply delete them. Messages sent to Quarantine can be viewed in the Quarantine section of the Exchange Admin Center, as shown in Figure 4-31. Messages
in Quarantine will remain there until released by an administrator or until they are automatically deleted when the Quarantine period expires. The maximum Quarantine period for messages recognized as spam is 15 days.

Get-QuarantineMessage
#Allows you to search for messages in quarantine. For
example use the following command to find all messages from the adatum.com email domain:

Get-QuarantineMessage | ? {$_.Senderaddress –like “*@adatum.com”} Release-QuarantineMessage
#Allows you to release a message from quarantine. Use the ReleaseTo All parameter to allow the message.


Migrations

MigrationTypeComparision

Mailbox Powershell (Basic Commands)

Standard

Basic Powershell for Mailbox

#Create a mailbox
Set-Mailbox “John Doe” -EmailAddresses @{Add=Johnny.Doe@acme.com}

#send as
Add-RecipientPermission –Identity “Boss Hog” –Trustee “Roscoe Coltrane” –AccessRights SendAs

#remove send as
Remove-RecipientPermission –Identity “Boss Hog” –Trustee “Roscoe Coltrane” –AccessRights SendAs

#send on Behalf
Set-Mailbox –Identity boss.hog@contoso347er.onmicrosoft.com –GrantSendOnBehalfTo
roscoe.coltrane@contoso347er.onmicrosoft.com

#full access to another mailbox
Add-MailboxPermission –Identity “Boss Hog” –User “Roscoe Coltrane” –AccessRights FullAccess
–InheritanceType all

#create a new shared mailbox
New-Mailbox –Shared –Name “Accounting” –DisplayName “Accounting” –Alias Accounting

#create an equipment mailbox
New-Mailbox –Name “CompanyHovercraft” -Equipment

#create a room mailbox
New-Mailbox –Name SydConf –DisplayName “Sydney Conference Room” -Room

#create a new mail contact
New-MailContact –Name “Thomas Andersen” –ExternalEmailAddress tandersen@adatum.com

#set additional email addresses for the contact
#Uppercase SMTP – defines the primary email address.
Set-MailContact –Name “Thomas Andersen” –EmailAddresses
“SMTP:tandersen@adatum.com”,”smtp:tandersen@tailspintoys.com”

#New Distribution Group
New-DistributionGroup –Name “ExampleDistGroup” –Alias ExampleDG –MemberJoinRestriction Open

# approval required for distribution group
Set-DistributionGroup –Identity “ExampleDistGroup” –MemberJoinRestriction
‘ApprovalRequired’

#create a security group
New-DistributionGroup –Name “ExampleSecurityGroup” –Alias ExSecGroup –Type Security

#create a dynamic distribution group
New-DynamicDistributionGroup –Name “AccountingDDG” –Alias “AccountingDDG”
–IncludedRecipients MailboxUsers -ConditionalDepartment “Accounting”

#Enable a mailbox for archiving
Enable-mailbox “Kim Akers” –Archive

#To Enable archives on all mailboxes that do not currently have archiving

Get-Mailbox –Filter {ArchiveStatus –Eq “None” –AND RecipientTypeDetails –eq
“UserMailbox”} | Enable-mailbox -Archive

#Retention Policy Tag
New-RetentionPolicyTag “Research-Default” -Type All -RetentionEnabled $true
-AgeLimitForRetention 180 -RetentionAction PermanentlyDelete

#Retention Policy
New-RetentionPolicy “Contoso General” –RetentionPolicyTagLinks “Research”,”Accounting”

#Set a mailbox to a retention policy
Set-Mailbox “Don Funk” –RetentionPolicy “ExamplePolicy”


Spam/Malware Related

Get-MalwareFilterPolicy
Set-MalwareFilterPolicy
New-MalwareFilterPolicy
Remove-MalwareFilterPolicy
New-MalwareFilterRule
Set-MalwareFilterRule
Enable-MalwareFilterRule
Disable-MalwareFilterRule

#Connection Filter policies
Get-HostedConnectionFilterPolicy
Set-HostedConnectionFilterPolicy

#Spam Filter policies
Get-HostedContentFilterPolicy
Set-HostedContentFilterPolicy
New-HostedContentFilterPolicy
Remove-HostedContentFilterPolicy

#Quarantine
#Example Get-QuarantineMessage | ? {$_.Senderaddress –like “*@adatum.com”}
Release-QuarantineMessage
QuarantineMessegae
Get-QuarantineMessageHeader
#Example
Get-QuarantineMessage –StartReceivedDate 07/20/2015 –EndReceivedDate 07/21/2015


Legal/Litigation Hold/eDiscovery

#Litigation Hold
Set-Mailbox kim.akers@contoso347er.onmicrosoft.com –LitigationHold $True
–LitigationDuration 180
#Litigation Hold All Mailboxes
Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq “UserMailbox”} |
Set-Mailbox -LitigationHoldEnabled $true -LitigationHoldDuration 90

#in place eDiscovery Hold
New-MailboxSearch –Name “Hold-Hovercraft” –SourceMailboxes Research –SearchQuery
“‘Hovercraft’ AND ‘Secret'” –InPlaceHoldEnabled $True
#to disable the “in place” eDiscovery Hold
Set-MailboxSearch “Hold-Hovercraft” –InPlaceHoldEnabled $false
#to remove the “in place” eDiscovery Hold
Remove-MailboxSearch “Hold-Hovercraft”


OWA/Active Sync

#OWA
Set-CasMailbox dan.jump@contoso347er.onmicrosoft.com –OwaEnabled $False
#disable active sync for all
Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq “UserMailbox”} |
Set-CasMailbox –OwaEnabled $False
enable active sync for a user
Set-CasMailbox dan.jump@contoso347er.onmicrosoft.com –OwaEnabled $True

#active sync
Set-CASMailbox –Identity don.funk@contoso347er.onmicrosoft.com –ActiveSyncEnabled $False
#disable active sync for all
Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq “UserMailbox”} |
Set-CasMailbox –ActiveSyncEnabled $False