List/Grid Tag Archives: PowerShell 2.0

#PSTip Quickly generate a password

#PSTip Quickly generate a password

Note: This tip requires PowerShell 2.0 and above Generating a password usually consists of creating separate collections containing uppercase letters, lowercase letters, numbers and non-alphanumeric characters (@,%,$,^,&,*, etc…) and then randomizing… Read more »

#PSTip How to speed up the Test-Connection command

#PSTip How to speed up the Test-Connection command

Note: This tip requires PowerShell 2.0 and above If you only like to know if a computer can be contacted across a network, you can use the Test-Connection cmdlet with the… Read more »

#PSTip How to remove the first line from a text file

#PSTip How to remove the first line from a text file

There are a lot of ways to remove the first line from a text file. I hope you will find a multiple assignment technique interesting. Here is what you need… Read more »

#PSTip Get old files based on LastWriteTime

#PSTip Get old files based on LastWriteTime

Note: This tip requires PowerShell 2.0 and above There are many ways to get the age of a file. The most common way is to subtract the file’s LastWriteTime from… Read more »

#PSTip Find all PowerShell Profiles from $PROFILE

#PSTip Find all PowerShell Profiles from $PROFILE

Note: This tip requires PowerShell 2.0 and above I have always wanted to see what all PowerShell profiles are defined and in-use on a system. Sometimes, this is very crucial… Read more »

#PSTip Displaying all possible combinations of a flagged enumeration

#PSTip Displaying all possible combinations of a flagged enumeration

In the last tip, I showed you how to create an enumeration object on which we can do bitwise operations to derive combinational values. Now, in this tip, let us… Read more »

© 7998 PowerShell Magazine. All rights reserved. XHTML / CSS Valid.
Proudly designed by Theme Junkie.