Get started
What is PowerShell?| CARVIEW |
Select Language
HTTP/2 301
date: Fri, 26 Dec 2025 00:18:48 GMT
content-type: text/html
content-length: 0
location: https://www.microsoft.com/powershell
x-azure-ref: 20251226T001848Z-r1d5f7d7665ndw9chC1BOM3c7n0000000w300000000003bf
strict-transport-security: max-age=31536000
x-cache: CONFIG_NOCACHE
HTTP/2 301
content-length: 0
location: https://docs.microsoft.com/powershell
strict-transport-security: max-age=31536000
x-azure-ref: 20251226T001848Z-r1d5f7d7665tdnvthC1BOM4kwc0000000ngg000000004pmk
x-afd: WWWRule
expires: Fri, 26 Dec 2025 00:18:48 GMT
cache-control: max-age=0, no-cache, no-store
pragma: no-cache
date: Fri, 26 Dec 2025 00:18:48 GMT
tls_version: tls1.3
ms-cv: CASMicrosoftCVa15a8b93.0
ms-cv-esi: CASMicrosoftCVa15a8b93.0
x-edgescape-location: country_code=IN
x-rtag: OneRoute_Default
HTTP/2 301
server: AkamaiGHost
content-length: 0
location: https://learn.microsoft.com/powershell
cache-control: max-age=0
expires: Fri, 26 Dec 2025 00:18:48 GMT
date: Fri, 26 Dec 2025 00:18:48 GMT
akamai-cache-status: Redirect from child
report-to: {"group":"network-errors","max_age":604800,"endpoints":[{"url":"https://mdec.nelreports.net/api/report?cat=mdocs"}]}
nel: {"report_to":"network-errors","max_age":604800,"success_fraction":0.01,"failure_fraction":1.0}
strict-transport-security: max-age=31536000; includeSubDomains; preload
HTTP/2 302
content-length: 0
location: /en-us/powershell
content-security-policy: default-src *;script-src 'self' 'unsafe-inline' 'unsafe-eval' *.microsoft.com js.monitor.azure.com dc.services.visualstudio.com try-ppe.dot.net aznb-ame-prod.azureedge.net client-api.arkoselabs.com markdowneditor-public-e0gpfpcwcbbze3ag.b01.azurefd.net markdowneditor-external-Public-fmgmfefddycxdmfj.b01.azurefd.net h64.online-metrix.net;style-src 'self' 'unsafe-inline' *.microsoft.com aznb-ame-prod.azureedge.net try-ppe.dot.net markdowneditor-public-e0gpfpcwcbbze3ag.b01.azurefd.net markdowneditor-external-Public-fmgmfefddycxdmfj.b01.azurefd.net;img-src * data: blob:;frame-ancestors docs.microsoft.com *.docs.microsoft.com learn.microsoft.com *.learn.microsoft.com labclient.labondemand.com portal.azure.com *.portal.azure.com portal.azure.us portal.azure.cn ai.azure.com *.ai.azure.com learn-video.azurefd.net docs.azure.cn *.onecloud.azure-test.net *.sharepoint.com localhost:3000;worker-src 'self' blob: *.microsoft.com aznb-ame-prod.azureedge.net;form-action 'self' *.microsoft.com *.azure.cn *.pearsonvue.com;media-src 'self' blob: *.microsoft.com *.azure.cn videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net videoencodingpubdevwus.blob.core.windows.net videoencodingpublicwus.blob.core.windows.net;base-uri 'self';font-src 'self' https: data:;object-src 'none';script-src-attr 'none';upgrade-insecure-requests
cross-origin-opener-policy: unsafe-none
cross-origin-resource-policy: cross-origin
origin-agent-cluster: ?1
referrer-policy: strict-origin-when-cross-origin
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
x-buildversion: 0.4.03273.7373-fa587265
x-azure-ref: 20251226T001848Z-155658b677cddtqthC1MAApm140000000w200000000024r6
nel: {"report_to":"network-errors","max_age":604800,"success_fraction":0.01,"failure_fraction":1.0}
report-to: {"group":"network-errors","max_age":604800,"endpoints":[{"url":"https://mdec.nelreports.net/api/report?cat=mdocs"}]}
cache-control: max-age=0
expires: Fri, 26 Dec 2025 00:18:48 GMT
date: Fri, 26 Dec 2025 00:18:48 GMT
akamai-cache-status: Miss from child, Miss from parent
strict-transport-security: max-age=31536000; includeSubDomains; preload
HTTP/2 301
content-length: 0
location: /en-us/powershell/
content-security-policy: default-src *;script-src 'self' 'unsafe-inline' 'unsafe-eval' *.microsoft.com js.monitor.azure.com dc.services.visualstudio.com try-ppe.dot.net aznb-ame-prod.azureedge.net client-api.arkoselabs.com markdowneditor-public-e0gpfpcwcbbze3ag.b01.azurefd.net markdowneditor-external-Public-fmgmfefddycxdmfj.b01.azurefd.net h64.online-metrix.net;style-src 'self' 'unsafe-inline' *.microsoft.com aznb-ame-prod.azureedge.net try-ppe.dot.net markdowneditor-public-e0gpfpcwcbbze3ag.b01.azurefd.net markdowneditor-external-Public-fmgmfefddycxdmfj.b01.azurefd.net;img-src * data: blob:;frame-ancestors docs.microsoft.com *.docs.microsoft.com learn.microsoft.com *.learn.microsoft.com labclient.labondemand.com portal.azure.com *.portal.azure.com portal.azure.us portal.azure.cn ai.azure.com *.ai.azure.com learn-video.azurefd.net docs.azure.cn *.onecloud.azure-test.net *.sharepoint.com localhost:3000;worker-src 'self' blob: *.microsoft.com aznb-ame-prod.azureedge.net;form-action 'self' *.microsoft.com *.azure.cn *.pearsonvue.com;media-src 'self' blob: *.microsoft.com *.azure.cn videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net videoencodingpubdevwus.blob.core.windows.net videoencodingpublicwus.blob.core.windows.net;base-uri 'self';font-src 'self' https: data:;object-src 'none';script-src-attr 'none';upgrade-insecure-requests
cross-origin-opener-policy: unsafe-none
cross-origin-resource-policy: cross-origin
origin-agent-cluster: ?1
referrer-policy: strict-origin-when-cross-origin
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
x-buildversion: 0.4.03273.7373-fa587265
x-azure-ref: 20251226T001848Z-155658b677cddtqthC1MAApm140000000w40000000001cbm
nel: {"report_to":"network-errors","max_age":604800,"success_fraction":0.01,"failure_fraction":1.0}
report-to: {"group":"network-errors","max_age":604800,"endpoints":[{"url":"https://mdec.nelreports.net/api/report?cat=mdocs"}]}
cache-control: public, max-age=1800
expires: Fri, 26 Dec 2025 00:48:48 GMT
date: Fri, 26 Dec 2025 00:18:48 GMT
akamai-cache-status: Miss from child, Miss from parent
strict-transport-security: max-age=31536000; includeSubDomains; preload
HTTP/2 200
content-type: text/html
etag: "gBomwpuGwtEuULB4RTHD6pjY5mc="
last-modified: Fri, 21 Nov 2025 23:04:20 GMT
content-security-policy: default-src *;script-src 'self' 'unsafe-inline' 'unsafe-eval' *.microsoft.com js.monitor.azure.com dc.services.visualstudio.com try-ppe.dot.net aznb-ame-prod.azureedge.net client-api.arkoselabs.com markdowneditor-public-e0gpfpcwcbbze3ag.b01.azurefd.net markdowneditor-external-Public-fmgmfefddycxdmfj.b01.azurefd.net h64.online-metrix.net;style-src 'self' 'unsafe-inline' *.microsoft.com aznb-ame-prod.azureedge.net try-ppe.dot.net markdowneditor-public-e0gpfpcwcbbze3ag.b01.azurefd.net markdowneditor-external-Public-fmgmfefddycxdmfj.b01.azurefd.net;img-src * data: blob:;frame-ancestors docs.microsoft.com *.docs.microsoft.com learn.microsoft.com *.learn.microsoft.com labclient.labondemand.com portal.azure.com *.portal.azure.com portal.azure.us portal.azure.cn ai.azure.com *.ai.azure.com learn-video.azurefd.net docs.azure.cn *.onecloud.azure-test.net *.sharepoint.com localhost:3000;worker-src 'self' blob: *.microsoft.com aznb-ame-prod.azureedge.net;form-action 'self' *.microsoft.com *.azure.cn *.pearsonvue.com;media-src 'self' blob: *.microsoft.com *.azure.cn videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net videoencodingpubdevwus.blob.core.windows.net videoencodingpublicwus.blob.core.windows.net;base-uri 'self';font-src 'self' https: data:;object-src 'none';script-src-attr 'none';upgrade-insecure-requests
cross-origin-opener-policy: unsafe-none
cross-origin-resource-policy: cross-origin
origin-agent-cluster: ?1
referrer-policy: strict-origin-when-cross-origin
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
x-buildversion: 0.4.03273.7373-fa587265
x-azure-ref: 20251219T020048Z-16c69b88f4clsl5dhC1MAAyhkw0000001dg0000000004bdx
nel: {"report_to":"network-errors","max_age":604800,"success_fraction":0.01,"failure_fraction":1.0}
report-to: {"group":"network-errors","max_age":604800,"endpoints":[{"url":"https://mdec.nelreports.net/api/report?cat=mdocs"}]}
cache-control: public, max-age=600
expires: Fri, 26 Dec 2025 00:28:49 GMT
date: Fri, 26 Dec 2025 00:18:49 GMT
content-length: 45527
akamai-cache-status: RefreshHit from child, NotCacheable from parent
strict-transport-security: max-age=31536000; includeSubDomains; preload
PowerShell Documentation - PowerShell | Microsoft Learn
Skip to main content
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
PowerShell Documentation
Official product documentation for PowerShell
Download
Setup and installationHow-To Guide
Sample scriptsDeploy
PowerShell GalleryReference
PowerShell Module BrowserArchitecture
PowerShell on GitHubPowerShell Editions + Tools
Available editions, tools, and technology that supports PowerShell
PowerShell Utility modules
Desired State Configuration
Community Resources
Connect with other PowerShell users
PowerShell Team
Communicate with the PowerShell team
PowerShell Team Blog
Official news and announcements
PowerShell Community Blog
A place for the community to learn PowerShell and share insights
PowerShell Team on Twitter
PowerShell news 280 characters at a time
GitHub Issues
The place for bugs in the current release