Suche senden
Hochladen
Power shell object
•
Als PPT, PDF herunterladen
•
0 gefällt mir
•
296 views
L
LearningTech
Folgen
Technologie
Melden
Teilen
Melden
Teilen
1 von 15
Jetzt herunterladen
Empfohlen
Python dictionary: past, present, future
Python dictionary: past, present, future
delimitry
جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲
جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲
Mohammad Reza Kamalifard
Functional es6
Functional es6
Natalia Zaslavskaya
MongoDB
MongoDB
Hemant Kumar Tiwary
Python Workshop Part 2. LUG Maniapl
Python Workshop Part 2. LUG Maniapl
Ankur Shrivastava
PromptWorks Talk Tuesdays: Ray Zane 1/17/17 "Elixir Is Cool"
PromptWorks Talk Tuesdays: Ray Zane 1/17/17 "Elixir Is Cool"
PromptWorks
Python Lecture 10
Python Lecture 10
Inzamam Baig
Python Lecture 11
Python Lecture 11
Inzamam Baig
Empfohlen
Python dictionary: past, present, future
Python dictionary: past, present, future
delimitry
جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲
جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲
Mohammad Reza Kamalifard
Functional es6
Functional es6
Natalia Zaslavskaya
MongoDB
MongoDB
Hemant Kumar Tiwary
Python Workshop Part 2. LUG Maniapl
Python Workshop Part 2. LUG Maniapl
Ankur Shrivastava
PromptWorks Talk Tuesdays: Ray Zane 1/17/17 "Elixir Is Cool"
PromptWorks Talk Tuesdays: Ray Zane 1/17/17 "Elixir Is Cool"
PromptWorks
Python Lecture 10
Python Lecture 10
Inzamam Baig
Python Lecture 11
Python Lecture 11
Inzamam Baig
Patterns in Terraform 12+13: Data, Transformations and Resources
Patterns in Terraform 12+13: Data, Transformations and Resources
Katie Reese
Python programming : List and tuples
Python programming : List and tuples
Emertxe Information Technologies Pvt Ltd
Python chapter 2
Python chapter 2
Raghu nath
python chapter 1
python chapter 1
Raghu nath
Day 1c access, select ordering copy.pptx
Day 1c access, select ordering copy.pptx
Adrien Melquiond
Python programming -Tuple and Set Data type
Python programming -Tuple and Set Data type
Megha V
List , tuples, dictionaries and regular expressions in python
List , tuples, dictionaries and regular expressions in python
channa basava
Grails: a quick tutorial (1)
Grails: a quick tutorial (1)
Davide Rossi
Base r
Base r
Dieudonne Nahigombeye
Inheritance & polymorphism java oop
Inheritance & polymorphism java oop
hussein zayed
Python Variable Types, List, Tuple, Dictionary
Python Variable Types, List, Tuple, Dictionary
Soba Arjun
Using Scala Slick at FortyTwo
Using Scala Slick at FortyTwo
Eishay Smith
7 Habits For a More Functional Swift
7 Habits For a More Functional Swift
Jason Larsen
Patterns for slick database applications
Patterns for slick database applications
Skills Matter
Java script objects 1
Java script objects 1
H K
Elixir pattern matching and recursion
Elixir pattern matching and recursion
Bob Firestone
CoffeeScript - A Rubyist's Love Affair
CoffeeScript - A Rubyist's Love Affair
Mark
Lists
Lists
Lakshmi Sarvani Videla
Database API, your new friend
Database API, your new friend
kikoalonsob
Php tips-and-tricks4128
Php tips-and-tricks4128
PrinceGuru MS
Puppet Language 4.0 - PuppetConf 2014
Puppet Language 4.0 - PuppetConf 2014
Puppet
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
MongoSF
Weitere ähnliche Inhalte
Was ist angesagt?
Patterns in Terraform 12+13: Data, Transformations and Resources
Patterns in Terraform 12+13: Data, Transformations and Resources
Katie Reese
Python programming : List and tuples
Python programming : List and tuples
Emertxe Information Technologies Pvt Ltd
Python chapter 2
Python chapter 2
Raghu nath
python chapter 1
python chapter 1
Raghu nath
Day 1c access, select ordering copy.pptx
Day 1c access, select ordering copy.pptx
Adrien Melquiond
Python programming -Tuple and Set Data type
Python programming -Tuple and Set Data type
Megha V
List , tuples, dictionaries and regular expressions in python
List , tuples, dictionaries and regular expressions in python
channa basava
Grails: a quick tutorial (1)
Grails: a quick tutorial (1)
Davide Rossi
Base r
Base r
Dieudonne Nahigombeye
Inheritance & polymorphism java oop
Inheritance & polymorphism java oop
hussein zayed
Python Variable Types, List, Tuple, Dictionary
Python Variable Types, List, Tuple, Dictionary
Soba Arjun
Using Scala Slick at FortyTwo
Using Scala Slick at FortyTwo
Eishay Smith
7 Habits For a More Functional Swift
7 Habits For a More Functional Swift
Jason Larsen
Patterns for slick database applications
Patterns for slick database applications
Skills Matter
Java script objects 1
Java script objects 1
H K
Elixir pattern matching and recursion
Elixir pattern matching and recursion
Bob Firestone
CoffeeScript - A Rubyist's Love Affair
CoffeeScript - A Rubyist's Love Affair
Mark
Lists
Lists
Lakshmi Sarvani Videla
Database API, your new friend
Database API, your new friend
kikoalonsob
Was ist angesagt?
(19)
Patterns in Terraform 12+13: Data, Transformations and Resources
Patterns in Terraform 12+13: Data, Transformations and Resources
Python programming : List and tuples
Python programming : List and tuples
Python chapter 2
Python chapter 2
python chapter 1
python chapter 1
Day 1c access, select ordering copy.pptx
Day 1c access, select ordering copy.pptx
Python programming -Tuple and Set Data type
Python programming -Tuple and Set Data type
List , tuples, dictionaries and regular expressions in python
List , tuples, dictionaries and regular expressions in python
Grails: a quick tutorial (1)
Grails: a quick tutorial (1)
Base r
Base r
Inheritance & polymorphism java oop
Inheritance & polymorphism java oop
Python Variable Types, List, Tuple, Dictionary
Python Variable Types, List, Tuple, Dictionary
Using Scala Slick at FortyTwo
Using Scala Slick at FortyTwo
7 Habits For a More Functional Swift
7 Habits For a More Functional Swift
Patterns for slick database applications
Patterns for slick database applications
Java script objects 1
Java script objects 1
Elixir pattern matching and recursion
Elixir pattern matching and recursion
CoffeeScript - A Rubyist's Love Affair
CoffeeScript - A Rubyist's Love Affair
Lists
Lists
Database API, your new friend
Database API, your new friend
Ähnlich wie Power shell object
Php tips-and-tricks4128
Php tips-and-tricks4128
PrinceGuru MS
Puppet Language 4.0 - PuppetConf 2014
Puppet Language 4.0 - PuppetConf 2014
Puppet
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
MongoSF
Hacking ansible
Hacking ansible
bcoca
Elm: give it a try
Elm: give it a try
Eugene Zharkov
Introducing CakeEntity
Introducing CakeEntity
Basuke Suzuki
BA lab1.pptx
BA lab1.pptx
sherifsalem24
Creating Domain Specific Languages in Python
Creating Domain Specific Languages in Python
Siddhi
Type safe embedded domain-specific languages
Type safe embedded domain-specific languages
Arthur Xavier
From mysql to MongoDB(MongoDB2011北京交流会)
From mysql to MongoDB(MongoDB2011北京交流会)
Night Sailer
Separation of concerns - DPC12
Separation of concerns - DPC12
Stephan Hochdörfer
Python 표준 라이브러리
Python 표준 라이브러리
용 최
Chapter 3 Built-in Data Structures, Functions, and Files .pptx
Chapter 3 Built-in Data Structures, Functions, and Files .pptx
SovannDoeur
DataMapper
DataMapper
Yehuda Katz
PHP tips and tricks
PHP tips and tricks
Damien Seguy
Optimization and Mathematical Programming in R and ROI - R Optimization Infra...
Optimization and Mathematical Programming in R and ROI - R Optimization Infra...
Dr. Volkan OBAN
CodeIgniter Class Reference
CodeIgniter Class Reference
Jamshid Hashimi
Leveraging Symfony2 Forms
Leveraging Symfony2 Forms
Bernhard Schussek
How to Bring Common UI Patterns to ADF
How to Bring Common UI Patterns to ADF
Luc Bors
Py3k
Py3k
Andrew Svetlov
Ähnlich wie Power shell object
(20)
Php tips-and-tricks4128
Php tips-and-tricks4128
Puppet Language 4.0 - PuppetConf 2014
Puppet Language 4.0 - PuppetConf 2014
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Hacking ansible
Hacking ansible
Elm: give it a try
Elm: give it a try
Introducing CakeEntity
Introducing CakeEntity
BA lab1.pptx
BA lab1.pptx
Creating Domain Specific Languages in Python
Creating Domain Specific Languages in Python
Type safe embedded domain-specific languages
Type safe embedded domain-specific languages
From mysql to MongoDB(MongoDB2011北京交流会)
From mysql to MongoDB(MongoDB2011北京交流会)
Separation of concerns - DPC12
Separation of concerns - DPC12
Python 표준 라이브러리
Python 표준 라이브러리
Chapter 3 Built-in Data Structures, Functions, and Files .pptx
Chapter 3 Built-in Data Structures, Functions, and Files .pptx
DataMapper
DataMapper
PHP tips and tricks
PHP tips and tricks
Optimization and Mathematical Programming in R and ROI - R Optimization Infra...
Optimization and Mathematical Programming in R and ROI - R Optimization Infra...
CodeIgniter Class Reference
CodeIgniter Class Reference
Leveraging Symfony2 Forms
Leveraging Symfony2 Forms
How to Bring Common UI Patterns to ADF
How to Bring Common UI Patterns to ADF
Py3k
Py3k
Mehr von LearningTech
vim
vim
LearningTech
PostCss
PostCss
LearningTech
ReactJs
ReactJs
LearningTech
Docker
Docker
LearningTech
Semantic ui
Semantic ui
LearningTech
node.js errors
node.js errors
LearningTech
Process control nodejs
Process control nodejs
LearningTech
Expression tree
Expression tree
LearningTech
SQL 效能調校
SQL 效能調校
LearningTech
flexbox report
flexbox report
LearningTech
Vic weekly learning_20160504
Vic weekly learning_20160504
LearningTech
Reflection & activator
Reflection & activator
LearningTech
Peggy markdown
Peggy markdown
LearningTech
Node child process
Node child process
LearningTech
20160415ken.lee
20160415ken.lee
LearningTech
Peggy elasticsearch應用
Peggy elasticsearch應用
LearningTech
Expression tree
Expression tree
LearningTech
Vic weekly learning_20160325
Vic weekly learning_20160325
LearningTech
D3js learning tips
D3js learning tips
LearningTech
git command
git command
LearningTech
Mehr von LearningTech
(20)
vim
vim
PostCss
PostCss
ReactJs
ReactJs
Docker
Docker
Semantic ui
Semantic ui
node.js errors
node.js errors
Process control nodejs
Process control nodejs
Expression tree
Expression tree
SQL 效能調校
SQL 效能調校
flexbox report
flexbox report
Vic weekly learning_20160504
Vic weekly learning_20160504
Reflection & activator
Reflection & activator
Peggy markdown
Peggy markdown
Node child process
Node child process
20160415ken.lee
20160415ken.lee
Peggy elasticsearch應用
Peggy elasticsearch應用
Expression tree
Expression tree
Vic weekly learning_20160325
Vic weekly learning_20160325
D3js learning tips
D3js learning tips
git command
git command
Kürzlich hochgeladen
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Orbitshub
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
apidays
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Orbitshub
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Remote DBA Services
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Product Anonymous
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
MIND CTI
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
apidays
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
The Digital Insurer
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Jeffrey Haguewood
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
The Digital Insurer
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Andrey Devyatkin
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
Kürzlich hochgeladen
(20)
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Power shell object
1.
Jason
2.
Array
> $a = 1, 2, 3, 4, 5 String.Object[] > $b = 1, “C”, 2.99, (Get-Process) 可用 @() ,表示新增 Array
3.
Array
> $a = 2, 3, 4 > $a[0, 2] > $a[0, -1] > $a[1] = 10, 20, 30 > $a = $a + 1
4.
Array
> 1, 2, 3, 4 –contains 4 > 1, 2, 3,4 –notcontains 3 > 1, 2, 3 –contains “3” > 1, 2, “03” –contains 3
5.
ForEach-Object 簡寫為 foreach > 1,2,3
| ForEach-Object { $_ * 2 } 或 > 1,2,3 | foreach { $_ * 2 }
6.
Select-Object 簡寫為 select > Get-Process
chrome | Select-Object ProcessName,Id
7.
Sort-Object 簡寫為 sort Get-Process chrome
| Sort-Object Id Get-Process chrome | Sort-Object Id -Descending
8.
Tee-Object 簡寫為 tee >3,2,1 |
Tee-Object -Variable unsorted | Sort-Object 1 2 3 >$unsorted 3 2 1
9.
Group-Object 簡寫為 group > dir
| Group-Object -Property Extension Count Name Group ----- ---- ----- 1 .android {.android} 1 .10 {.gstreamer-0.10} 16 {Contacts, Desktop, Documents, Downloads...} 1 .kdiff3rc {.kdiff3rc} 1 .userId {.org.eclipse.epp.usagedata.recording.userId} 1 .txt {a.txt} 1 .ini {mercurial.ini}
10.
Measure-Object >1,2,3,4 | Measure-Object
-Sum -Max -Min -Average Count : 4 Average : 2.5 Sum : 10 Maximum : 4 Minimum : 1
11.
Compare-Object 簡寫為 diff >$a =
@(1,2,4) >$b = @(1,3,4) >Compare-Object -ReferenceObject $a -DifferenceObject $b >Compare-Object $a $b InputObject SideIndicator ----------- ------------- 3 => 2 <=
12.
Read Word File ProgID
: Word.Application $wordApp = New-Object -COM Word.Application $file = (dir Test.docx).FullName $doc = $wordApp.Documents.Open($file) $text = $doc.Content.Text $text $wordApp.Exit
13.
Create Word File $path
= Join-Path (Get-Location) create.doc $wordApp = New-Object -COM Word.Application #$wordApp.Visible = $true if (Test-Path $path) { del $path } $doc = $wordApp.Documents.Add() $doc.Content.Text = "This is a book!!" $doc.SaveAs($path) $wordApp.Quit()
14.
Edit Word File $wordApp
= New-Object -COM Word.Application $file = (dir Test.docx).FullName $doc = $wordApp.Documents.Open($file) $documentFront = $doc.Content $documentFront.End = $start.Start $documentFront.Text ="Sorry" $documentFront.Font.Name="Times new roman" $documentFront.Font.ColorIndex = 6 $doc.save() $wordApp.Quit()
15.
Reference http://technet.microsoft.com/zh-TW/library/dd315334.aspx http://www.books.com.tw/exep/prod/booksfile.php?item=00104 http://powershell.com/cs/blogs/ebook/default.aspx
Jetzt herunterladen