Examples of using Description this command in English and their translations into German
{-}
-
Colloquial
-
Official
-
Ecclesiastic
-
Medicine
-
Financial
-
Ecclesiastic
-
Political
-
Computer
-
Programming
-
Official/political
-
Political
Description This command ist used to set the motor position.
C:\PS> Enter-PSSession LocalHost\PS> Description This command starts an interactive session on the local computer.
Description This command sets a voltage to a channel of a D/A converter.
C:\PS> get-random-input"red","yellow","blue" yellow Description This command returns a random value from a non-numeric collection.
Description This command sets the voltage/current value to a D/A channel at powering up or after a timeout.
EXAMPLE 2 C:\PS> remove-event-eventIdentifier 30 Description This command deletes the event with an event ID of 30 from the event queue.
Psc1 Description This command exports the names of Windows PowerShell snap-ins in the current session to the ConsoleS1.
EXAMPLE 3 C:\PS> wait-process-name outlook, winword-timeout 30 Description This command waits 30 seconds for the Outlook and Winword processes to stop.
Txt-value"Hello, World" Description This command replaces the contents of all files in the Test1 directory that have names beginning with"test" with"Hello, World.
EXAMPLE 5 C:\PS> get-service schedule-computername S1,S2 set-service-status paused Description This command suspends the Schedule service on the S1 and S2 remote computers.
EXAMPLE 4 C:\PS> push-location~-stackname Stack2 Description This command pushes the current location onto a new stack named Stack2 and then changes the current location to the home directory(%USERPROFILE%), which is represented in the command by the tilde symbol(~) or$home.
The"Property" parameter name is optional, so you can omit it. EXAMPLE 4 C:\PS>get-process winlogon format-list-property* Description This command displays all of the properties of the Winlogon process.
EXAMPLE 6 C:\PS>$pid debug-process Description This command attaches a debugger to the current PowerShell processes on the computer.
Help(default is"Y"): a DEBUG: 1+ Set-PsDebug-step; foreach($i in 1… 3){$i}1 2 3 Description This command turns on stepping and then runs a script that displays the numbers 1, 2, and 3.
EXAMPLE 1 C:\PS> resume-service sens Description This command resumes the System Event Notification service(the service name is represented in the command by"sens") on the local computer.
EXAMPLE 4 C:\PS> new-pssession-computername Server01-port 8081-useSSL-ConfigurationName E12 Description This command creates a new PSSession on the Server01 computer that connects to server port 8081 and uses the SSL protocol.
EXAMPLE 3 C:\PS> Export-ModuleMember Description This command specifies that no members defined in the script module are exported.
EXAMPLE 3 C:\PS> remove-eventlog-source MyApp Description This command deletes the MyApp event source from the logs on the local computer.
EXAMPLE 7 C:\PS> get-process sql*-module Description This command uses the Module parameter to get the modules that have been loaded by the process.
EXAMPLE 1 C:\PS> remove-eventlog-logname MyLog Description This command deletes the MyLog event log from the local computer and unregisters its event sources.
EXAMPLE 2 C:\PS> suspend-service-name lanman*-whatif Description This command tells what would happen if you suspended the services that have a service name that begins with"lanman.
EXAMPLE 3 C:\PS> new-item-path$profile-type file-force Description This command creates a Windows PowerShell profile in the path that is specified by the$profile variable.
C:\PS> set-psdebug-off; foreach($i in 1… 3){$i}1 2 3 Description This command turns off all debugging features, and then runs a script that displays the numbers 1, 2, and 3.
EXAMPLE 1 C:\PS> get-childitem*. doc group-object-property length Description This command gets the files in the current location that have a. doc extension and groups them by size.
NOTES EXAMPLE 1 C:\PS>$timespan new-timespan-hour 1-minute 25 Description This command creates a TimeSpan object with a duration of 1 hour and 25 minutes and stores it in a variable named$timespan.
EXAMPLE 2 C:\PS> get-command-verb set format-list Description This command gets information about all of the cmdlets and functions with the verb"set", and it displays some of that information in a list.
C:\PS> if(test-connection-computername Server01-quiet){new-pssession Server01} Description This command creates a PSSession on the Server01 only if at least one of the pings sent to the computer succeeds.
EXAMPLE 1 C:\PS> get-command start-transcript format-custom-view MyView Description This command formats information about the Start-Transcript cmdlet in the format defined by the MyView view, a custom view created by the user.
EXAMPLE 5 C:\PS> set-executionpolicy-scope CurrentUser-executionPolicy Undefined Description This command uses an execution policy value of Undefined to effectively remove the execution policy that is set for the current user scope.
EXAMPLE 1 C:\PS>$s new-pssession-computername Server01 C:\PS> import-pssession-session$s Description This command imports all commands from a PSSession on the Server01 computer into the current session, except for commands that have the same names as commands in the current session.