<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikicyber.org/index.php?action=history&amp;feed=atom&amp;title=Draft%3AAn_Introduction_to_Powershell</id>
	<title>Draft:An Introduction to Powershell - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikicyber.org/index.php?action=history&amp;feed=atom&amp;title=Draft%3AAn_Introduction_to_Powershell"/>
	<link rel="alternate" type="text/html" href="https://wikicyber.org/index.php?title=Draft:An_Introduction_to_Powershell&amp;action=history"/>
	<updated>2026-09-24T04:43:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wikicyber.org/index.php?title=Draft:An_Introduction_to_Powershell&amp;diff=187&amp;oldid=prev</id>
		<title>MigrationBot: Backfill (v3.0 review queue): added to the review queue</title>
		<link rel="alternate" type="text/html" href="https://wikicyber.org/index.php?title=Draft:An_Introduction_to_Powershell&amp;diff=187&amp;oldid=prev"/>
		<updated>2026-09-22T05:42:56Z</updated>

		<summary type="html">&lt;p&gt;Backfill (v3.0 review queue): added to the review queue&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:42, 22 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l75&quot;&gt;Line 75:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 75:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Windows PowerShell|008]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Windows PowerShell|008]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Migrated from cypat.guide]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Migrated from cypat.guide]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Pending review]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikicyber:diff:1.41:old-107:rev-187:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>MigrationBot</name></author>
	</entry>
	<entry>
		<id>https://wikicyber.org/index.php?title=Draft:An_Introduction_to_Powershell&amp;diff=107&amp;oldid=prev</id>
		<title>MigrationBot: Import from cypat.guide: docs/windows/scripting/introduction_powershell.md</title>
		<link rel="alternate" type="text/html" href="https://wikicyber.org/index.php?title=Draft:An_Introduction_to_Powershell&amp;diff=107&amp;oldid=prev"/>
		<updated>2026-09-18T17:06:42Z</updated>

		<summary type="html">&lt;p&gt;Import from cypat.guide: docs/windows/scripting/introduction_powershell.md&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Submit}}&lt;br /&gt;
&amp;lt;!-- Migrated from https://cypat.guide/docs/windows/scripting/introduction_powershell (source: docs/windows/scripting/introduction_powershell.md) --&amp;gt;&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Author(s): Byrch&lt;br /&gt;
&lt;br /&gt;
Last Updated: 07-30-2025&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed wikitable&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
! Recommended Prerequisites (click to expand)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== What is PowerShell? ==&lt;br /&gt;
&lt;br /&gt;
PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS.&lt;br /&gt;
&lt;br /&gt;
== Why it&amp;#039;s important ==&lt;br /&gt;
&lt;br /&gt;
Powershell is important due to the nature of the competition. You are tasked with securing systems in a timely manner, while also being compliant to industry best security practices. Powershell provides a fast way to automate security checks, apply patches, disable insecure configurations, and manage users.&lt;br /&gt;
&lt;br /&gt;
# Powershell can run scripts to remediate the tedious, time consuming tasks&lt;br /&gt;
# It allows mass bulk changes, greatly improving productivity and time usage&lt;br /&gt;
# It&amp;#039;s faster and more consistent than manually navigating through GUI&lt;br /&gt;
&lt;br /&gt;
== How to open/use PowerShell ==&lt;br /&gt;
&lt;br /&gt;
On Windows (Recommended):&lt;br /&gt;
&lt;br /&gt;
# Press &amp;#039;&amp;#039;&amp;#039;Start&amp;#039;&amp;#039;&amp;#039; and type &amp;lt;code&amp;gt;Powershell&amp;lt;/code&amp;gt;&lt;br /&gt;
# Choose &amp;#039;&amp;#039;&amp;#039;Windows Powershell&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;Powershell 7&amp;#039;&amp;#039;&amp;#039; (if installed)&lt;br /&gt;
# To run with administrative privileges, right-click and select &amp;#039;&amp;#039;&amp;#039;Run as Administrator&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If the steps above do not work, try the solutions outlined in the Microsoft documentation: https://learn.microsoft.com/en-us/powershell/scripting/windows-powershell/starting-windows-powershell&lt;br /&gt;
&lt;br /&gt;
== Syntax basics ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Cmdlets:&amp;#039;&amp;#039;&amp;#039; PowerShell commands follow the &amp;#039;&amp;#039;Verb-Noun&amp;#039;&amp;#039; naming convention.&amp;lt;br /&amp;gt;&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;powershell&amp;quot;&amp;gt;Get-Service&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pipelines (|):&amp;#039;&amp;#039;&amp;#039; Pass the output of one command into another.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;powershell&amp;quot;&amp;gt;Get-Service | Stop-Service&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;DO NOT&amp;#039;&amp;#039;&amp;#039; run code blindly from the internet. Always assess the code and potential risks before executing it. For example, the code above will &amp;amp;quot;get&amp;amp;quot; all services and pipe them into the &amp;amp;quot;stop&amp;amp;quot; command, which might stop critical services and potentially damage the host or guest system.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Variables:&amp;#039;&amp;#039;&amp;#039; Use $ to define variables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;powershell&amp;quot;&amp;gt;$name = &amp;quot;User&amp;quot;&lt;br /&gt;
${this can also be a variable} = &amp;quot;password&amp;quot;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Scripts:&amp;#039;&amp;#039;&amp;#039; Save commands in a .ps1 file and execute it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;powershell&amp;quot;&amp;gt;.\script.ps1&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Help:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;powershell&amp;quot;&amp;gt;Get-Help &amp;lt;command&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
== Helpful websites, forums, and communities ==&lt;br /&gt;
&lt;br /&gt;
[https://discord.gg/FhnaV8DnAY Cypat Community Discord (Recommended)]&lt;br /&gt;
&lt;br /&gt;
[https://learn.microsoft.com/powershell/ Microsoft Learn: PowerShell]&lt;br /&gt;
&lt;br /&gt;
[https://www.powershellgallery.com/ PowerShell Gallery – Find and share PowerShell modules.]&lt;br /&gt;
&lt;br /&gt;
[https://www.reddit.com/r/PowerShell/ r/PowerShell (Reddit)]&lt;br /&gt;
&lt;br /&gt;
[https://discord.gg/powershell PowerShell Discord Community]&lt;br /&gt;
&lt;br /&gt;
[https://stackoverflow.com/questions/tagged/powershell Stack Overflow - PowerShell]&lt;br /&gt;
&lt;br /&gt;
[[Category:Windows PowerShell|008]]&lt;br /&gt;
[[Category:Migrated from cypat.guide]]&lt;/div&gt;</summary>
		<author><name>MigrationBot</name></author>
	</entry>
</feed>