Powershell dcpp
- 3. 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
- 4. Determine Power shell Version
4
• Windows Management Framework
• Download MSU file
• RT is for tablet
• $PSVersionTable
• $PSVersionTable.PSVersion
- 5. 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
- 7. Cmdlet structure
7
• Verb-Noun –parameter value switch
• Parameter
– Positional
– Named
• switch-> whatif,
• Get-log –logname Application –computername dc1 –newest 3
- 8. 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)
- 9. Cmdlet structure
9
• Verb-Noun –parameter value switch
• Parameter
– Positional
– Named
• switch-> whatif,
• Get-log –logname Application –computername dc1 –newest 3
- 10. Dell Command | Powershell Provider
DCPP can configure the BIOS settings on
Precision, Latitude, Optiplex and Venue line of
client systems.
10
- 11. DCPP Installation
11
• DCPP can be installed in 2 ways
– Zip/Self Extractable file available in techcenter
– Using Powershell Gallery
- 13. 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
Editor's Notes
- Minix is for class teaching only. No intention for commercial use
- Minix is for class teaching only. No intention for commercial use
- Minix is for class teaching only. No intention for commercial use
- Minix is for class teaching only. No intention for commercial use
- Minix is for class teaching only. No intention for commercial use
- Minix is for class teaching only. No intention for commercial use
- Minix is for class teaching only. No intention for commercial use
- Minix is for class teaching only. No intention for commercial use
- Minix is for class teaching only. No intention for commercial use