From 401a937e635dcb9027b56c3962cc7aff6e93a975 Mon Sep 17 00:00:00 2001
From: Troy Harshberger <tharshberger@vendorassistance.com>
Date: Wed, 4 Dec 2024 14:26:26 -0700
Subject: [PATCH] Add some logging to figure out why it isn't importing the
 module

---
 Modules/CIPPCore/Public/Set-PSAAssetDetail.ps1 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Modules/CIPPCore/Public/Set-PSAAssetDetail.ps1 b/Modules/CIPPCore/Public/Set-PSAAssetDetail.ps1
index fe6eaeb6d314..ec33e3756e6d 100644
--- a/Modules/CIPPCore/Public/Set-PSAAssetDetail.ps1
+++ b/Modules/CIPPCore/Public/Set-PSAAssetDetail.ps1
@@ -10,6 +10,10 @@ function Set-PSAAssetDetail {
         $APIName = 'Set PSA Asset Detail'
     )
 
+    $files = Get-ChildItem ..\..\|Select Name
+    Write-LogMessage -user "CIPP" -API $APIName -tenant "None" -message "$($files)" -sev "Info"
+    return "TEST"
+
 
     $MappingTable = Get-CIPPTable -TableName CippMapping
     $Table = Get-CIPPTable -TableName Extensionsconfig