• LOGIN
  • No products in the cart.

Windows PowerShell Admin Interview Questions and Answers

What’s Windows Power shell?

Windows PowerShell could be a new Windows command-line shell designed particularly for system directors. Within the SharePoint administration context, Windows PowerShell is another administration tool that supersedes the present Stsadm.exe.

However is Windows Power shell completely different from Stsadm?

Not like steady, that settle for and come back text, Windows PowerShell is made on the Microsoft .NET Framework and accepts and returns .NET Framework objects. Additionally to it it additionally provides you access to the classification system on the PC in order that you’ll be able to access written record, digital signature certificate etc..

Windows PowerShell Admin Training

What square measure cmdlet’s?

Windows PowerShell introduces the conception of a cmdlet that square measure straightforward integrate commands, written in an exceedingly .net language like C# or VB.

Are you able to produce PowerShell scripts for deploying elements in SharePoint?

If you’re making a web part with VS 2010 then you’ll be able to deploy it victimisation ctrl + f5. However, to activate the web part feature you’ll be able to write a powershell script (.ps1) and execute it once deployment.

Wherever is Power shell situated in sharePoint?

On the beginning menu, click All Programs -> Click Microsoft SharePoint 2010 product -> Click SharePoint 2010 Management Shell.

The way to add SharePoint PowerShell sanpin?

Add-PSSnapin -Name Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

The way to take away SharePoint PowerShell snapins?

Remove-PSSnapin -Name Microsoft.SharePoint.PowerShell

What’s the extension of PowerShell script file?

The PowerShell script file saved as .ps1 (e.g MyScript.ps1)

The way to load/import SharePoint library/assembly in to windows PowerShell command let?

The SharePoint assembly may be loaded victimisation partial name or victimisation full path. realize the various approach loading details below.

Loading the assembly with partial name:

[System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”)

Loading the assembly from put in location:

[System.Reflection.Assembly]::LoadFrom(“”)

If you would like aiming to install a webpart or any custom answer in SharePoint 2010 exploitation PowerShell What permissions does one need?

so as to use Windows PowerShell for SharePoint 2010 product, a user should be a member of the SharePoint_Shell_Access role on the configuration and content information. additionally to the present, the user should even be a member of the WSS_ADMIN_WPG native cluster on the PC wherever SharePoint 2010 product is put in.

Windows PowerShell Admin Training

The way to list all the commands in PowerShell?

Get-Command * commands gets you all the Powershell command

How would you ping an overseas laptop with five packets victimization PowerShell?

Again, this is often basic stuff. I wouldn’t get trapped in ideology, the great recent ping.exe is absolutely valid, as long because the candidate is aware of the choice to specify five packets.

If you actually wish the additional PowerShelly Test-Connection, then raise : I simply wish the command to come back $True if the ping is undefeated and $False if it’s not.

November 26, 2019
GoLogica Technologies Private Limited  © 2019. All rights reserved.