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

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 (&gt;) with more controlling parameter...
2016-10-20, 331👍, 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, 322👍, 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, 317👍, 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, 529👍, 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&gt; "" | get-member -MemberType method TypeName: System.String Name MemberType Defini...
2016-10-19, 432👍, 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, 363👍, 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, 304👍, 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, 303👍, 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, 382👍, 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, 349👍, 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, 339👍, 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, 306👍, 0💬

Windows PowerShell Session with Remote Computers
What is a Windows PowerShell session? A session is an environment where you can run Windows PowerShell commands and scripts. Windows systems supports two types of sessions for Windows PowerShell: 1. Default Sessions - Sessions implicitly created by the local computer, when you start Windows PowerShe...
2016-10-17, 290👍, 0💬

Enable WinRM for Remote Computer with Windows PowerShell
How to enable WinRM on the remote computer? I want to access it from my local computer with Windows PowerShell sessions. To support Windows PowerShell sessions, you need to perform the following tasks on the remote computer: Starting or restarting (if already started) the WinRM service Setting the W...
2016-10-15, 483👍, 0💬

"Enter-PSSession" Cmdlet in Windows PowerShell
What is the "Enter-PSSession" cmdlet in Windows PowerShell? You can use the "Enter-PSSession" cmdlet to create a new PSSession on a remote computer, and continue to use that PSSession to run cmdlets on the remote computer. Here is an example of using the "Enter-PSSession" cmdlet to run two cmdlets o...
2016-10-15, 411👍, 0💬

Connect to Existing PSSession in Windows PowerShell
How to connect to an existing PSSession in Windows PowerShell? You can use the "Enter-PSSession" cmdlet to connect to an existing PSSession in Windows PowerShell by using the "-id n" or "-name xxx" to specify the PSSession. Here is an example of using the "Enter-PSSession" cmdlet to connect to exist...
2016-10-15, 370👍, 0💬

"New-PSSession" Cmdlet Error in Windows PowerShell
Why I am getting the "new-pssession : [...] Connecting to remote server ... failed" error in Windows PowerShell? Sometimes, when you try to create a PSSession on a remote computer, you get an error as shown in the following example: PS C:\fyicenter&gt; New-PSSession office-server new-pssession :...
2016-10-15, 341👍, 0💬

"Get-PSSession" Cmdlet in Windows PowerShell
What is the "Get-PSSession" cmdlet in Windows PowerShell? You can use the "Get-PSSession" cmdlet to get the user-managed Windows PowerShell sessions ("PSSessions") on local and remote computers. Here is an example of using the "Get-PSSession" cmdlet: PS C:\fyicenter&gt; New-PSSession office-serv...
2016-10-15, 326👍, 0💬

"Invoke-Command" Cmdlet in Windows PowerShell
What is the "Invoke-Command" cmdlet in Windows PowerShell? You can use the "Invoke-Command" cmdlet to run commands on remote computers in one-time PSSession. With a single Invoke-Command command, you can run commands on multiple computers. "Invoke-Command" cmdlet can also be used to run commands on ...
2016-10-13, 406👍, 0💬

"Remove-PSSession" Cmdlet in Windows PowerShell
What is the "Remove-PSSession" cmdlet in Windows PowerShell? You can use the "Remove-PSSession" cmdlet to remove one or more existing PSSessions in Windows PowerShell by using the "-id n" or "-name xxx" to specify the PSSession. Here is an example of using the "Remove-PSSession" cmdlet: PS C:\fyicen...
2016-10-13, 372👍, 0💬

What Is Windows PowerShell Background Job
What are Windows PowerShell background jobs? A Windows PowerShell background job is an executiong of a Windows PowerShell command detached from the console running in the background. Windows PowerShell offers the following cmdlets to help you managing background jobs: Start-Job - Starts a background...
2016-10-13, 347👍, 0💬

Managing Windows PowerShell Background Jobs
Where to find tutorials on managing Windows PowerShell background jobs? Here is a collection of tutorials compiled by FYIcenter.com team on managing Windows PowerShell background jobs. What Is Windows PowerShell Background Job "Start-Job" Cmdlet in Windows PowerShell "Get-Job" Cmdlet in Windows Powe...
2016-10-13, 308👍, 0💬

Example of PowerShell Session on Remote Computer
Where to get an example of running PowerShell session on a remote computer? Here is a good example of running PowerShell session on a remote computer called office-server. The example assumes that the local computer and the remote computer are in the same domain, and you have a domain login name and...
2016-10-13, 267👍, 0💬

Creating Command Buttons to Run Macros
How to create a command button to run my macro in slide show view? I have created a macro that displays message dialog box. I want to add a command button my slide. When the button is clicked while in slide show view, I want the message box to be displayed. You can create an ActiveX control command ...
2016-10-13, 12028👍, 1💬

💬 2016-10-13 someone: Thanks

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