ps1

Latest Articles by ps1

Identifying AD Accounts without Proper Encryption Type
database-tools

Identifying AD Accounts without Proper Encryption Type

Determining Language Packs (Part 1)
Powershell

Determining Language Packs (Part 1)

Running $PSScriptRoot in Selected Code
Powershell

Running $PSScriptRoot in Selected Code

Pasting Multiple Lines in PowerShell
Powershell

Pasting Multiple Lines in PowerShell

Cleaning Up PowerShell Modules (Part 2)
Powershell

Cleaning Up PowerShell Modules (Part 2)

Cleaning Up PowerShell Modules (Part 1)
Powershell

Cleaning Up PowerShell Modules (Part 1)

Quickly Finding Outdated PowerShell Modules
Powershell

Quickly Finding Outdated PowerShell Modules

Using Efficient Lists in PowerShell
database-tools

Using Efficient Lists in PowerShell

Managing File Shares on Windows with PowerShell (Part 1)
database-tools

Managing File Shares on Windows with PowerShell (Part 1)

Out-GridView with Custom Columns
database-tools

Out-GridView with Custom Columns

Converting Ticks to DateTime
database-tools

Converting Ticks to DateTime

Unlock Additional PowerShell Modules in Windows 10
posts-powershell

Unlock Additional PowerShell Modules in Windows 10

Exporting CSV without Quotes (and Other Conversion Tricks)
posts-powershell

Exporting CSV without Quotes (and Other Conversion Tricks)

Using BITS to Download Files (Part 1)
posts-powershell

Using BITS to Download Files (Part 1)

Repairing Install-Module (PowerShellGet)
database-tools

Repairing Install-Module (PowerShellGet)

Identifying Name of Local Administrator Account
database-tools

Identifying Name of Local Administrator Account

Reading Last Logged-On User and Other Registry Values
database-tools

Reading Last Logged-On User and Other Registry Values

Converting File Paths to 8.3 (Part 1)
database-tools

Converting File Paths to 8.3 (Part 1)

Updating Help without Admin Privileges
database-tools

Updating Help without Admin Privileges

Setting and Clearing Trusted Hosts
database-tools

Setting and Clearing Trusted Hosts

Using PowerShell 7 inside PowerShell ISE
database-tools

Using PowerShell 7 inside PowerShell ISE

Identifying Antivirus Engine State
database-tools

Identifying Antivirus Engine State

Speeding Up PowerShell Remoting
database-tools

Speeding Up PowerShell Remoting

Creating PowerShell Functions Dynamically
database-tools

Creating PowerShell Functions Dynamically

Identifying Windows Type
posts-powershell

Identifying Windows Type

Launching PowerShell Scripts Invisibly
posts-powershell

Launching PowerShell Scripts Invisibly

Get-ComputerInfo vs. systeminfo.exe (Part 1)
posts-powershell

Get-ComputerInfo vs. systeminfo.exe (Part 1)

Simple PowerShell Chat
posts-powershell

Simple PowerShell Chat

Converting SecureString to Text
posts-powershell

Converting SecureString to Text

Embedding Binaries (Pictures, DLLs) in PowerShell Scripts
posts-powershell

Embedding Binaries (Pictures, DLLs) in PowerShell Scripts

Using Awesome Export-Excel Cmdlet (Part 5)
posts-powershell

Using Awesome Export-Excel Cmdlet (Part 5)

Converting HTTP Response Codes
posts-powershell

Converting HTTP Response Codes

Finding Hidden PowerShell Applications
posts-powershell

Finding Hidden PowerShell Applications

Using Pop-up Dialogs that Are Always Visible
posts-powershell

Using Pop-up Dialogs that Are Always Visible

Using Session Variables in Web Requests
posts-powershell

Using Session Variables in Web Requests

Using FileSystemWatcher Asynchronously
posts-powershell

Using FileSystemWatcher Asynchronously

Finding PowerShell Named Pipes
posts-powershell

Finding PowerShell Named Pipes

Using a Queue instead of a Recursion
posts-powershell

Using a Queue instead of a Recursion

Locking the Screen with PowerShell
posts-powershell

Locking the Screen with PowerShell

Passing Arguments to Encoded Commands
posts-powershell

Passing Arguments to Encoded Commands

Deleting Registry Keys that can’t be Deleted
posts-powershell

Deleting Registry Keys that can’t be Deleted

Splitting Large Files in Smaller Parts (Part 1)
posts-powershell

Splitting Large Files in Smaller Parts (Part 1)

Using Custom Prompts for Mandatory Parameters
posts-powershell

Using Custom Prompts for Mandatory Parameters

Calculating Most and Least Significant Byte
posts-powershell

Calculating Most and Least Significant Byte

Create ASCII Art
posts-powershell

Create ASCII Art

Verifying Local User Account Passwords
posts-powershell

