<< < 1 2 3 4 5 6 7 8 > >>   Sort: Rank

Copy Directory or File in Windows PowerShell
How to copy a directory or file to a new location in Windows PowerShell? Can I use the old "copy" command? Yes, you can still use the old "copy" command in Windows PowerShell. But "copy" is defined as an alias of the "Copy-Item" cmdlet. The Copy-Item cmdlet copies an item from one location to anothe...
2016-10-24, 283👍, 0💬

Move Directory or File in Windows PowerShell
How to move a directory or file to a new location in Windows PowerShell? Can I use the old "move" command? Yes, you can still use the old "move" command in Windows PowerShell. But "move" is defined as an alias of the "Move-Item" cmdlet. The "Move-Item" cmdlet moves an item, including its properties,...
2016-10-24, 278👍, 0💬

Rename Directory or File in Windows PowerShell
How to rename a directory or file in Windows PowerShell? Can I use the old "ren" command? Yes, you can still use the old "ren" command in Windows PowerShell. But "ren" is defined as an alias of the "Rename-Item" cmdlet. The "Rename-Item" cmdlet changes the name of a specified item, for example a dir...
2016-10-24, 262👍, 0💬

Create Directory in Windows PowerShell
How to create a directory in Windows PowerShell? Can I use the old "mkdir" command? Yes, you can still use the old "mkdir" command in Windows PowerShell. But "mkdir" is defined as an alias of the "New-Item" cmdlet. The "New-Item" cmdlet creates a new directory or file. The "New-Item" cmdlet requires...
2016-10-24, 255👍, 0💬

Creating PowerPoint Show Files
How to create a PowerPoint show file? I want to create a show file from a PowerPoint 2007 presentation file, so that I can give the show file to my friends to view it in show mode. Can I do this with PowerPoint 2007? Yes, you can easily create a show file from a presentation file with PowerPoint 200...
2016-10-23, 4522👍, 0💬

Get File Properties in Windows PowerShell
How to get file properties in Windows PowerShell? I want to know when the file was originally created. If you want to get all properties of a file in Windows PowerShell, you can use the "Get-Item ... | Select-Object -Property *" pipeline. Here is good example of getting file properties in Windows Po...
2016-10-22, 290👍, 0💬

Delete Directory or File in Windows PowerShell
How to delete a directory or file to a new location in Windows PowerShell? Can I use the old "del" command? Yes, you can still use the old "del" command in Windows PowerShell. But "del" is defined as an alias of the "Remove-Item" cmdlet. The "Remove-Item" cmdlet deletes one or more items, like direc...
2016-10-22, 263👍, 0💬

Get File Content in Windows PowerShell
How to get the content of a file in Windows PowerShell? You can use the "Get-Content" cmdlet to get the content of a file in Windows PowerShell. "Get-Content" cmdlet gets the content of the item at the location specified by the path, such as the text in a file. It reads the content one line at a tim...
2016-10-22, 258👍, 0💬

Get Directory Properties in Windows PowerShell
How to get directory properties in Windows PowerShell? I want to know how many files are there in a directory. If you want to get measurement properties of a directory in Windows PowerShell like total file size, you can use the "Get-ChildItem ... -Recurse | Measure-Object -Sum Length" pipeline. Here...
2016-10-22, 237👍, 0💬

Put Data into File in Windows PowerShell
How to put data into a file in Windows PowerShell? You can use the "Set-Content" or "Add-Content" cmdlet to put data into a file in Windows PowerShell. The "Set-Content" cmdlet is a string-processing cmdlet that writes or replaces the content in the specified item, such as a file. You can type the c...
2016-10-22, 233👍, 0💬

String Concatenation in Windows PowerShell
How to concatenate strings in Windows PowerShell? I want to join two strings together. The easiest way to join two strings together is to use the concatenate operator (+) as shown in the example below: PS C:\fyicenter> $name = "John" PS C:\fyicenter> # using string concatenation operation PS C...
2016-10-20, 302👍, 0💬

Variable Expansion in Strings in Windows PowerShell
What is variable expansion in strings in Windows PowerShell? Variable expansion in strings is a short-hand of string concatenation operations using the following syntax rule: When a variable is included in a double-quoted string literal like "... $variable ...", it will be replaced with the string r...
2016-10-20, 260👍, 0💬

