Skip to content

ShellGeek

  • Home
  • PowerShell
  • PowerShell Tips
  • About Us
  • Contact

File

Read File Line by Line in PowerShell

by shelladmin

To read file line by line in the Windows PowerShell, use Get-Content to read the content of the item, switch statements with regex expression, or …

Read more

PowerShell – Rename part of FileName

by shelladmin

Rename-Item cmdlet in PowerShell is used to rename part of the filename by passing the file path to be replaced with a new name. The …

Read more

PowerShell Get File Extension

by shelladmin

File extension or filename extension is a suffix to the computer file that comes after the period eg.. (.ps1,.txt,.exe). In PowerShell to get a file …

Read more

PowerShell – Convert XML to CSV File

by shelladmin

Using the Export-CSV and ConvertTo-CSV cmdlets in PowerShell, you can convert XML file to CSV file. XML (Extensible Markup Language) is a markup language similar …

Read more

PowerShell Split File in smaller files

by shelladmin

PowerShell has multiple modules for file manipulation. It has a File-Splitter module which is used to split file into smaller files based on file size. …

Read more

PowerShell File Attributes – Get File Attributes

by shelladmin

To get file attributes in PowerShell, you can use Get-ChildItem or Get-Item cmdlets. It returns the file attributes or properties available on the specified files. …

Read more

PowerShell Export-CSV with Date in FileName

by shelladmin

The Export-CSV cmdlet in PowerShell is used to create a CSV file from the object passed to it and export CSV to the specified location …

Read more

PowerShell Get-ChildItem – Get Full Path of Files in Directory

by shelladmin

Use the Get-ChildItem cmdlet in PowerShell to get the full path of the file in the current directory. Get-ChildItem returns one or more items from …

Read more

PowerShell – Get the Last Modified File in the Directory

by shelladmin

To get the last modified file in the directory using PowerShell, use the Get-ChildItem cmdlet to get the items from the directory and use the …

Read more

How to get the File owner using PowerShell

by shelladmin

To get the file owner using PowerShell, pass the file path to the Get-Acl cmdlet in PowerShell. Get-Acl cmdlet returns information about the file which …

Read more

Post navigation
Older posts
Page1 Page2 Next →

Recent Posts

  • Read File Line by Line in PowerShell
  • PowerShell – Rename part of FileName
  • PowerShell – Refresh Environment Variables

Footer

  • Home
  • About Us
  • Contact
  • Privacy Policy
  • Terms and Conditions
Copyright © 2022 ShellGeek All rights reserved