Giter Site home page Giter Site logo

llpracwinpsscr's Introduction

llpracwinpsscr

######2.1 Commonly Used Cmdlets WS = workingset memory

Get-Process | Select-Object Name,WS

sort by memory usage

Get-Process | Sort-Object WS

Descending

Get-Process | Sort-Object WS -Descending | Select-Object Name,WS

show last 5

Get-Process | Sort-Object WS -Descending | Select-Object Name,WS -Last 5

service-related (default=Format-Table)

Get-Service VSS |Select-Object Name |Format-List

Type = cat in linux

Type C:\ke.txt
Get-Content C:\ke.txt

clear screen

CLS
Clear-Host

copy

Copy-Item C:\ke.txt D:\

Get-ChildItem=dir

Get-ChildItem C:\

get history

Get-History

######2.3 Working with Var

[int]$x+[int]$y

array type

$arr = "a","b"

printout

$arr  //onebyone
Write-Host $arr
Write-Host $arr[2] //0 based

assign a command to var, do not use quote

$GC = Get-Command
$GC
$GC.count

######2.4 An Introduction to Module

Get-Module
Import-Module mn
Get-Command -Module Hyper-V

#####8 Graphical Reporting ######8.1 Creating a Simple Chart HyperV server manager->Manage->add roles and features..next
Features: add .NET Framwwork 3.5
search

microsoft chart controls for microsoft .net framework 3.5

select MSChart.exe

llpracwinpsscr's People

Contributors

rengokantai avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.