Verifying Local User Account Passwords

Converting Text to Image
posts-powershell

Converting Text to Image

Removing Empty Array Elements (Part 1)
posts-powershell

Removing Empty Array Elements (Part 1)

Removing BOM from the Unicode Files
posts-powershell

Removing BOM from the Unicode Files

Get Text File Encoding
posts-powershell

Get Text File Encoding

SID of Current User
posts-powershell

SID of Current User

Finding Windows Universal Unique Identifier (UUID)
posts-powershell

Finding Windows Universal Unique Identifier (UUID)

Formatting Date and Time (with Culture)
posts-powershell

Formatting Date and Time (with Culture)

Sending PowerShell Results to PDF (Part 1)
posts-powershell

Sending PowerShell Results to PDF (Part 1)

Using FileSystemWatcher Correctly (Part 2)
posts-powershell

Using FileSystemWatcher Correctly (Part 2)

Using FileSystemWatcher Correctly (Part 1)
posts-powershell

Using FileSystemWatcher Correctly (Part 1)

Using Solid Alternatives for $MyInvocation
posts-powershell

Using Solid Alternatives for $MyInvocation

Translating VBScript to PowerShell
posts-powershell

Translating VBScript to PowerShell

Detecting WinPE
posts-powershell

Detecting WinPE

Extract Specific Files from ZIP Archive
posts-powershell

Extract Specific Files from ZIP Archive

Running CMD commands in PowerShell
posts-powershell

Running CMD commands in PowerShell

Progress Bar Timer
posts-powershell

Progress Bar Timer

Understanding Script Block Logging (Part 1)
posts-powershell

Understanding Script Block Logging (Part 1)

Reading Event Logs Smart (Part 1)
posts-powershell

Reading Event Logs Smart (Part 1)

Turning Display Off Immediately
posts-powershell

Turning Display Off Immediately

Purging Kerberos Tickets for All Accounts
posts-powershell

Purging Kerberos Tickets for All Accounts

Purging Kerberos Tickets for the Current User
posts-powershell

Purging Kerberos Tickets for the Current User

Using  Chocolatey with PowerShell
posts-powershell

Using Chocolatey with PowerShell

Positioning the PowerShell Console Cursor
posts-powershell

Positioning the PowerShell Console Cursor

Sort IPv4 and IPv6 Addresses Correctly
posts-powershell

Sort IPv4 and IPv6 Addresses Correctly

Sort IPv4 Addresses Correctly
posts-powershell

Sort IPv4 Addresses Correctly

Final Super-Fast Ping Command
posts-powershell

Final Super-Fast Ping Command

Finding Registered Event Log Source Names
posts-powershell

Finding Registered Event Log Source Names

Select-Object and -ExcludeProperty
posts-powershell

Select-Object and -ExcludeProperty

Converting PowerShell to Batch
posts-powershell

Converting PowerShell to Batch

Converting User Name to SID
posts-powershell

Converting User Name to SID

Displaying Data in a Grid View Window Vertically
posts-powershell

Displaying Data in a Grid View Window Vertically

Finding All Domain Controllers (no module required)
posts-powershell

Finding All Domain Controllers (no module required)

Getting Cached Credentials
posts-powershell

Getting Cached Credentials

Installing Modules in PowerShell Core on Linux
posts-powershell

Installing Modules in PowerShell Core on Linux

Parsing Distinguished Names
posts-powershell

Parsing Distinguished Names

Registering Default PowerShell Repository
posts-powershell

Registering Default PowerShell Repository

Running PowerShell Script as a Scheduled Task
posts-powershell

Running PowerShell Script as a Scheduled Task

Creating Random MAC Addresses
posts-powershell

Creating Random MAC Addresses

Converting Binary String to Integer
posts-powershell

Converting Binary String to Integer

Turning AD User into a Hash Table
posts-powershell

Turning AD User into a Hash Table

Exporting ActiveDirectory Module
posts-powershell

Exporting ActiveDirectory Module

Determine if Array Contains Value – Using Wildcards
posts-powershell

Determine if Array Contains Value – Using Wildcards

Working with LDAP and Dates
posts-powershell

Working with LDAP and Dates

Show or Hide Windows
posts-powershell

Show or Hide Windows

Using Named Parameters in PowerShell Functions
posts-powershell

Using Named Parameters in PowerShell Functions

Modern Replacement for systeminfo.exe
posts-powershell

Modern Replacement for systeminfo.exe

PowerShell Remoting and HTTP 403 Error
posts-powershell

PowerShell Remoting and HTTP 403 Error

Replacing Special Chars like “Umlauts”
posts-powershell

Replacing Special Chars like “Umlauts”

Finding AD User by SAMAccountName
posts-powershell

Finding AD User by SAMAccountName

Changing Excel Cells from PowerShell
posts-powershell

