
PoshTip #19 – Creating temporary files
PoshTip #19 – Creating temp files Creating a temporary file in PowerShell v5 is very simple. The “New-TemporaryFile” cmdlet has been implemented. Just run the following Read More
PoshTip #19 – Creating temp files Creating a temporary file in PowerShell v5 is very simple. The “New-TemporaryFile” cmdlet has been implemented. Just run the following Read More
PoshTip #18 – Checking for string within string With PowerShell, you can determine whether or not a given substring can be found within another string. Read More
PoshTip #17 – Copy files to a new location To copy a file from one folder to another, you can use the Copy-Item cmdlet : Copy-Item -Path Read More
PoshTip #16 – Writing to text file If you need to write into a text file, you can use Add-Content PowerShell cmdlet : $String = Read More
PoshTip #15 – Accessing Windows Registry Accessing the registry is as easy as accessing the file system. Type the following command : PS> Set-Location HKLM:\ Read More
PoshTip #14 – Find Certificates that are about to expire Here is a quick way to list the days remaining before the certificates on Read More
PoshTip #13 – How to Create a PowerShell Profile A PowerShell profile is a PowerShell script that runs automatically when you start a PowerShell console. Read More
PoshTip #11 – Active Directory PSDrive One of cool feature enabled by the Active Directory module is the “Active Directory PSDrive”. You can browse your Read More
PoshTip #10 – How to comment lines in PowerShell ? You should document your scripts with comments because these make the code easier to read. Single-line Read More