Categories:
Android (1)
Audio (7)
C/C++ (2)
Compression (7)
Database (6)
Document (14)
Email (3)
General (50)
Graphics (17)
Image (8)
Java (1)
Picture (1)
Presentation (7)
Programming (17)
Spreadsheet (11)
Video (8)
Web (13)
Windows (63)
XML (4)
Other Resources:
.PS1 - File Extension for PowerShell Scripts
What is PS1? PS1, short name for PowerShell, is used as the file extension for PowerShell Scripts files. .PS1 files are text files that are used to store scripting codes written in Windows PowerShell language. See the sample .PS1 file included below.
✍: FYIcenter.com
File Extension: .PS1
MIME Type: text/plain
File Content: PowerShell Scripts
.PS1 files are PowerShell Scripts files, that are used to store scripting codes written in Windows PowerShell language. Here is a sample .PS1 PowerShell Scripts file, CL_WinSAT.ps1:
# Copyright ? 2008, Microsoft Corporation. All rights reserved.
. .\CL_Invocation.ps1
. .\CL_Utility.ps1
# Get videoMemoryBandwidth from registry
function GetVideoMemBandwidth()
{
[string]$path = "HKLM:\SOFTWARE\Microsoft\Windows Nt\CurrentVersion\WinSat"
[string]$name = "VideoMemoryBandwidth"
[int]$VideoMemoryBandWidth = 0
if(Test-Path $path)
{
$registryEntry = Get-ItemProperty -Path $path -Name $name
if($registryEntry -ne $null)
{
$VideoMemoryBandWidth = $registryEntry.$name
}
}
return ($videoMemoryBandWidth / 1KB)
}
.PS1 PowerShell Scripts file sample: Click sample.ps1 to download.
Since .PS1 files are in text format, you can use Notepad or any text editor to create or modify them. No special software is needed.
For for information on how to use .PS1 PowerShell Scripts files, see links below:
2021-08-31, 19255👍, 1💬
Popular Posts:
File extension MPG is used for audio and video files in a MPEG formats. An MPEG sample file is provi...
What is CRT or CER? CRT or CER, short name for Certificate, is used as the file extension for PKI (P...
What is TIF or TIFF? TIFF, short name for Tagged Image File Format, is used as the file extension fo...
What is MSG? MSG, short name for Message, is used as the file extension for Outlook Message Item fil...
What is ASPX? ASPX, short name for ASP.NET Script, is used as the file extension for ASP.NET Script ...