external help file | Module Name | online version | schema |
---|---|---|---|
PowerSponse-help.xml |
PowerSponse |
2.0.0 |
Shutdown a computer.
Stop-Computer [[-ComputerName] <String[]>] [[-ComputerList] <String>] [[-Method] <String>]
[[-BinPath] <String>] [-NoRemoteRegistry] [[-Session] <PSSession[]>] [[-Credential] <PSCredential>]
[[-OnlineCheck] <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
Shutdown a computer.
PS C:\> {{ Add example code here }}
{{ Add example description here }}
Binary path for using with external tools.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
File with a list of target computers.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
A list of computer names as comma separated list.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Alternate credentials to use.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Method to use by the function.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: external, wmi
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Do not enable RemoteRegistry. By default, if needed, RemoteRegistry will be enabled before running commands and disabled afterwards.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Check if the target hosts are online. Disabling it speeds things up.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Use an existing PSSession to execute the commands.
Type: PSSession[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).