SlideShare a Scribd company logo
Powershell
&
Dell Command | Powershell Provider
Arti Srivastava
Agenda
2
• Powershell Introduction
• Dell Command | Powershell Provider
History
3
Powershell Version Release
Date
OS Supported .Net framework version
supported
Powershell1.0 2006 Windows2003, XP .Net 2.0
Powershell 2.0 2009 Windows 2008 R2 .Net 2.0
Powershell 3.0 2012 Windows 2012,
Windows 8
.Net 4.0
Powershell 4.0 2013 Wwindows 2012 R2,
Windows 8.1
.Net 4.5
Powershell 5.0 2014 NA .Net 4.5
Determine Power shell Version
4
• Windows Management Framework
• Download MSU file
• RT is for tablet
• $PSVersionTable
• $PSVersionTable.PSVersion
How to get Help
5
• Help
• Get-help
• Get-help get-date -showwindow
• Gcm is alias
• Gcm event*
• Gcm –verb get
• Gcm –noun even*
• Update-help(Update all the help files)
• Save-help
ISE
6
• Integrated Scripting Environment
• IDE -> Integrated Development Environment
Cmdlet structure
7
• Verb-Noun –parameter value switch
• Parameter
– Positional
– Named
• switch-> whatif,
• Get-log –logname Application –computername dc1 –newest 3
8
Alias cat -> Get-Content
Alias cd -> Set-Location
Alias copy -> Copy-Item
Alias ls -> Get-ChildItem
Alias echo -> Write-Output
Alias history -> Get-History
Alias kill -> Stop-Process
Alias man -> help
Alias mount -> New-PSDrive
Alias mv -> Move-Item
Alias ps -> Get-Process
Alias wget -> Invoke-WebRequest
Get-alias(Some of the linux commands in Powershell)
Cmdlet structure
9
• Verb-Noun –parameter value switch
• Parameter
– Positional
– Named
• switch-> whatif,
• Get-log –logname Application –computername dc1 –newest 3
Dell Command | Powershell Provider
DCPP can configure the BIOS settings on
Precision, Latitude, Optiplex and Venue line of
client systems.
10
DCPP Installation
11
• DCPP can be installed in 2 ways
– Zip/Self Extractable file available in techcenter
– Using Powershell Gallery
DCPP Installation(Zip/Self Extractable file)
12
• DCPP Zip/Self Extractable file - link
• Refer this link for detailed instructions
DCPP Installation(Powershell Gallery)
13
• PowerShell 5.0 required to deploy DCPP using Powershell gallery
• Set-ExecutionPolicy RemoteSigned
• Check if dellbiosprovider is already available -> Get-module -listavailable
• Find-module dell*
• Install-module dellbiosprovider
• Import-module dellbiosprovider
• gdr
• cd dellsmbios:
• dir
• Get-item .Adaptersettings | select *
• set-item .Adaptersettings
References
14
http://en.community.dell.com/techcenter/enterprise-client/w/wiki/6901.dell-client-
powershell-provider
https://www.powershellgallery.com/packages/DellBIOSProvider/
http://www.microsoft.com/en-us/download/details.aspx?id=46889

More Related Content

Powershell dcpp

Editor's Notes

  1. Minix is for class teaching only. No intention for commercial use
  2. Minix is for class teaching only. No intention for commercial use
  3. Minix is for class teaching only. No intention for commercial use
  4. Minix is for class teaching only. No intention for commercial use
  5. Minix is for class teaching only. No intention for commercial use
  6. Minix is for class teaching only. No intention for commercial use
  7. Minix is for class teaching only. No intention for commercial use
  8. Minix is for class teaching only. No intention for commercial use
  9. Minix is for class teaching only. No intention for commercial use