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, 19112👍, 1💬
Popular Posts:
What is MSG? MSG, short name for Message, is used as the file extension for Outlook Message Item fil...
What is WMF or EMF? WMF stands for Windows Metafile. EMF stands for Enhanced Windows Metafile WMF or...
What is MSG? MSG, short name for Message, is used as the file extension for Outlook Message Item fil...
What is MPP? MPP, short name for Microsoft Project Plan, is used as the file extension for Microsoft...
File extension EXE is used for executable files ready to be executed on computer systems. An EXE sam...