diff --git a/Development/Set-IntuneWin32App.ps1 b/Development/Set-IntuneWin32App.ps1 deleted file mode 100644 index 3893d19..0000000 --- a/Development/Set-IntuneWin32App.ps1 +++ /dev/null @@ -1,54 +0,0 @@ -function Set-IntuneWin32App { - <# - .SYNOPSIS - Create a new file based detection rule object to be used for the Add-IntuneWin32App function. - - .DESCRIPTION - Create a new file based detection rule object to be used for the Add-IntuneWin32App function. - - .PARAMETER Existence - Define that the detection rule will be existence based, e.g. if a file or folder exists or does not exist. - - .PARAMETER DateModified - Define that the detection rule will be based on a file or folders date modified value. - - .NOTES - Author: Nickolaj Andersen - Contact: @NickolajA - Created: 2020-09-17 - Updated: 2020-09-17 - - Version history: - 1.0.0 - (2020-09-17) Function created - #> - [CmdletBinding(SupportsShouldProcess = $true)] - param( - [parameter(Mandatory = $true, ParameterSetName = "Existence", HelpMessage = ".")] - [switch]$AppInformation, - - [parameter(Mandatory = $true, ParameterSetName = "Existence", HelpMessage = ".")] - [ValidateNotNullOrEmpty()] - [string]$Path - ) - Begin { - # Ensure required auth token exists - if ($Global:AuthToken -eq $null) { - Write-Warning -Message "Authentication token was not found, use Connect-MSIntuneGraph before using this function"; break - } - else { - $AuthTokenLifeTime = ($Global:AuthToken.ExpiresOn.datetime - (Get-Date).ToUniversalTime()).Minutes - if ($AuthTokenLifeTime -le 0) { - Write-Warning -Message "Existing token found but has expired, use Connect-MSIntuneGraph to request a new authentication token"; break - } - else { - Write-Verbose -Message "Current authentication token expires in (minutes): $($AuthTokenLifeTime)" - } - } - - # Set script variable for error action preference - $ErrorActionPreference = "Stop" - } - Process { - - } -} \ No newline at end of file diff --git a/Development/Set-IntuneWin32AppDetectionRule.ps1 b/Development/Set-IntuneWin32AppDetectionRule.ps1 new file mode 100644 index 0000000..f7750d5 --- /dev/null +++ b/Development/Set-IntuneWin32AppDetectionRule.ps1 @@ -0,0 +1,3 @@ +function Set-IntuneWin32AppDetectionRule { + +} \ No newline at end of file diff --git a/Development/Set-IntuneWin32AppIcon.ps1 b/Development/Set-IntuneWin32AppIcon.ps1 new file mode 100644 index 0000000..3b39614 --- /dev/null +++ b/Development/Set-IntuneWin32AppIcon.ps1 @@ -0,0 +1,3 @@ +function Set-IntuneWin32AppIcon { + +} \ No newline at end of file diff --git a/Development/Set-IntuneWin32AppRequirementRule.ps1 b/Development/Set-IntuneWin32AppRequirementRule.ps1 new file mode 100644 index 0000000..1b20fd8 --- /dev/null +++ b/Development/Set-IntuneWin32AppRequirementRule.ps1 @@ -0,0 +1,3 @@ +function Set-IntuneWin32AppRequirementRule { + +} \ No newline at end of file