[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-572381-105":53,"doc-detail-572381-en":127},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":120,"head_meta":122,"extra_data":124,"updated_unix":126},105,"en","windows-powershell-30-language-quick-reference","Windows PowerShell 3.0 Language - Quick Reference","","Quick Reference for Windows PowerShell 3.0 language elements, focused on practical command and syntax patterns. Covers key operator groups including bitwise, string operations, range creation, type evaluation and conversion, formatting, casting, dot-sourcing, subexpression, and call/invocation usage. Includes logical and redirection operators with examples for routing success, errors, warnings, verbose, debug, and all streams to files. Also summarizes useful cmdlets such as Update-Help, Get-Help, Get-Command, Get-Member, and Get-Module, plus core data structures like arrays, hash tables, and custom objects.",{"@graph":63,"@context":119},[64,80,102],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/windows-powershell-30-language-quick-reference/572381/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/windows-powershell-30-language-quick-reference/572381.png","ImageObject",442,249,{"name":88,"@type":89},"Dipper","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-22","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",7,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"What are the main categories of operators covered in this PowerShell quick reference?","Question",{"text":109,"@type":110},"It groups operators into sections such as bitwise and other operators, type evaluators/converters and formatting, cast and dot-sourcing/subexpression, call/invocation, logical operators, and redirection/output stream operators.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"How does redirection control where PowerShell output goes?",{"text":114,"@type":110},"Redirection operators route different output streams (success, errors, warnings, verbose, debug) to files, and can also redirect all streams to a single output file using the appropriate syntax.",{"name":116,"@type":107,"acceptedAnswer":117},"What data structures and access patterns are shown for PowerShell?",{"text":118,"@type":110},"It provides examples for arrays (including indexing, ranges, and zero-based behavior), associative arrays (hash tables and ordered dictionaries), and custom objects, along with object property access and method calling patterns.","https://schema.org",{"og:url":78,"og:type":121,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":123,"canonical":78},"index,follow",{"doc_id":125,"site_id":56},572381,1792014493,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":131,"file_id":132,"file_url":133,"file_type":134,"file_size":135,"view_count":101,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":79,"language":136,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":137,"faqs":138,"seo_title":139,"seo_description":61,"update_tm":140,"read_time":73},1374404997633,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","| Windows PowerShell 3 .0 Language Created by [http://powershellmagazine.com](http://powershellmagazine.com) |  |  | Quick Reference | |\n| --- | --- | --- | --- | --- |\n|  |  | Bitwise Operators\u003Cbr>-band Bitwise AND\u003Cbr>-bor Bitwise OR (inclusive)\u003Cbr>-bxor Bitwise OR (exclusive)\u003Cbr>-bnot Bitwise NOT\u003Cbr>-shl, -shr Bitwise shift operators. Bit shift left, bit shift right (arithmetic for signed, logical for unsigned values)\u003Cbr>Other Operators\u003Cbr>-Split Splits a string\u003Cbr>“abcdefghi” -split “de”\u003Cbr>-join Joins multiple strings\u003Cbr>“abc”,”def”,”ghi” -join “;”\u003Cbr>.. Range operator\u003Cbr>1..10 | foreach {$_ * 5}\u003Cbr>-is, -isnot Type evaluator (Boolean) .\u003Cbr>Tells whether an object is an instance of a specified . NET Framework type.\u003Cbr>42 –is [int]\u003Cbr>-as Type convertor. Tries to convert the input object to the specified . NET Framework type.\u003Cbr>$a = 42 –as [String]\u003Cbr>-f Formats strings by using the format method of string objects\u003Cbr>1..10 | foreach { \"{0:N2}\" -f $_ }\u003Cbr>[ ] Cast operator. Converts or\u003Cbr>limits objects to the specified type\u003Cbr>[datetime]$birthday = \"1/10/66\"\u003Cbr>, Comma operator (Array\u003Cbr>constructor)\u003Cbr>. Dot-sourcing operator runs a script in the current scope\u003Cbr>. c:\\scripts\\[sample.ps1](sample.ps1)\u003Cbr>$( ) Subexpression operator @( ) Array subexpression operator & The call operator, also known as\u003Cbr>the \"invocation operator,\" lets you run commands that are stored in variables and represented by strings.\u003Cbr>$a = \"Get-Process\"\u003Cbr>& $a\u003Cbr>$sb = { Get-Process | Select –First 2 }\u003Cbr>& $sb\u003Cbr>Logical Operators\u003Cbr>-and, -or, -xor, -not, ! Connect expressions and\u003Cbr>statements, allowing you to test for multiple conditions\u003Cbr>Redirection Operators\u003Cbr>>, >> The redirection operators enable\u003Cbr>you to send particular types of output (success, error, warning, verbose, and debug) to files and to the success output stream.\u003Cbr>Output streams * All output\u003Cbr>1 Success output\u003Cbr>2 Errors\u003Cbr>3 Warning messages\u003Cbr>4 Verbose output\u003Cbr>5 Debug messages\u003Cbr>\\# Writes warning output to warning.txt\u003Cbr>Do-Something 3> warning.txt\u003Cbr>\\# Appends verbose.txt with the verbose output\u003Cbr>Do-Something 4>> verbose.txt\u003Cbr>\\# Writes debug output to the output stream\u003Cbr>Do-Something 5>&1\u003Cbr>\\# Redirects all streams to out.txt\u003Cbr>Do-Something *> out.txt |  |  |\n| Useful Commands |  |  |  |  |\n|  |  |  |  |  |\n| Update-Help Downloads and installs newest help files\u003Cbr>Get-Help Displays information about\u003Cbr>commands and concepts Get-Command Gets all commands\u003Cbr>Get-Member Gets the properties and methods of objects\u003Cbr>Get-Module Gets the modules that have been imported or that can be imported into the current session |  |  |  |  |\n|  |  |  |  |  |\n| Operators |  |  |  |  |\n|  | Assignment Operators\u003Cbr>=, +=, - =, *=, /=,%=, ++, -- Assigns one or more values\u003Cbr>to a variable\u003Cbr>Comparison Operators\u003Cbr>-eq, -ne Equal, not equal\u003Cbr>-gt, -ge Greater than, greater than or equal to\u003Cbr>-lt, -le Less than, less than or equal to\u003Cbr>-replace changes the specified elements of a value\u003Cbr>“abcde” -replace “bc”,“TEST”\u003Cbr>-match, -notmatch Regular expression match\u003Cbr>-like, -notlike Wildcard matching\u003Cbr>-contains, -notcontains Returns TRUE if the scalar value on its right is contained in the array on its left\u003Cbr>1,2,3,4,5-contains 3\u003Cbr>-in, -notin Returns TRUE only when test value exactly matches at least one of the reference values.\u003Cbr>“Windows”-in “Windows”,”PowerShell” |  |  |  |\n|  |  |  |  |  |\n\n\n| Windows PowerShell 3 .0 Language Created by [http://powershellmagazine.com](http://powershellmagazine.com) | Quick Reference | |\n| --- | --- | --- |\n| Arrays \"a\", \"b\", \"c\" Array of strings\u003Cbr>1,2,3 Array of integers\u003Cbr>@() Empty array\u003Cbr>@(2) Array of one element\u003Cbr>1,(2,3),4 Array within array\u003Cbr>,\"hi\" Array of one element\u003Cbr>$arr[5] Sixth element of array*\u003Cbr>$arr[2 .. 20] Returns elements 3 thru 21\u003Cbr>$arr[-1] Returns the last array\u003Cbr>element\u003Cbr>$arr[-3 ..-1] Displays the last three\u003Cbr>elements of the array\u003Cbr>$arr[1,4+6 ..9] Displays the elements at\u003Cbr>index positions 1,4,","cbCaig1vk0KSTV0z","https://ap.wps.com/l/cbCaig1vk0KSTV0z","pdf",293708,"English","# Operators\n## Bitwise and other operators\n## Type and formatting operators\n## Cast, dot-sourcing, and subexpression\n## Call/invocation and logical operators\n## Redirection and output streams\n# Useful commands\n# Data structures and common syntax\n## Arrays\n## Associative arrays (hash tables)\n## Pscustomobject and comments\n## Object properties and methods\n## Strings","[{\"question\":\"What are the main categories of operators covered in this PowerShell quick reference?\",\"answer\":\"It groups operators into sections such as bitwise and other operators, type evaluators/converters and formatting, cast and dot-sourcing/subexpression, call/invocation, logical operators, and redirection/output stream operators.\"},{\"question\":\"How does redirection control where PowerShell output goes?\",\"answer\":\"Redirection operators route different output streams (success, errors, warnings, verbose, debug) to files, and can also redirect all streams to a single output file using the appropriate syntax.\"},{\"question\":\"What data structures and access patterns are shown for PowerShell?\",\"answer\":\"It provides examples for arrays (including indexing, ranges, and zero-based behavior), associative arrays (hash tables and ordered dictionaries), and custom objects, along with object property access and method calling patterns.\"}]","Windows PowerShell 3.0 Language - Quick Reference | PDF",1791927086]