{"id":984,"date":"2010-02-19T13:29:46","date_gmt":"2010-02-19T12:29:46","guid":{"rendered":"http:\/\/www.galhano.com\/blog\/?p=984"},"modified":"2010-03-29T15:42:06","modified_gmt":"2010-03-29T14:42:06","slug":"windows-powershell-2","status":"publish","type":"post","link":"http:\/\/galhano.com\/blog\/?p=984","title":{"rendered":"Windows Powershell"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" title=\"powershelllogo\" src=\"http:\/\/www.galhano.com\/blog\/wp-content\/2010\/02\/powershelllogo.jpg\" alt=\"powershelllogo\" width=\"216\" height=\"187\" align=\"left\" \/><\/p>\n<p style=\"text-align: left;\">Powershell is a command line tool  which devloped by Microsoft. Exchange Server 2007 script ability has been depaned on the Windows powershell command line. here we have some important commands of powershell.<\/p>\n<p style=\"text-align: left;\">Powershell :-Launch a powershell session<br \/>\nWrite-Debug :-Write a debug message to the host display<br \/>\nWrite-Error:- Write an object to the error pipeline.<br \/>\nWrite-Output:-  echo Write an object to the pipeline<br \/>\nWrite-Progress:- Display a progress bar<br \/>\nWrite-Verbose:- Write a string to the host\u2019s verbosedisplay<br \/>\nWrite-Warning :-Write a warning message<br \/>\nSet:-Acl Set permissions<br \/>\nGet:-Eventlog Get eventlog data<br \/>\nGet:-ExecutionPolicy Get the execution policy for the shell<br \/>\nMeasure:-Command Measure running time<br \/>\nTrace:-Command Trace an expression or command<br \/>\nClear:-Host clear\/cls Clear the screen<br \/>\nOut:-Printer lp Send the output to a printer<br \/>\nOut:-String Send objects to the host as strings<br \/>\nJoin:-Path Combine a path and child-path<br \/>\nResolve:-Path rvpa Resolves the wildcards in a path<br \/>\nSplit:-Path Return part of a path<br \/>\nClear:-Variable clv Remove the value from a variable<br \/>\nWhere:-Object where Filter input from the pipeline<br \/>\nWhile:- (condition) {action}             else {action}<br \/>\nGet:-WMIobject Get WMI class information<\/p>\n<p># :-Comment \/ Remark<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Powershell is a command line tool which devloped by Microsoft. Exchange Server 2007 script ability has been depaned on the Windows powershell command line. here we have some important commands of powershell. Powershell :-Launch a powershell session Write-Debug :-Write a debug message to the host display Write-Error:- Write an object to the error pipeline. Write-Output:- [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"close","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42],"tags":[],"class_list":["post-984","post","type-post","status-publish","format-standard","hentry","category-utils","author-admin"],"_links":{"self":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=984"}],"version-history":[{"count":4,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/984\/revisions"}],"predecessor-version":[{"id":988,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/984\/revisions\/988"}],"wp:attachment":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=984"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}