Work with Strings in Windows PowerShell
Where to find tutorials on how to work with strings in Windows PowerShell? Here is a collection of tutorials compiled by FYIcenter.com team on working strings in Windows PowerShell. What Is String in Windows PowerShell String Concatenation in Windows PowerShell Variable Expansion in Strings in Windo...
2016-10-20, 255👍, 0💬

Send Console Output to File in Windows PowerShell
How to send console output to a file in Windows PowerShell? You can use the "Out-File" cmdlet to send console output into a file in Windows PowerShell. The "Out-File" cmdlet sends output to a file. You can use this cmdlet instead of the redirection operator (>) with more controlling parameters. F...
2016-10-20, 242👍, 0💬

What Is String in Windows PowerShell
What is a string in Windows PowerShell? A string is a sequence of characters in Windows PowerShell. If a sting is encoded in ASCII format, each character occupies a single byte. But if a string is encoded in UTF-8 format, a character may occupy multiple bytes. So the number of characters in a string...
2016-10-20, 242👍, 0💬

Select String by Pattern in Windows PowerShell
How to select strings with a given pattern in Windows PowerShell? I want to find some specific text in strings. You can use the "Select-String" cmdlet to do string pattern match in Windows PowerShell. The Select-String cmdlet searches for text and text patterns in input strings and files. You can us...
2016-10-19, 413👍, 0💬

String Object Methods in Windows PowerShell
What methods are available on the string object in Windows PowerShell? I want to know which method to call to trim a string. A String object supports the following methods in Windows PowerShell: PS C:\fyicenter> "" | get-member -MemberType method TypeName: System.String Name MemberType Definition...
2016-10-19, 349👍, 0💬

String Comparison in Windows PowerShell
How to compare two strings in Windows PowerShell? Windows PowerShell supports the following string comparison operations: -eq - Equal to -ne - Not equal to -gt - Greater than -ge - Greater than or equal to -lt - Less than -le - Less than or equal to -Like - Match with wildcard characters ? and * -No...
2016-10-19, 278👍, 0💬

Expression Expansion in Strings in Windows PowerShell
What is expression expansion in strings in Windows PowerShell? Expression expansion in strings is a short-hand of string concatenation operations using the following syntax rule: When an expression enclosed in parentheses following a $ sign is included in a double-quoted string literal like "... $(e...
2016-10-19, 250👍, 0💬

String Replacement in Windows PowerShell
How to replace a part of a string in Windows PowerShell? You can use the "-Replace" operation to replace a part of a string in Windows PowerShell. Here is the syntax of the "-Replace" operation: $subject -Replace $pattern,$replacement Regular expression is supported in $pattern. Here are some good e...
2016-10-19, 248👍, 0💬

Managing Remote Computer with Windows PowerShell
Where to find tutorials on managing remote computers with Windows PowerShell? Here is a collection of tutorials compiled by FYIcenter.com team on managing remote computers with Windows PowerShell. Remote Computing Overview in Windows PowerShell "Test-Connection" Cmdlet in Windows PowerShell Windows ...
2016-10-17, 307👍, 0💬

"New-PSSession" Cmdlet in Windows PowerShell
How to use "New-PSSession" cmdlet in Windows PowerShell? You can use the "New-PSSession" cmdlet to create a PSSession on a remote computer. The New-PSSession cmdlet creates a Windows PowerShell session (PSSession) on one or more remote computers. Once a PSSession is created on a remote computer, it ...
2016-10-17, 282👍, 0💬

"Test-Connection" Cmdlet in Windows PowerShell
How to use "Test-Connection" cmdlet in Windows PowerShell? "Test-Connection" cmdlet in Windows PowerShell is similar to the old "ping" command. The Test-Connection cmdlet sends Internet Control Message Protocol (ICMP) echo request packets ("pings") to one or more remote computers and returns the ech...
2016-10-17, 254👍, 0💬

Remote Computing Overview in Windows PowerShell
How to manage remote computers in Windows PowerShell? Windows PowerShell allows you to manage remote computers by using various technologies, including WMI, RPC, and WS-Management. You can run commands on one or hundreds of computers with a single Windows PowerShell command. Windows PowerShell offer...
2016-10-17, 246👍, 0💬

<< < 1 2 3 4 5 6 7 8 > >>   Sort: Rank