Skip to content

Commit 31d7022

Browse files
Review scripts
1 parent e7d2cbd commit 31d7022

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+232
-232
lines changed

WinSystemManagement/Network/Clear-SysMDNSCache.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 4.0
1+
#Requires -Version 5.0
22

33
<#
44
.SYNOPSIS
@@ -20,10 +20,10 @@
2020
https://github.com/scriptrunner/ActionPacks/tree/master/WinSystemManagement/Network
2121
2222
.Parameter ComputerName
23-
Specifies the name of the computer on which to clear the dns cache
23+
[sr-en] Name of the computer on which to clear the dns cache
2424
2525
.Parameter AccessAccount
26-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
26+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
2727
#>
2828

2929
[CmdLetBinding()]

WinSystemManagement/Network/Get-SysMDNSCache.ps1

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 4.0
1+
#Requires -Version 5.0
22

33
<#
44
.SYNOPSIS
@@ -20,19 +20,19 @@
2020
https://github.com/scriptrunner/ActionPacks/tree/master/WinSystemManagement/Network
2121
2222
.Parameter Section
23-
Specifies the record section
23+
[sr-en] Record section
2424
2525
.Parameter Status
26-
Specifies the record status
26+
[sr-en] Record status
2727
2828
.Parameter Type
29-
Specifies the record type
29+
[sr-en] Record type
3030
3131
.Parameter ComputerName
32-
Specifies the name of the computer from which to retrieves the dns cache
32+
[sr-en] Name of the computer from which to retrieves the dns cache
3333
3434
.Parameter AccessAccount
35-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
35+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
3636
#>
3737

3838
[CmdLetBinding()]

WinSystemManagement/Network/Get-SysMDNSClient.ps1

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 4.0
1+
#Requires -Version 5.0
22

33
<#
44
.SYNOPSIS
@@ -20,16 +20,16 @@
2020
https://github.com/scriptrunner/ActionPacks/tree/master/WinSystemManagement/Network
2121
2222
.Parameter AdapterName
23-
Specifies the friendly name of the interface. If the parameter is empty, all dns clients are retrieved
23+
[sr-en] Friendly name of the interface. If the parameter is empty, all dns clients are retrieved
2424
2525
.Parameter ComputerName
26-
Specifies the name of the computer from which to retrieve the dns client
26+
[sr-en] Name of the computer from which to retrieve the dns client
2727
2828
.Parameter AccessAccount
29-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
29+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
3030
3131
.Parameter Properties
32-
List of properties to expand, comma separated e.g. Name,Description. Use * for all properties
32+
[sr-en] List of properties to expand, comma separated e.g. Name,Description. Use * for all properties
3333
#>
3434

3535
[CmdLetBinding()]

WinSystemManagement/Network/Get-SysMDNSIPAddress.ps1

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 4.0
1+
#Requires -Version 5.0
22

33
<#
44
.SYNOPSIS
@@ -20,16 +20,16 @@
2020
https://github.com/scriptrunner/ActionPacks/tree/master/WinSystemManagement/Network
2121
2222
.Parameter AdapterName
23-
Specifies the friendly name of the interface. If the parameter is empty, the ip addresses from all adapters are retrieved
23+
[sr-en] Friendly name of the interface. If the parameter is empty, the ip addresses from all adapters are retrieved
2424
2525
.Parameter ComputerName
26-
Specifies the name of the computer from which to retrieve the dns client
26+
[sr-en] Name of the computer from which to retrieve the dns client
2727
2828
.Parameter AccessAccount
29-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
29+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
3030
3131
.Parameter Properties
32-
List of properties to expand, comma separated e.g. Name,Description. Use * for all properties
32+
[sr-en] List of properties to expand, comma separated e.g. Name,Description. Use * for all properties
3333
#>
3434

3535
[CmdLetBinding()]

WinSystemManagement/Network/Get-SysMIPAddress.ps1

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 4.0
1+
#Requires -Version 5.0
22
#Requires -Modules NetTcpIp
33

44
<#
@@ -22,16 +22,16 @@
2222
https://github.com/scriptrunner/ActionPacks/tree/master/WinSystemManagement/Network
2323
2424
.Parameter AdapterName
25-
Specifies the friendly name of the interface. If the parameter is empty, the ip addresses from all adapters are retrieved
25+
[sr-en] Friendly name of the interface. If the parameter is empty, the ip addresses from all adapters are retrieved
2626
2727
.Parameter ComputerName
28-
Specifies the name of the computer from which to retrieve the dns client
28+
[sr-en] Name of the computer from which to retrieve the dns client
2929
3030
.Parameter AccessAccount
31-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
31+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
3232
3333
.Parameter Properties
34-
List of properties to expand, comma separated e.g. Name,Description. Use * for all properties
34+
[sr-en] List of properties to expand, comma separated e.g. Name,Description. Use * for all properties
3535
#>
3636

3737
[CmdLetBinding()]

WinSystemManagement/Network/Register-SysMDNSClient.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 4.0
1+
#Requires -Version 5.0
22

33
<#
44
.SYNOPSIS
@@ -20,10 +20,10 @@
2020
https://github.com/scriptrunner/ActionPacks/tree/master/WinSystemManagement/Network
2121
2222
.Parameter ComputerName
23-
Specifies the name of the computer on which to register the dns client
23+
[sr-en] Name of the computer on which to register the dns client
2424
2525
.Parameter AccessAccount
26-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
26+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
2727
#>
2828

2929
[CmdLetBinding()]

WinSystemManagement/Network/Reset-SysMDNS.ps1

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 4.0
1+
#Requires -Version 5.0
22

33
<#
44
.SYNOPSIS
@@ -21,13 +21,13 @@
2121
2222
2323
.Parameter AdapterName
24-
Specifies the friendly name of the interface
24+
[sr-en] Friendly name of the interface
2525
2626
.Parameter ComputerName
27-
Specifies the name of the computer on which to reset the dns
27+
[sr-en] Name of the computer on which to reset the dns
2828
2929
.Parameter AccessAccount
30-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
30+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
3131
#>
3232

3333
[CmdLetBinding()]

WinSystemManagement/Network/Set-SysMDNSIPAddress.ps1

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 4.0
1+
#Requires -Version 5.0
22

33
<#
44
.SYNOPSIS
@@ -20,16 +20,16 @@
2020
https://github.com/scriptrunner/ActionPacks/tree/master/WinSystemManagement/Network
2121
2222
.Parameter AdapterName
23-
Specifies the friendly name of the interface. The cmdlet modifies IP addresses that match the alias
23+
[sr-en] Friendly name of the interface. The cmdlet modifies IP addresses that match the alias
2424
2525
.Parameter ComputerName
26-
Specifies the name of the computer from which to retrieve the dns client
26+
[sr-en] Name of the computer from which to retrieve the dns client
2727
2828
.Parameter AccessAccount
29-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
29+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
3030
3131
.Parameter IPAddresses
32-
Specifies a list of DNS server IP addresses to set for the interface
32+
[sr-en] List of DNS server IP addresses to set for the interface
3333
#>
3434

3535
[CmdLetBinding()]

WinSystemManagement/Network/Set-SysMIPAddress.ps1

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 4.0
1+
#Requires -Version 5.0
22
#Requires -Modules NetTcpIp
33

44
<#
@@ -22,22 +22,22 @@
2222
https://github.com/scriptrunner/ActionPacks/tree/master/WinSystemManagement/Network
2323
2424
.Parameter AdapterName
25-
Specifies the friendly name of the interface. The cmdlet modifies IP addresses that match the alias
25+
[sr-en] Friendly name of the interface. The cmdlet modifies IP addresses that match the alias
2626
2727
.Parameter ComputerName
28-
Specifies the name of the computer from which to retrieve the dns client
28+
[sr-en] Name of the computer from which to retrieve the dns client
2929
3030
.Parameter AccessAccount
31-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
31+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
3232
3333
.Parameter IPAddress
34-
Specifies the IPv4 or IPv6 address to replace
34+
[sr-en] IPv4 or IPv6 address to replace
3535
3636
.Parameter DefaultGateway
37-
Specifies the IPv4 address or IPv6 address of the default gateway for the host
37+
[sr-en] IPv4 address or IPv6 address of the default gateway for the host
3838
3939
.Parameter AddressFamily
40-
Specifies an array of IP address families. The cmdlet modifies the IP address configuration that matches the families
40+
[sr-en] Array of IP address families. The cmdlet modifies the IP address configuration that matches the families
4141
#>
4242

4343
[CmdLetBinding()]

WinSystemManagement/Processes/Get-SysMProcess.ps1

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 4.0
1+
#Requires -Version 5.0
22

33
<#
44
.SYNOPSIS
@@ -20,28 +20,28 @@
2020
https://github.com/scriptrunner/ActionPacks/tree/master/WinSystemManagement/Processes
2121
2222
.Parameter ComputerName
23-
Gets the active processes on the specified computer. The default is the local computer
23+
[sr-en] Gets the active processes on the specified computer. The default is the local computer
2424
2525
.Parameter AccessAccount
26-
Specifies a user account that has permission to perform this action
26+
[sr-en] User account that has permission to perform this action
2727
2828
.Parameter ProcessID
29-
Specifies the process by process ID (PID)
29+
[sr-en] Process by process ID (PID)
3030
3131
.Parameter ProcessName
32-
Specifies the process by process name
32+
[sr-en] Process by process name
3333
3434
.Parameter FileVersionInfo
35-
Indicates that this cmdlet gets the file version information for the program that runs in the process.
35+
[sr-en] Gets the file version information for the program that runs in the process.
3636
3737
.Parameter IncludeUserName
38-
Indicates that the UserName value of the Process object is returned with results of the command
38+
[sr-en] UserName value of the Process object is returned with results of the command
3939
4040
.Parameter Module
41-
Indicates that this cmdlet gets the modules that have been loaded by the processes
41+
[sr-en] Gets the modules that have been loaded by the processes
4242
4343
.Parameter Properties
44-
List of properties to expand, comma separated e.g. Name,ID. Use * for all properties
44+
[sr-en] List of properties to expand, comma separated e.g. Name,ID. Use * for all properties
4545
#>
4646

4747
[CmdLetBinding()]

WinSystemManagement/Processes/Start-SysMProcess.ps1

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 4.0
1+
#Requires -Version 5.0
22

33
<#
44
.SYNOPSIS
@@ -20,25 +20,25 @@
2020
https://github.com/scriptrunner/ActionPacks/tree/master/WinSystemManagement/Processes
2121
2222
.Parameter FilePath
23-
Specifies the path (optional) and file name of the program that runs in the process
23+
[sr-en] Path (optional) and file name of the program that runs in the process
2424
2525
.Parameter AccessAccount
26-
Specifies a user account that has permission to perform this action
26+
[sr-en] User account that has permission to perform this action
2727
2828
.Parameter ArgumentList
29-
Specifies parameters or parameter values to use when starting the process
29+
[sr-en] Parameters or parameter values to use when starting the process
3030
3131
.Parameter NoNewWindow
32-
Start the new process in the current console window, by default Windows PowerShell opens a new window.
32+
[sr-en] Start the new process in the current console window, by default Windows PowerShell opens a new window.
3333
3434
.Parameter Verb
35-
Indicates that this cmdlet gets the file version information for the program that runs in the process.
35+
[sr-en] Gets the file version information for the program that runs in the process.
3636
3737
.Parameter WindowStyle
38-
Specifies the state of the window that is used for the new process
38+
[sr-en] State of the window that is used for the new process
3939
4040
.Parameter WorkingDirectory
41-
Specifies the location of the executable file or document that runs in the process
41+
[sr-en] Location of the executable file or document that runs in the process
4242
#>
4343

4444
[CmdLetBinding()]

WinSystemManagement/Processes/Stop-SysMProcess.ps1

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 4.0
1+
#Requires -Version 5.0
22

33
<#
44
.SYNOPSIS
@@ -20,16 +20,16 @@
2020
https://github.com/scriptrunner/ActionPacks/tree/master/WinSystemManagement/Processes
2121
2222
.Parameter ComputerName
23-
Computer on which the process is running. The default is the local computer
23+
[sr-en] Computer on which the process is running. The default is the local computer
2424
2525
.Parameter AccessAccount
26-
Specifies a user account that has permission to perform this action
26+
[sr-en] User account that has permission to perform this action
2727
2828
.Parameter ProcessID
29-
Specifies the process by process ID (PID)
29+
[sr-en] Process by process ID (PID)
3030
3131
.Parameter ProcessName
32-
Specifies the process by process name
32+
[sr-en] Process by process name
3333
#>
3434

3535
[CmdLetBinding()]

WinSystemManagement/RemoteDesktop/Get-SysMRDUserSessions.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 4.0
1+
#Requires -Version 5.0
22

33
<#
44
.SYNOPSIS
@@ -20,10 +20,10 @@
2020
https://github.com/scriptrunner/ActionPacks/tree/master/WinSystemManagement/RemoteDesktop
2121
2222
.Parameter ComputerName
23-
Specifies an remote computer, if the name empty the local computer is used
23+
[sr-en] Remote computer, if the name empty the local computer is used
2424
2525
.Parameter AccessAccount
26-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
26+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
2727
#>
2828

2929
[CmdLetBinding()]

WinSystemManagement/RemoteDesktop/Remove-SysMRDUserSession.ps1

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 4.0
1+
#Requires -Version 5.0
22

33
<#
44
.SYNOPSIS
@@ -20,13 +20,13 @@
2020
https://github.com/scriptrunner/ActionPacks/tree/master/WinSystemManagement/RemoteDesktop
2121
2222
.Parameter SessionID
23-
Specifies the id of the user remote session
23+
[sr-en] Id of the user remote session
2424
2525
.Parameter ComputerName
26-
Specifies an remote computer, if the name empty the local computer is used
26+
[sr-en] Remote computer, if the name empty the local computer is used
2727
2828
.Parameter AccessAccount
29-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
29+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
3030
#>
3131

3232
[CmdLetBinding()]

0 commit comments

Comments
 (0)