Skip to content

Commit e7d2cbd

Browse files
Review scripts
1 parent 9efe653 commit e7d2cbd

50 files changed

Lines changed: 329 additions & 332 deletions

Some content is hidden

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

WinSystemManagement/BitLocker/Add-SysMBitLockerKeyProtector.ps1

Lines changed: 16 additions & 17 deletions
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
@@ -15,55 +15,54 @@
1515
© ScriptRunner Software GmbH
1616
1717
.COMPONENT
18-
ScriptRunner Version 4.2.x or higher
1918
2019
.LINK
2120
https://github.com/scriptrunner/ActionPacks/tree/master/WinSystemManagement/BitLocker
2221
2322
.Parameter DriveLetter
24-
Specifies the drive letter
23+
[sr-en] Drive letter
2524
2625
.Parameter AdAccountOrGroup
27-
Specifies an account using the format Domain\User. Adds the account you specify as a key protector for the volume encryption key
26+
[sr-en] Account using the format Domain\User. Adds the account you specify as a key protector for the volume encryption key
2827
2928
.Parameter TpmProtector
30-
Indicates that BitLocker uses the TPM as a protector for the volume encryption key
29+
[sr-en] BitLocker uses the TPM as a protector for the volume encryption key
3130
3231
.Parameter TpmAndPinProtector
33-
Indicates that BitLocker uses a combination of the TPM and a PIN as a protector for the volume encryption key
32+
[sr-en] BitLocker uses a combination of the TPM and a PIN as a protector for the volume encryption key
3433
3534
.Parameter TpmAndStartupKeyProtector
36-
Indicates that BitLocker uses a combination of the TPM and a startup key as a protector for the volume encryption key
35+
[sr-en] BitLocker uses a combination of the TPM and a startup key as a protector for the volume encryption key
3736
3837
.Parameter TpmAndPinAndStartupKeyProtector
39-
Indicates that BitLocker uses a combination of the TPM, a PIN, and a startup key as a protector for the volume encryption key.
38+
[sr-en] BitLocker uses a combination of the TPM, a PIN, and a startup key as a protector for the volume encryption key.
4039
4140
.Parameter StartupKeyProtector
42-
Indicates that BitLocker uses a startup key as a protector for the volume encryption key
41+
[sr-en] BitLocker uses a startup key as a protector for the volume encryption key
4342
4443
.Parameter Pin
45-
Specifies a string object that contains a PIN. BitLocker uses the PIN specified, with other data, as a protector for the volume encryption key
44+
[sr-en] String object that contains a PIN. BitLocker uses the PIN specified, with other data, as a protector for the volume encryption key
4645
4746
.Parameter Service
48-
Indicates that the system account for this computer unlocks the encrypted volume
47+
[sr-en] System account for this computer unlocks the encrypted volume
4948
5049
.Parameter StartupKeyPath
51-
Specifies a path to a startup key. The key stored in the specified path acts as a protector for the volume encryption key
50+
[sr-en] Path to a startup key. The key stored in the specified path acts as a protector for the volume encryption key
5251
5352
.Parameter RecoveryKeyPath
54-
Specifies a path to a recovery key. The key stored in the specified path acts as a protector for the volume encryption key
53+
[sr-en] Path to a recovery key. The key stored in the specified path acts as a protector for the volume encryption key
5554
5655
.Parameter Password
57-
Specifies a secure string object that contains a password
56+
[sr-en] Secure string object that contains a password
5857
5958
.Parameter RecoveryPassword
60-
Specifies a recovery password
59+
[sr-en] Recovery password
6160
6261
.Parameter ComputerName
63-
Specifies an remote computer, if the name empty the local computer is used
62+
[sr-en] Remote computer, if the name empty the local computer is used
6463
6564
.Parameter AccessAccount
66-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
65+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
6766
#>
6867

6968
[CmdLetBinding()]

WinSystemManagement/BitLocker/Backup-SysMBitLockerKeyProtector.ps1

Lines changed: 5 additions & 5 deletions
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/BitLocker
2121
2222
.Parameter DriveLetter
23-
Specifies the drive letter
23+
[sr-en] Drive letter
2424
2525
.Parameter ProtectorID
26-
Specifies the ID for a key protector or a KeyProtector object. A BitLocker volume object includes a KeyProtector object
26+
[sr-en] ID for a key protector or a KeyProtector object. A BitLocker volume object includes a KeyProtector object
2727
2828
.Parameter ComputerName
29-
Specifies an remote computer, if the name empty the local computer is used
29+
[sr-en] Remote computer, if the name empty the local computer is used
3030
3131
.Parameter AccessAccount
32-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
32+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
3333
#>
3434

3535
[CmdLetBinding()]

WinSystemManagement/BitLocker/Clear-SysMBitLockerAutoUnlock.ps1

Lines changed: 3 additions & 3 deletions
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/BitLocker
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/BitLocker/Disable-SysMBitLocker.ps1

Lines changed: 4 additions & 4 deletions
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/BitLocker
2121
2222
.Parameter DriveLetter
23-
Specifies the drive letter
23+
[sr-en] Drive letter
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()]

WinSystemManagement/BitLocker/Disable-SysMBitLockerAutoUnlock.ps1

Lines changed: 4 additions & 4 deletions
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/BitLocker
2121
2222
.Parameter DriveLetter
23-
Specifies the drive letter
23+
[sr-en] Drive letter
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()]

WinSystemManagement/BitLocker/Enable-SysMBitLocker.ps1

Lines changed: 20 additions & 21 deletions
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
@@ -15,67 +15,66 @@
1515
© ScriptRunner Software GmbH
1616
1717
.COMPONENT
18-
ScriptRunner Version 4.2.x or higher
1918
2019
.LINK
2120
https://github.com/scriptrunner/ActionPacks/tree/master/WinSystemManagement/BitLocker
2221
2322
.Parameter DriveLetter
24-
Specifies the drive letter
23+
[sr-en] Drive letter
2524
2625
.Parameter AdAccountOrGroup
27-
Specifies an account using the format Domain\User. Adds the account you specify as a key protector for the volume encryption key
26+
[sr-en] Account using the format Domain\User. Adds the account you specify as a key protector for the volume encryption key
2827
2928
.Parameter TpmProtector
30-
Indicates that BitLocker uses the TPM as a protector for the volume encryption key
29+
[sr-en] BitLocker uses the TPM as a protector for the volume encryption key
3130
3231
.Parameter TpmAndPinProtector
33-
Indicates that BitLocker uses a combination of the TPM and a PIN as a protector for the volume encryption key
32+
[sr-en] BitLocker uses a combination of the TPM and a PIN as a protector for the volume encryption key
3433
3534
.Parameter TpmAndStartupKeyProtector
36-
Indicates that BitLocker uses a combination of the TPM and a startup key as a protector for the volume encryption key
35+
[sr-en] BitLocker uses a combination of the TPM and a startup key as a protector for the volume encryption key
3736
3837
.Parameter TpmAndPinAndStartupKeyProtector
39-
Indicates that BitLocker uses a combination of the TPM, a PIN, and a startup key as a protector for the volume encryption key.
38+
[sr-en] BitLocker uses a combination of the TPM, a PIN, and a startup key as a protector for the volume encryption key.
4039
4140
.Parameter StartupKeyProtector
42-
Indicates that BitLocker uses a startup key as a protector for the volume encryption key
41+
[sr-en] BitLocker uses a startup key as a protector for the volume encryption key
4342
4443
.Parameter Pin
45-
Specifies a string object that contains a PIN. BitLocker uses the PIN specified, with other data, as a protector for the volume encryption key
44+
[sr-en] PIN. BitLocker uses the PIN specified, with other data, as a protector for the volume encryption key
4645
4746
.Parameter Service
48-
Indicates that the system account for this computer unlocks the encrypted volume
47+
[sr-en] System account for this computer unlocks the encrypted volume
4948
5049
.Parameter StartupKeyPath
51-
Specifies a path to a startup key. The key stored in the specified path acts as a protector for the volume encryption key
50+
[sr-en] Path to a startup key. The key stored in the specified path acts as a protector for the volume encryption key
5251
5352
.Parameter RecoveryKeyPath
54-
Specifies a path to a recovery key. The key stored in the specified path acts as a protector for the volume encryption key
53+
[sr-en] Path to a recovery key. The key stored in the specified path acts as a protector for the volume encryption key
5554
5655
.Parameter Password
57-
Specifies a secure string object that contains a password
56+
[sr-en] Secure string object that contains a password
5857
5958
.Parameter RecoveryPassword
60-
Specifies a recovery password
59+
[sr-en] Recovery password
6160
6261
.Parameter EncryptionMethod
63-
List of properties to expand, comma separated e.g. VolumeStatus,EncryptionMethod. Use * for all properties
62+
[sr-en] List of properties to expand, comma separated e.g. VolumeStatus,EncryptionMethod. Use * for all properties
6463
6564
.Parameter HardwareEncryption
66-
Indicates that the volume uses hardware encryption
65+
[sr-en] Volume uses hardware encryption
6766
6867
.Parameter SkipHardwareTest
69-
Indicates that BitLocker does not perform a hardware test before it begins encryption
68+
[sr-en] BitLocker does not perform a hardware test before it begins encryption
7069
7170
.Parameter UsedSpaceOnly
72-
Indicates that BitLocker does not encrypt disk space which contains unused data
71+
[sr-en] BitLocker does not encrypt disk space which contains unused data
7372
7473
.Parameter ComputerName
75-
Specifies an remote computer, if the name empty the local computer is used
74+
[sr-en] Remote computer, if the name empty the local computer is used
7675
7776
.Parameter AccessAccount
78-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
77+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
7978
#>
8079

