Skip to content

Commit ed32771

Browse files
committed
add link
1 parent d25bcff commit ed32771

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

TOOL-Get-Uptime/Get-Uptime.ps1

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
function Get-Uptime {
2-
<#
3-
.SYNOPSIS
4-
The function Get-Uptime will get uptime of a local or remote machine.
2+
<#
3+
.SYNOPSIS
4+
The function Get-Uptime will get uptime of a local or remote machine.
55
6-
.DESCRIPTION
7-
The function Get-Uptime will get uptime of a local or remote machine.
8-
This function is compatible with CIM sessions and alternative credentials.
6+
.DESCRIPTION
7+
The function Get-Uptime will get uptime of a local or remote machine.
8+
This function is compatible with CIM sessions and alternative credentials.
99
10-
.PARAMETER ComputerName
11-
Specifies the computername
10+
.PARAMETER ComputerName
11+
Specifies the computername
1212
13-
.PARAMETER Credential
14-
Specifies the credential to use
13+
.PARAMETER Credential
14+
Specifies the credential to use
1515
16-
.PARAMETER CimSession
17-
Specifies one or more existing CIM Session(s) to use
16+
.PARAMETER CimSession
17+
Specifies one or more existing CIM Session(s) to use
1818
19-
.EXAMPLE
20-
PS C:\> Get-Uptime -ComputerName DC01
19+
.EXAMPLE
20+
PS C:\> Get-Uptime -ComputerName DC01
2121
22-
.EXAMPLE
23-
PS C:\> Get-Uptime -ComputerName DC01 -Credential (Get-Credential -cred "FX\SuperAdmin")
22+
.EXAMPLE
23+
PS C:\> Get-Uptime -ComputerName DC01 -Credential (Get-Credential -cred "FX\SuperAdmin")
2424
25-
.EXAMPLE
26-
PS C:\> Get-Uptime -CimSession $Session
25+
.EXAMPLE
26+
PS C:\> Get-Uptime -CimSession $Session
2727
28-
.EXAMPLE
29-
PS C:\> Get-Uptime -CimSession $Session1,$session2,$session3
28+
.EXAMPLE
29+
PS C:\> Get-Uptime -CimSession $Session1,$session2,$session3
3030
31-
.NOTES
32-
Francois-Xavier Cat
33-
@lazywinadmin
34-
lazywinadmin.com
35-
.LINK
36-
https://github.com/lazywinadmin/PowerShell
31+
.NOTES
32+
Francois-Xavier Cat
33+
@lazywinadmin
34+
lazywinadmin.com
35+
.LINK
36+
https://github.com/lazywinadmin/PowerShell
3737
#>
3838
[CmdletBinding()]
3939
PARAM (

0 commit comments

Comments
 (0)