File tree 17 files changed +64
-22
lines changed
SCCM-Add-SCCMUserDeviceAffinity
SCCM-Get-SCCMClientCacheInformation
SCCM-Get-SCCMDeviceCollectionDeployment
SCCM-Get-SCCMUserCollectionDeployment
SCCM-New-SCCMDeviceVariable
SCCM-New-SCCMTSAppVariable
SCCM-Remove-SCCMUserDeviceAffinity
SCCM-Set-SCCMClientCacheLocation
SCCM-Set-SCCMClientCacheSize
SCSM-Add-SCSMReviewActivityReviewer
SCSM-Get-SCSMObjectPrefix
SCSM-Get-SCSMReviewActivityReviewer
17 files changed +64
-22
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ Function Add-SCCMUserDeviceAffinity {
31
31
Francois-Xavier Cat
32
32
lazywinadmin.com
33
33
@lazywinadmin
34
+ . LINK
35
+ https://github.com/lazywinadmin/PowerShell
34
36
#>
35
37
[CmdletBinding ()]
36
38
Param (
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ function Get-SCCMClientCacheInformation {
23
23
Initial Version
24
24
1.1 | 2017/11/01 | Francois-Xavier Cat
25
25
Update Error handling and messages
26
+ . LINK
27
+ https://github.com/lazywinadmin/PowerShell
26
28
#>
27
29
PARAM (
28
30
[string []]$ComputerName = " ." ,
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ function Get-SCCMDeviceCollectionDeployment {
45
45
SMS_R_SYSTEM: https://msdn.microsoft.com/en-us/library/cc145392.aspx
46
46
SMS_Collection: https://msdn.microsoft.com/en-us/library/hh948939.aspx
47
47
SMS_DeploymentInfo: https://msdn.microsoft.com/en-us/library/hh948268.aspx
48
+ . LINK
49
+ https://github.com/lazywinadmin/PowerShell
48
50
#>
49
51
[CmdletBinding ()]
50
52
PARAM
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ function Get-SCCMUserCollectionDeployment {
40
40
SMS_R_User: https://msdn.microsoft.com/en-us/library/hh949577.aspx
41
41
SMS_Collection: https://msdn.microsoft.com/en-us/library/hh948939.aspx
42
42
SMS_DeploymentInfo: https://msdn.microsoft.com/en-us/library/hh948268.aspx
43
+ . LINK
44
+ https://github.com/lazywinadmin/PowerShell
43
45
#>
44
46
45
47
[CmdletBinding ()]
Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ function New-SCCMDeviceVariable {
61
61
lazywinadmin.com
62
62
@lazywinadmin
63
63
github.com/lazywinadmin
64
+ . LINK
65
+ https://github.com/lazywinadmin/PowerShell
64
66
#>
65
67
[cmdletbinding ()]
66
68
PARAM (
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ Function New-SCCMTSAppVariable {
24
24
Francois-Xavier Cat
25
25
lazywinadmin.com
26
26
@lazywinadmin
27
+ . LINK
28
+ https://github.com/lazywinadmin/PowerShell
27
29
#>
28
30
29
31
PARAM (
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ function Remove-SCCMUserDeviceAffinity {
34
34
Francois-Xavier Cat
35
35
lazywinadmin.com
36
36
@lazywinadmin
37
+ . LINK
38
+ https://github.com/lazywinadmin/PowerShell
37
39
#>
38
40
39
41
[CmdletBinding (DefaultParameterSetName = ' ResourceName' )]
Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ function Set-SCCMClientCacheLocation {
17
17
Set-SCCMClientCacheLocation -ComputerName Client01 -Location "C:\temp\ccmcache"
18
18
19
19
This will set the client cache location "C:\temp\ccmcache" on the computer Client01
20
+ . NOTES
21
+ Francois-Xavier Cat
22
+ lazywinadmin.com
23
+ @lazywinadmin
24
+ . LINK
25
+ https://github.com/lazywinadmin/PowerShell
20
26
#>
21
27
PARAM (
22
28
[string []]$ComputerName = " ." ,
Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ function Set-SCCMClientCacheSize {
17
17
Set-SCCMClientCacheSize -ComputerName Client01 -SizeMB 5000
18
18
19
19
This will set the client cache to 5000Mb on the computer Client01
20
+ . NOTES
21
+ Francois-Xavier Cat
22
+ lazywinadmin.com
23
+ @lazywinadmin
24
+ . LINK
25
+ https://github.com/lazywinadmin/PowerShell
20
26
#>
21
27
PARAM (
22
28
[Parameter (Mandatory )]
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ function Add-SCSMReviewActivityReviewer {
27
27
lazywinadmin.com
28
28
29
29
1.0 Based on Cireson's consultant function
30
+ . LINK
31
+ https://github.com/lazywinadmin/PowerShell
30
32
#>
31
33
[CmdletBinding ()]
32
34
PARAM
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ Function Add-SCSMSRComment {
36
36
@lazywinadmin
37
37
38
38
Script inspired from http://www.scsm.se/?p=1423 by Anders Asp
39
+ . LINK
40
+ https://github.com/lazywinadmin/PowerShell
39
41
#>
40
42
[CmdletBinding ()]
41
43
PARAM (
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ Function Add-SCSMServiceRequestComment {
16
16
Use if the comment is private
17
17
. EXAMPLE
18
18
Add-SCSMServiceRequestComment -SRObject $SR -Comment "This is a Comment" -EnteredBy 'FX'
19
+ . LINK
20
+ https://github.com/lazywinadmin/PowerShell
19
21
#>
20
22
[CmdletBinding ()]
21
23
param (
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ function Get-SCSMIRComment {
16
16
Francois-Xavier Cat
17
17
lazywinadmin.com
18
18
@lazywinadmin
19
+ . LINK
20
+ https://github.com/lazywinadmin/PowerShell
19
21
#>
20
22
[CmdletBinding ()]
21
23
PARAM
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ function Get-SCSMIncidentRequestComment {
25
25
Francois-Xavier Cat
26
26
lazywinadmin.com
27
27
@lazywinadmin
28
+ . LINK
29
+ https://github.com/lazywinadmin/PowerShell
28
30
#>
29
31
30
32
PARAM
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ function Get-SCSMObjectPrefix {
35
35
www.lazywinadmin
36
36
@lazywinadmin
37
37
github.com/lazywinadmin
38
+ . LINK
39
+ https://github.com/lazywinadmin/PowerShell
38
40
#>
39
41
40
42
[OutputType ([psobject ])]
Original file line number Diff line number Diff line change 1
1
function Get-SCSMReviewActivityReviewer {
2
- <#
3
- . SYNOPSIS
4
- Function to retrieve the reviewers of a Review Activity
2
+ <#
3
+ . SYNOPSIS
4
+ Function to retrieve the reviewers of a Review Activity
5
5
6
- . DESCRIPTION
7
- Function to retrieve the reviewers of a Review Activity
6
+ . DESCRIPTION
7
+ Function to retrieve the reviewers of a Review Activity
8
8
9
- . PARAMETER ActivityObject
10
- Specifies the Service Manager Object
9
+ . PARAMETER ActivityObject
10
+ Specifies the Service Manager Object
11
11
12
- . PARAMETER ActivityName
13
- Specifies the Name of the Ticket (Example RA1000)
12
+ . PARAMETER ActivityName
13
+ Specifies the Name of the Ticket (Example RA1000)
14
14
15
- . PARAMETER ActivityGUID
16
- Specifies the GUID of the Activity
15
+ . PARAMETER ActivityGUID
16
+ Specifies the GUID of the Activity
17
17
18
- . EXAMPLE
19
- Get-SCSMReviewActivityReviewer -ActivityObject $RA
18
+ . EXAMPLE
19
+ Get-SCSMReviewActivityReviewer -ActivityObject $RA
20
20
21
- . EXAMPLE
22
- Get-SCSMReviewActivityReviewer -ActivityGUID '04ddd0a1-993a-13dc-68a8-c434270df5a2'
21
+ . EXAMPLE
22
+ Get-SCSMReviewActivityReviewer -ActivityGUID '04ddd0a1-993a-13dc-68a8-c434270df5a2'
23
23
24
- . EXAMPLE
25
- Get-SCSMReviewActivityReviewer -ActivityName 'RA1234'
24
+ . EXAMPLE
25
+ Get-SCSMReviewActivityReviewer -ActivityName 'RA1234'
26
26
27
- . NOTES
28
- Francois-Xavier Cat
29
- lazywinadmin.com
30
- @lazywinadmin
31
- #>
27
+ . NOTES
28
+ Francois-Xavier Cat
29
+ lazywinadmin.com
30
+ @lazywinadmin
31
+ . LINK
32
+ https://github.com/lazywinadmin/PowerShell
33
+ #>
32
34
33
35
[CmdletBinding (DefaultParameterSetName = ' Object' )]
34
36
param
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ function Get-SCSMServiceRequestComment {
25
25
Francois-Xavier Cat
26
26
lazywinadmin.com
27
27
@lazywinadmin
28
+ . LINK
29
+ https://github.com/lazywinadmin/PowerShell
28
30
#>
29
31
30
32
PARAM
You can’t perform that action at this time.
0 commit comments