Enviar pesquisa
Carregar
Power shell object
•
Transferir como PPT, PDF
•
0 gostou
•
296 visualizações
L
LearningTech
Seguir
Tecnologia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 15
Baixar agora
Recomendados
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
Recomendados
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
Mais conteúdo relacionado
Mais procurados
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
Mais procurados
(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
Semelhante a 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
Semelhante a 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
Mais de 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
Mais de 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
Último
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
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
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Igalia
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Delhi Call girls
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Antenna Manufacturer Coco
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
Pixlogix Infotech
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
UK Journal
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Maria Levchenko
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
Último
(20)
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
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
Baixar agora