How should you complete the relevant Windows PowerShell commands?

DRAG DROP
A company plans to make Office Web Apps available for all users. The company deploys a multi-server, loadbalanced Office Web Apps server farm.
You install and configure SSL certificates.
The SharePoint farm operates in both internal and external zones.
You have the following requirements:
 Servers must connect to both zones.
 The Office Web apps farm must communicate securely with SharePoint Servers.
You need to configure the environment.
How should you complete the relevant Windows PowerShell commands? To answer, drag the appropriate
Windows PowerShell segments to the correct location. Each Windows PowerShell segment may be used once,
more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

DRAG DROP
A company plans to make Office Web Apps available for all users. The company deploys a multi-server, loadbalanced Office Web Apps server farm.
You install and configure SSL certificates.
The SharePoint farm operates in both internal and external zones.
You have the following requirements:
 Servers must connect to both zones.
 The Office Web apps farm must communicate securely with SharePoint Servers.
You need to configure the environment.
How should you complete the relevant Windows PowerShell commands? To answer, drag the appropriate
Windows PowerShell segments to the correct location. Each Windows PowerShell segment may be used once,
more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

Answer: See the explanation

Explanation:
Box 1: New-SPWOBIBinding
Box 2: Get-SPWOPIZone
Box 3: Set-SPWOPIZone
Box 4: external-https

Box1: New-SPWOBIBinding
The New-SPWOPIBinding cmdlet associates file name extensions or applications to actions on the current
SharePoint farm where this cmdlet is run. Each binding allows you to use the WOPI application to view or edit
files in your SharePoint library.
To use a WOPI application, such as a server that runs Office Web Apps Server, for Office Web Apps, you must
run this cmdlet on the SharePoint farm before you can use the Office Web Apps.
Example: New-SPWOPIBinding -ServerName “Server.corp.Contoso.com”
This example creates bindings for all the applications and file name extensions that the WOPI application
supports on the current SharePoint farm where this cmdlet is run.
Box 2: Get-SPWOPIZone
The Get-SPWOPIZone returns the zone that is configured on the current SharePoint farm for the WOPI
application (such as a server that runs Office Web Apps Server) to use.
Box 3: Set-SPWOPIZone
The Set-SPWOPIZone cmdlet configures the zone that the current SharePoint farm will use to navigate the
browser to the WOPI application (such as a server that runs Office Web Apps Server). The SharePoint Server
page in the browser creates a frame that contains a page on the WOPI application. The zone for the URL of the
WOPI application page is determined by this setting.
Box 4: external-https
If you have a SharePoint farm that’s internal and external as in this scenario, we must specify external.
We must use secure communication, https not http. Only use HTTP when you are on a fully secure network
that uses IPSEC (full encryption) or in a test environment that does not contain sensitive data.
Example:
Set-SPWOPIZone -Zone “external-https”
This example configures the current SharePoint farm to use external connections through HTTPS to the WOPI
application (such as a server that runs Office Web Apps Server).
Incorrect answers:
* Set-SPWOPIBinding
The Set-SPWOPIBinding cmdlet updates the default click action for an application or file name extension
binding. For example, you can set the default click action for viewing a Word document in a SharePoint library.
But we are not require to redefine click actions.
Typically, you would use the output of the Get-SPWOPIBinding command as the value for the -Identity property
of this command.Example: Get-SPWOPIBinding -Action “view” -Application “Word”| Set-SPWOPIBinding -DefaultAction https://technet.microsoft.com/en-us/library/jj219441.aspx
https://technet.microsoft.com/en-us/library/jj219451.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *