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, 19922👍, 1💬
Popular Posts:
What is PRN? PRN, short name for Printable, is used as the file extension for files padded with spac...
What is EML? EML, short name for Email, is used as the file extension for Email Message files. .EML ...
What is XPS or OXPS? XPS stands for for XML Paper Specification. OXPS stands for for Open XML Paper ...
What is CS? CS, short name for C Sharp, is used as the file extension for C# (C Sharp) files. .CS fi...
What is BMP? BMP, short name for Bitmap, is used as the file extension for bitmap image files. .BMP ...