8180
[CmdLetBinding()]

WinSystemManagement/BitLocker/Enable-SysMBitLockerAutoUnlock.ps1

Lines changed: 4 additions & 4 deletions
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/BitLocker
2121
2222
.Parameter DriveLetter
23-
Specifies the drive letter
23+
[sr-en] Drive letter
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()]

WinSystemManagement/BitLocker/Get-SysMBitLockerVolume.ps1

Lines changed: 5 additions & 5 deletions
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/BitLocker
2121
2222
.Parameter DriveLetter
23-
Specifies the drive letter, if the parameter empty all volumes retrieved
23+
[sr-en] Drive letter, if the parameter empty all volumes retrieved
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
.Parameter Properties
32-
List of properties to expand, comma separated e.g. VolumeStatus,EncryptionMethod. Use * for all properties
32+
[sr-en] List of properties to expand, comma separated e.g. VolumeStatus,EncryptionMethod. Use * for all properties
3333
#>
3434

3535
[CmdLetBinding()]

WinSystemManagement/BitLocker/Lock-SysMBitLocker.ps1

Lines changed: 5 additions & 5 deletions
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/BitLocker
2121
2222
.Parameter DriveLetter
23-
Specifies the drive letter
23+
[sr-en] Drive letter
2424
2525
.Parameter ForceDismount
26-
Indicates that the cmdlet attempts to lock a drive even if the drive is in use
26+
[sr-en] Attempts to lock a drive even if the drive is in use
2727
2828
.Parameter ComputerName
29-
Specifies an remote computer, if the name empty the local computer is used
29+
[sr-en] Remote computer, if the name empty the local computer is used
3030
3131
.Parameter AccessAccount
32-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
32+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
3333
#>
3434

3535
[CmdLetBinding()]

WinSystemManagement/BitLocker/Remove-SysMBitLockerKeyProtector.ps1

Lines changed: 5 additions & 5 deletions
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/BitLocker
2121
2222
.Parameter DriveLetter
23-
Specifies the drive letter
23+
[sr-en] Drive letter
2424
2525
.Parameter ProtectorID
26-
Specifies the ID for a key protector or a KeyProtector object. A BitLocker volume object includes a KeyProtector object
26+
[sr-en] ID for a key protector or a KeyProtector object. A BitLocker volume object includes a KeyProtector object
2727
2828
.Parameter ComputerName
29-
Specifies an remote computer, if the name empty the local computer is used
29+
[sr-en] Remote computer, if the name empty the local computer is used
3030
3131
.Parameter AccessAccount
32-
Specifies a user account that has permission to perform this action. If Credential is not specified, the current user account is used.
32+
[sr-en] User account that has permission to perform this action. If Credential is not specified, the current user account is used.
3333
#>
3434

3535
[CmdLetBinding()]

0 commit comments

Comments
 (0)