Auditing and verifying privileged account usage in Active Directory?
How can I check if the certain AD user account is still in use or not? I am in the process of auditing and validating thousands of users across all of these groups: Domain Admins Enterprise Admins Schema Admins Administrators Account…
![](https://techprofile.blob.core.windows.net/images/WsWYoGdWukeBW66msAr6qQ.png?8D8128)
Is it possible to make an RS232 mini char with PowerShell?
Good: I want to make a nice mini chat for the serial port between two PCs. Since I am not familiar, I want help. I have three programs that do the same thing in C#, VB .net and C++ .net in mini chat console mode and it works between them. At least I…
Powershell script + SMTP server does not work properly
WARNING! There was an error parsing the document Hello, I have the following script that I found online with my personal modification. I have basic skills in powershell so I'm not a master. The goal is to send an email to the user as soon as he hits a…
It is not possible to identify the user of the actions referring to the powershell events (SecurityEvent Table) through the AMA via xpath
Hi, Initially when I started the installation in the environment, I noticed that Microsoft's recommendation for collecting Windows logs would be through the AMA agent. However, when starting the collection operational powershell logs via xpath, I…
Powershell script is not running via ps1 file
Hi Team, I wrote a simple script to delete all the files older than X days from my folders without deleting my Folders obviously , i'm able to run it through a command line powershell directly as a command but when i'm calling my ps1 script file in…
Query regarding Error code : 87 - The Parameter is Incorrect
Hi, Recently I have faced an Error code 87 in two different instances. Instance 1 : I was trying to apply SACL of a folder named "Test_Folder" using Cacls.exe, It returned the error : 87 , Then I found that the folder is having 1820 DACL's…
Azure Automation powershell runbook issue
Hello, I am creating an Azure Automation account having a powershell runbook. The script is simply looping over each VM in a resource group and deleting all files under a particular folder. $ResourceGroup = '<<myResourceGroup>>' $TargetDir =…
![](https://techprofile.blob.core.windows.net/images/FfpX0wAAAwAAAAAAAAAAAA.png?8DB5C0)
![](https://techprofile.blob.core.windows.net/images/FfpX0wAAAwAAAAAAAAAAAA.png?8DB5C0)
How to create a shortcut to a folder with PowerShell and Intune
I've been battling this for the past several hours, searching to no avail; there are a couple TechNet posts (e.g. this post ) that don't answer the question and tell the questioner to ask in a different forum, but maddeningly there's neither a link to…
How to create a shortcut to a folder with PowerShell and Intune
I've been battling this for the past several hours, searching to no avail; there are a couple TechNet posts (e.g.…
How to update data in azure AD from a csv file?
Need to update EmployeeID, Department,City,Country,State,StreetAddress,EmployeeType,EmployeeHireDate for 400 users. I keep seeing stuff about running Microsoft graph but I’m having issues with that
关于powershell的Get-WinEvent命令输出问题
powershell:Get-WinEvent -FilterHashtable @{LogName='Security';Id=5024} 输出: powershell:Get-WinEvent -FilterHashtable @{LogName='Security';StartTime=Get-Date;Id=4625} 输出: 上面两张图片中,我想实际的需求如下: 如果执行powershell时有匹配的数据,我想统计所匹配数据的行数; …
PowerShell Invoke-WebRequest : A positional parameter cannot be found that accepts argument XXXXX
Hello, I apologize if this is a basic question but I am very new to PowerShell and trying to learn. I have a script to get specific information about a pc. The script works and I get successfully export the data to a CSV. I am trying to use a webhook…
![](https://techprofile.blob.core.windows.net/images/pxpvXcfHUkGs_31NHERBiA.png?8D83C7)