< Back

Invoke-Elevate

Mon Jan 13, 2020 5:27 am

NAME Invoke-Elevate



SYNTAX

Invoke-Elevate [-ScriptBlock] <scriptblock> [-Command <string>] [-NoProfile] [-Persist] [<CommonParameters>]



Invoke-Elevate [-Command] <string> [-ScriptBlock <scriptblock>] [-NoProfile] [-Persist] [<CommonParameters>]





PARAMETERS

-Command <string>

Commands to be executed



Required? true

Position? 0

Accept pipeline input? false

Parameter set name Command, ScriptBlock

Aliases None

Dynamic? false



-NoProfile



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Persist



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-ScriptBlock <scriptblock>

Scriptblock of commands to be executed



Required? true

Position? 0

Accept pipeline input? false

Parameter set name ScriptBlock, Command

Aliases None

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

None





OUTPUTS

System.Object



ALIASES

elevate

sudo





REMARKS

None





description : {@{Text=Long description}}

syntax : @{syntaxItem=@{name=Invoke-EnvironmentalVariable; parameter=System.Management.Automation.PSObject[]}}

parameters : @{parameter=System.Management.Automation.PSObject[]}

examples : @{example=System.Management.Automation.PSObject[]}

details : @{name=Invoke-EnvironmentalVariable; description=System.Management.Automation.PSObject[]}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : Invoke-EnvironmentalVariable

Category : Function

Synopsis : Short description

Component :

Role :

Functionality :

ModuleName : core





examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=Invoke-Snitch -strMessage

Value; remarks=System.Management.Automation.PSObject[]; title=-------------------------- EXAMPLE 1

--------------------------}}

inputTypes : @{inputType=@{type=@{name=Requires a string message.}}}

alertSet : @{alert=System.Management.Automation.PSObject[]}

syntax : @{syntaxItem=@{name=Invoke-Snitch; parameter=@{description=System.Management.Automation.PSObject[];

parameterValue=String; name=strMessage; required=true; globbing=false; pipelineInput=false;

position=1}}}

parameters : @{parameter=@{description=System.Management.Automation.PSObject[]; defaultValue=;

parameterValue=String; name=strMessage; type=@{name=String}; required=true; globbing=false;

pipelineInput=false; position=1}}

details : @{name=Invoke-Snitch; description=System.Management.Automation.PSObject[]}

description : {@{Text=Add a more complete description of what the function does.}}

relatedLinks : @{navigationLink=@{linkText=URLs to related sites

The first link is opened by Get-Help -Online Invoke-Snitch}}

returnValues : @{returnValue=@{type=@{name=Void.}}}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : Invoke-Snitch

Category : Function

Synopsis : Describe purpose of "Invoke-Snitch" in 1-2 sentences.

Component :

Role :

Functionality :

ModuleName : core