Presentation is loading. Please wait.

Presentation is loading. Please wait.

10 PowerShell Commands Every Admin Should Know David Price.

Similar presentations


Presentation on theme: "10 PowerShell Commands Every Admin Should Know David Price."— Presentation transcript:

1 10 PowerShell Commands Every Admin Should Know David Price

2

3

4

5 Windows PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command- line shell and associated scripting language built on the.NET Framework. http://en.wikipedia.org/wiki/Windows_PowerShell

6

7 Commands = Cmdlets (pronounced command lets)

8 Get-Help

9 PS C:\Windows\system32> $MyWorld = "Hello World" PS C:\Windows\system32> $MyWorld | Get-Member

10

11 STSADMRIP

12 Add-PSsnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

13 SPFarm SPWebApplication SPSite SPWeb SPList SPListItem SPField

14

15 1.Check SharePoint version 2.Change the SharePoint Logo 3.Create a new Site Collection 4.Change the URL of the new Site Collection 5.Give Domain Admins full control of the new site 6.Move the new site collection to a new content database 7.Install and enable a new farm solution 8.Look up an error message 9.Change the location of the log files 10.Backup the new site collection

16 Get-SPFarm

17

18

19

20

21

22

23

24

25

26

27

28

29

30 PowerShell Resources Windows PowerShell for SharePoint 2013 reference https://technet.microsoft.com/en-us/library/ee890108.aspx Stsadm to Windows PowerShell mapping in SharePoint 2013 https://technet.microsoft.com/en-us/library/ff621084.aspx SharePoint 2013 Site Template ID List http://absolute-sharepoint.com/2013/06/sharepoint-2013-site-template-id-list-for- powershell.html http://absolute-sharepoint.com/2013/06/sharepoint-2013-site-template-id-list-for- powershell.html How to enable Remote PowerShell for SharePoint 2013 for Non- Administrators http://blogs.technet.com/b/anneste/archive/2014/09/17/how-to-enable-remote- powershell-for-sharepoint-2013-for-non-administrators.aspx http://blogs.technet.com/b/anneste/archive/2014/09/17/how-to-enable-remote- powershell-for-sharepoint-2013-for-non-administrators.aspx Windows PowerShell for SharePoint Online https://technet.microsoft.com/en-us/library/fp161362.aspx

31 Usergroup contacts: @SharePointUtah www.facebook.com/UtahSharePointUsersGroup www.UTSharePoint.com

32 Please join us for SharePint! SharePint will be held at Red Rock Brewing, 254 South 200 West, Salt Lake City, following the prize raffle


Download ppt "10 PowerShell Commands Every Admin Should Know David Price."

Similar presentations


Ads by Google