View Count: 0
Duration: 46 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 33 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Sorry!For this module there is no Sample Code.
Sorry!For this module there is no Assignments.
Question No: 1 of 46
Which of the following is true regarding Windows Powershell? 
Options:
  1. It is built on .NET framework
  2. It is used to do repeatable tasks
  3. It is a command line tool used to do provisioning, maintenance of tasks
  4. All the above
View Answer/Explanation:
d
Explanation:
Windows PowerShell is a command-line tool and supports scripting language from Microsoft. It can be used to write scripts that can be scheduled with Windows Task Scheduler. You have lot more granular options to do backup and recovery operations than what is present with Central administration interface. Administrators can work directly withweb applications, site collections, sites, lists and much more through Powershell. Windows PowerShell is located at the following path: <%SystemRoot%>\System32\WindowsPowerShell\v1.0\PowerShell.exe

Question No: 2 of 46
What is command to run to make available help for SharePoint cmdlet? 
Options:
  1. Get-Help
  2. Update-Help
View Answer/Explanation:
b
Explanation:
SharePoint PowerShell help is not available locally by default. Running Update-Help will download the help files from the Internet. Once help is installed you can run or example:- Get-Help New-SPWebApplication –Full or to get online help Get-Help Get-SPSite -Online

Question No: 3 of 46
What is the snapin that should be added to Windows Powershell to load SharePoint cmdlets? 
Options:
  1. Add-PSSnapinMicrosoft.SharePoint.PowerShell
  2. Add-SnapinMicrosoft.Windows.SharePoint.Powershell
  3. Add-PSSnapinMicrosoft.Windows.SharePoint.Powershell
  4. None of the above
View Answer/Explanation:
a
Explanation:
Add-PSSnapinMicrosoft.SharePoint.PowerShell will load the sharePointcmdlets into Windows Powershell

Question No: 4 of 46
SharePoint 2013 Management shell is a Windows Powershell console that is already loaded with SharePoint Powershellsnapin. 
Options:
  1. True
  2. False
View Answer/Explanation:
a
Explanation:
The SharePoint.ps1 file that is located in %CommonProgramFiles%\Microsoft Shared\Web Server Extensions\15\Config\PowerShell\Registration has built-in registration of the snap-in.

Question No: 5 of 46
Which of the following is true regarding a Script file in Powershell? 
Options:
  1. It has an extension of .ps1
  2. It can be executed by typing \Script.ps1( where Script is the filename)
  3. A Powershell script can also be executed as a batch file (runcmd.bat)
  4. All the above
View Answer/Explanation:
d
Explanation:
No Explanation

Question No: 6 of 46
Which of the following is true regarding Powershell scripts? 
Options:
  1. You can use filters, variables and operators
  2. You can use aliases for some of the commands
  3. You can use conditions, loops, try-catch,functions
  4. All the above
View Answer/Explanation:
d
Explanation:
Filters can be used while passing the object to the next cmdlet in a pipeline. They are declared using Where-Object Example:-Get-Process | Where-Object {$_.ProcessName -like "w*"} Aliases:-can be used for some commands Example:- dir ,ls : Get -ChildItem cls : Clear - Host where, ? : Where -Object foreach , % : ForEach -Object gcm : Get -Command gm : Get -Member

Question No: 7 of 46
What are the important types of members of .NET objects used in Powershell scripts? 
Options:
  1. Functions
  2. Methods
  3. Properties
  4. Both b and c
View Answer/Explanation:
d
Explanation:
.NET objects have two very important types of members: Properties (attributes of the object) and Methods (actions you can perform on the object) Ex:- $today = [System.DateTime]::Today{"::" operator is used to call the static members) Write-Host $today.ToLongDateString()

Question No: 8 of 46
Can you write your own custom cmdlets? 
Options:
  1. Yes
  2. No
View Answer/Explanation:
a
Explanation:
No Explanation

Question No: 9 of 46
What permissions are needed for a user to run Powershellcmdlets? 
Options:
  1. The user must be a member of the SharePoint_Shell_Access role
  2. The user must also be a member of the WSS_ADMIN_WPG
  3. Both a and b
  4. Only a
View Answer/Explanation:
c
Explanation:
The user must be a both a member of the SharePoint_Shell_Access role on the configuration and content database and also be a member of the WSS_ADMIN_WPG local group on the system where SharePoint 2010 Products is installed.

Question No: 10 of 46
SharePoint power shell commands for getting List all files / directories in the (current) directory 
Options:
  1. SharePoint power shell commands for getting List all files / directories in the (current) directory
  2. gci
  3. dir
  4. ls
  5. All of the above
View Answer/Explanation:
e
Explanation:
SharePoint power shell commands for getting List all files / directories in the (current) directory is • Get-ChildItem • gci • dir • ls

  1