Changing Excel Cells from PowerShell

Cleaning Week: Deleting CBS Log File
posts-powershell

Cleaning Week: Deleting CBS Log File

Adding New Nodes to an XML Document
posts-powershell

Adding New Nodes to an XML Document

Bringing Window in the Foreground
posts-powershell

Bringing Window in the Foreground

Enabling Telnet Client and Watching Star Wars
posts-powershell

Enabling Telnet Client and Watching Star Wars

Enabling PowerShell Remoting with NTLM
posts-powershell

Enabling PowerShell Remoting with NTLM

Test-Connection with Timeout
posts-powershell

Test-Connection with Timeout

Use Get-CimInstance with DCOM
posts-powershell

Use Get-CimInstance with DCOM

Waiting for Process Launch
posts-powershell

Waiting for Process Launch

Updating Your Office Phone Number in Active Directory
posts-powershell

Updating Your Office Phone Number in Active Directory

Cloning Active Directory Security Settings
posts-powershell

Cloning Active Directory Security Settings

Bulk-Remove Protection for Accidental Deletion in AD
posts-powershell

Bulk-Remove Protection for Accidental Deletion in AD

Using Green Checkmarks in Console Output
posts-powershell

Using Green Checkmarks in Console Output

Using Symbols in Console Output
posts-powershell

Using Symbols in Console Output

Removing Whitespace (and Line Breaks)
posts-powershell

Removing Whitespace (and Line Breaks)

Understanding break, continue, return, and exit
posts-powershell

Understanding break, continue, return, and exit

Getting Registry Values and Value Types
posts-powershell

Getting Registry Values and Value Types

Measuring Website Response (and Execution Times)
posts-powershell

Measuring Website Response (and Execution Times)

Exporting Out-GridView Content
posts-powershell

Exporting Out-GridView Content

Finding Explicit Permissions
posts-powershell

Finding Explicit Permissions

Accessing COM Objects without ProgID
posts-powershell

Accessing COM Objects without ProgID

Changing GPO Description/Comment
posts-powershell

Changing GPO Description/Comment

Replacing NTFS Permissions with SDDL Information
posts-powershell

Replacing NTFS Permissions with SDDL Information

Pinging via IPv4
posts

Pinging via IPv4

Getting the Number of Lines in a String
posts-powershell

Getting the Number of Lines in a String

Finding Minimum and Maximum Values
posts-powershell

Finding Minimum and Maximum Values

Getting Files with Specific Extensions Only
posts-powershell

Getting Files with Specific Extensions Only

Testing UNC Paths
posts-powershell

Testing UNC Paths

Exporting and Importing Credentials in PowerShell
posts-powershell

Exporting and Importing Credentials in PowerShell

Use $PSScriptRoot to Load Resources
posts-powershell

Use $PSScriptRoot to Load Resources

Getting More Than 1000 Active Directory Results
posts-powershell

Getting More Than 1000 Active Directory Results

Converting Binary SID to String SID
posts-powershell

Converting Binary SID to String SID

Converting Excel CSV to UTF8
posts-powershell

Converting Excel CSV to UTF8

Change Order of CSV Columns
posts-powershell

Change Order of CSV Columns

Check Windows License Status
posts-powershell

Check Windows License Status

Chapter 18. WMI: Windows Management Instrumentation
ebook

Chapter 18. WMI: Windows Management Instrumentation

Stripping Decimals Without Rounding
posts-powershell

Stripping Decimals Without Rounding

Removing Multiple White Spaces
posts-powershell

Removing Multiple White Spaces

Sending Emails with Special Characters
posts-powershell

Sending Emails with Special Characters

Ignoring Empty Lines
posts-powershell

Ignoring Empty Lines

Writing Registry Key Default Values
posts-powershell

Writing Registry Key Default Values

Case-Sensitive Hash Tables
posts-powershell

Case-Sensitive Hash Tables

Making sure PowerShell scripts run in 32-bit
posts-powershell

Making sure PowerShell scripts run in 32-bit

Configuring WSMan Remotely for multiple computers
posts-powershell

Configuring WSMan Remotely for multiple computers

Checking Whether Hash Table Contains Key
posts-powershell

Checking Whether Hash Table Contains Key

Calling VBScript From PowerShell
posts-powershell

Calling VBScript From PowerShell

Returning Text Information From PowerShell To VBScript
posts-powershell

Returning Text Information From PowerShell To VBScript

Accessing individual Files and Folders Remotely via WMI
posts-powershell

Accessing individual Files and Folders Remotely via WMI

Converting ASCII and Characters
posts-powershell

Converting ASCII and Characters

Validating a URL
posts-powershell

Validating a URL

Assigning Multiple Variables
posts-powershell

Assigning Multiple Variables

Converting Hash Tables to Objects
posts-powershell

Converting Hash Tables to Objects