check if user is local admin powershell
16092
post-template-default,single,single-post,postid-16092,single-format-standard,ajax_fade,page_not_loaded,,qode-child-theme-ver-1.0.0,qode-theme-ver-10.0,wpb-js-composer js-comp-ver-4.12,vc_responsive
 

check if user is local admin powershellcheck if user is local admin powershell

check if user is local admin powershell check if user is local admin powershell

Requires use of remote WMI queries to client computers and the ActiveDirectory PowerShell Module. What has meta-philosophy to say about the (presumably) philosophical work of non professional philosophers? Has 90% of ice around Antarctica disappeared in less than a decade? WebIf a user was added to a different local group such as Power Users it will be included. Local User and Groups. I closely monitored the development of PowerShell 7, and recall this GitHub issue https://github.com/PowerShell/PowerShell/issues/4305 (and its resolution). Step 3: Click Run Now just click the run button. At what point of what we watch as the MCU movies the branching started? But can you think of another way to create a Q: Hey I have a fun question! Hm, be careful about any query that looks to see if a user is in the Local Administrators group - because that, Oops, forgot the other important bits ;-). Correct. This scripts demonstrates that: Method 1: 14.7724 milliseconds WebYou can use PowerShell commands and scripts to list local administrators group members. I can see if a local user account has admin by using: I can check this from the "Computer Management" MMC snap-in, but that takes too long to load and I'd like to quickly do this from the command line. WebScript to check membership of the local administrators group on client computers. Under Tools select Local Admins Report Step 2: Select Seach Options Next, choose which computers to scan. Comments are closed. PowerShell 5.1 (Windows Server 2016) contains Get-LocalGroupMember cmdlet. Exactly what I was looking for! I am going to start with a simple check that will cause the script to stop if the user is not an administrator. Parameters -Group Specifies the security group from which this cmdlet gets members. Step 3: Click Run Now just click the run button. Its normal for domain admins and the local administrator account to be in this group. running as Administrator. If someone has a VBS script that'd be fine too. : Thanks for contributing an answer to Stack Overflow! If you want to get a report of all local groups then select the Show All Groups box. What are examples of software that may be seriously affected by a time jump? The second part is comparing the members of the local administrators group with a list of what the members of the local administrators group should be. Now you need to identify the users that do not need these rights and remove them. Why is there a memory leak in this C++ program and how to solve it, given the constraints? Press the Windows Key + X and click on Windows PowerShell (Admin). This means every user in the domain has full admin rights to the computer. So if anyone wants to install a particular software and it requires admin right then this script runs and should by pass that using username and password saved in a file for instance. I would hope however that there aren't so many local administrators that you can't spot the user in question. WebYou can use PowerShell commands and scripts to list local administrators group members. This script is working but the username and password are mandatory and then it must check if a local user of these credentials exists and have admin right then do certain things and you can assume these credentials are stored in a safe file. Powershell Advocate, Ronald Bode PowerShell scripter at the ministry. if(typeof ez_ad_units!='undefined'){ez_ad_units.push([[300,250],'thewindowsclub_com-banner-1','ezslot_6',682,'0','0'])};__ez_fad_position('div-gpt-ad-thewindowsclub_com-banner-1-0');Type control panel in the Search box and press Enter. In this article, Ill show you how to find users that have local administrator rights on local and remote computers. Whether it is for a simple query or for making changes across your production environment, assuming that the script is going to be run with administrative credentials can lead to a rather annoying problem that will require you to take time to educate the individual about running the script as an administrator. a user who doesn't have admin rights but wants to install software and requires admin rights, so he/she just have to run this script. $user = "$env:COMPUTERNAME\$env:USERNAME" $group = 'Administrators' $isInGroup = (Get-LocalGroupMember $group).Name -contains $user Share Improve this answer Follow answered Oct 12, 2017 at 4:14 Der_Meister 4,721 2 44 52 Thanks for writing! 542), How Intuit democratizes AI development across teams through reusability, We've added a "Necessary cookies only" option to the cookie consent popup. WebI can see if a local user account has admin by using: C:\>NET USER Mike User name Mike Full Name Local Group Memberships *Administrators However, if I try: C:\>NET USER MYDOMAIN\SomeUser or: C:\>NET USER "MYDOMAIN\SomeUser" I get the standard syntax help screen. You would need to use group policy or some other deployment method to enable on all computers. The current Windows PowerShell session is not running as Administrator. You use the Get-LocalGroupMember command to view the members of a local group, like this: As you can see in this output, the local Administrators group on this host contains domain users and groups as well as local users. After that, again click on the User Accounts option. $splattable[Class] = Win32_OperatingSystem, If ($admincheck -is [System.Management.Automation.PSCredential]). You will see the list of different accounts and members on the right part. You may have been referring to comment vs the op. ().groups - Access the groups property of the identity to find out what user groups the identity is a member of. You can also target specific computers or OUs instead of the entire domain. The results will be displayed in the report section. Are there conventions to indicate a new item in a list? COOKHAM\tfl rev2023.3.1.43269. 1. runas /user:administrator powershell. is there a chinese version of ex. This is really god blog with good tips! To view the members of a specific group, use the Get-LocalGroupMember cmdlet. Its disabled by default. Web1: Use PowerShell PowerShell is the best way to see if a user is a Local or Microsoft account. The following powershell commands checks whether the given user is member of Administrators group in local machine. For this, open Settings app. very cool, but you should mention that using the AD pro toolkit tool with the trial version you can only see 10 results at a time, not the whole results. And since you ask, with PowerShell 7! If you want to prevent regular users from becoming local administrators, you have the following options: Windows Autopilot - Windows Autopilot provides you with an option to prevent primary user performing the join from This cmdlet gets default built-in user Try the Local Admin Report for free, download your copy here. Or else, you can use Run Command box (Windows key + R), write powershell, and hit the Enter key. Step 3: Click Run Now just click the run button. Planned Maintenance scheduled March 2nd, 2023 at 01:00 AM UTC (March 1st, WebSphere MQ running under local account / group cannot read group memberships for Active Directory user. The possible sources are as follows: PrincipalSource is supported only by Windows 10, Windows Server 2016, and later versions of the Here is a screenshot from a few computers on my network. If the account is not an Administrator, you can log out from that account and log in with another account and repeat the same steps. Anyway, this is what we came up with to figure out if a user is a Local Administrator. Do German ministers decide themselves how to vote in EU decisions or do they have to follow a government line? For my examples, I am going to show a few different actions that can occur when using an administrator check. Lets check out two methods for hunting down users that have local administrator rights. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. Both local and domain users and groups can be added to the check-list. a user who doesn't have admin rights but wants to install software and requires admin rights, so The results will be displayed in the report section. You can use the wildcard Good point, Ill add that to the article. Or using a "Well-known" security identifier name: if you want to get all the SIDs and their names, please check this page: https://support.microsoft.com/en-us/help/243330/well-known-security-identifiers-in-windows-operating-systems. WebThe Get-LocalUser cmdlet gets local user accounts. While the accepted answer is correct, this answer is much more clear, especially to someone who may read your script six months from now. The current Windows PowerShell session is not running as Administrator. This command is available in PowerShell version 5.1 onwards and the module for it is Microsoft.PowerShell.LocalAccounts. Thats not entirely in PowerShell. Here is an example of running this command on computers with the hostname of PC1 and PC2. By default, this tool gets the members of the Administrators group only. Control a service on a remote computer with only a local admin user (with powershell or/and c#), How to remotely delete an AD-Computer from Active Directory - Powershell, How to connect Azure Paas Database using Powershell with intergrated security, Create local administrator user account fails in Intune, Retrieve the current price of a ERC20 token from uniswap v2 router using web3js. Copy and paste one of the following two lines: Do German ministers decide themselves how to vote in EU decisions or do they have to follow a government line? For earlier versions, the property is blank. First of all, open PowerShell using the Search box. To find local administrators with PowerShell you can use the Get-LocalGroupMember command. Double-click on the Administrators option.if(typeof ez_ad_units!='undefined'){ez_ad_units.push([[336,280],'thewindowsclub_com-leader-1','ezslot_9',821,'0','0'])};__ez_fad_position('div-gpt-ad-thewindowsclub_com-leader-1-0'); It will open the Administrators Properties window. PowerShell 5.1 (Windows Server 2016) contains Get-LocalGroupMember cmdlet. This command is available in PowerShell version 5.1 onwards and the module for it is Microsoft.PowerShell.LocalAccounts. How to increase the number of CPUs in my computer? @GazB - what's the version of windows that you are using? This is a very basic example of what can be done by using a type of administrator check within your script or command. Not the answer you're looking for? Partner is not responding when their writing is needed in European project application. PSH [LOGS:\Chapter 15 - WMI]: function StaticVoidMain { Read: Complete Guide to Manage User Accounts in Windows 11/10. 1. runas /user:administrator powershell. Are we able to do that with PowerShell? Why did this have to happen!? Boe Prox is currently a senior systems administrator with BAE Systems. Since this question has already has an accepted answer you need to give more detail as to why your method is a more suitable option. But we need an administrator account to run things that need elevated privileges. The following powershell commands checks whether the given user is member of Administrators group in local machine. This post helps you check if a User Account is an Administrator in Windows 11/10 PC using Settings, PowerShell, User Groups or Control Panel. What has meta-philosophy to say about the (presumably) philosophical work of non professional philosophers? Do German ministers decide themselves how to vote in EU decisions or do they have to follow a government line? What does a search warrant actually look like? This example gets a local user account that has the specified SID. The Microsoft.PowerShell.LocalAccounts module is not available in 32-bit PowerShell on a 64-bit What capacitance values do you recommend for decoupling capacitors in battery-powered circuits? Microsoft Scripting Guy, Ed Wilson, is here. But lets begin lets begin by reviewing local users and groups in Windows. The next time whenever you have to check for an administrator account in your Windows 11/10 PC, we hope that these options will be helpful. I like this way of doing it rather going into local groups. Specifies an array of names of user accounts that this cmdlet gets. Thanks Fleet Command. Open a command prompt (CMD.exe) and check your username as starting point: 1. whoami. To view the members of a specific group, use the Get-LocalGroupMember cmdlet. Web1: Use PowerShell PowerShell is the best way to see if a user is a Local or Microsoft account. For example, to figure out who is a member of the local Administrators group, run the command Get-LocalGroupMember Administrators. Easiest way to remove 3/16" drive rivets from a lower screen door hinge? The quickest way to open this app is using the hotkey/shortcut key Windows key + I. But you ake a blood point that, Looking at your function I note that in the second method, you have two assignments, vs 1 for the first method. This script is working but the username and password are mandatory and then it must check if a local user of these credentials exists and have admin right then do certain things and you can assume these credentials are stored in a safe file. I just want to check for a normal local machine. You can analyze user permissions based on an individual user or group membership. The best way to remove local administrator rights is to use group policy and Restricted groups. Imagine that you just finished writing a script for a coworker in your office to run and perform an inventory of the servers in your place of business. Note The Microsoft.PowerShell.LocalAccounts module is not available in 32-bit PowerShell on a 64-bit system. In Powershell 4.0 you can use requires at the top of your script: The script 'MyScript.ps1' cannot be run because it contains a "#requires" statement for Instead Icall it a "Well-Known Value" and sleep better at night. You can create a new local user using the New-LocalUser cmdlet. net localgroup Administrators gives out the details about the members in the local admin groups, but donot tell about there type. In this post, I am going to write powershell script to check if an user is exists in local Administrators group in local machine and remote server. But what if you want to find out if a given user is a member of some local administrative group? Also it's not so easy to set variable with a name starting with an = due to the syntax rules ,so this is also reliable. Another way to create $Me would be: Interestingly, using .NET in this way to create $Me is significantly faster then using Whowmi.exe: So there are (*at least) two ways to calculate $ME both work and one is a lot slower. rev2023.3.1.43269. I remember reading a while back about using VBScript to paste to the clipboard. Summary: Learn how to check for administrative credentials when you run a Windows PowerShell script or command. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. If the script is invoked from a non-elevated PowerShell process youll receive the following error: The script 'run_as_admin.ps1' cannot be run because it contains a "#requires" statement for running as Administrator. Copy and paste one of the following two lines: I tried this several times and on my host, what the second assignment removed, the difference is pretty small. This sea of errors or warnings could have been avoided by adding a check to make sure the individual that is running the script is an administrator and then perform the appropriate action if the user is not an administrator. TheWindowsClub covers authentic Windows 11, Windows 10 tips, tutorials, how-to's, features, freeware. Examples Until then, peace. Super User is a question and answer site for computer enthusiasts and power users. Examples What am I missing? Are there conventions to indicate a new item in a list? It also makes it easier for hackers to take control of your computer. LocalAdminGroupAudit.ps1 -ou "ou=myOU,ou=myCompany,dc=myDomain,dc=com" -excludeNames The If statement checks to see if the returned value from the function is the credential object that is returned after using the Get-Credential cmdlet. COOKHAM\tfl. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. It seems a better solution would be to have a common Administrator account (same name and password) on every machine then individuals designated should be given this information to install software. I prefer the answer by @Bill_Stewart below since it is free of magic strings. A: Easy using PowerShell 7 and the LocalAccounts module. Web1. Lets try one that gives the user a little more freedom when running a script as a non-administrator. Open a command prompt (CMD.exe) and check your username as starting point: 1. whoami. Using PowerShell to check accounts is a simple, safe way for someone who's never used PowerShell before. Open a command prompt (CMD.exe) and check your username as starting point: 1. whoami. With that, I can easily produce an If statement that determines the course of action if the user is not an administrator (False). So now we have our piece of code to determine if the current user context is in fact an administrator. The first step is to get information about the current user and store it in a variable ($id). You can adapt it to ensure a user is a member of the appropriate group before attempting to run certain commands. This piece will count every corresponding member and will write every illegal member to a specific variable. Web1: Use PowerShell PowerShell is the best way to see if a user is a Local or Microsoft account. Most of the questions or articles I have seen are about the active directory. This piece will count every corresponding member and will write every illegal member to a specific variable. I have revised your example to the InvokeMember("ADsPath") which includes the domain name of the accounts, and tify the results to only domainuser but its always resulting in a false test, what am I missing? If the script is invoked from a non-elevated PowerShell process youll receive the following error: The script 'run_as_admin.ps1' cannot be run because it contains a "#requires" statement for running as Administrator. In this snippet, we just echo the fact that the user is, ir is not, a member of the local administrators group. I like using Whoami and am old school in that regard. This is why I created the Local Admin Report Tool, it makes scanning multiple computers for local admins very easy and the output is simple to read. Though that was the question. Using PowerShell to check accounts is a simple, safe way for someone who's never used PowerShell before. When Control Panel is opened, select User Accounts. However, this approach requires quite a lot of time, as well as advanced PowerShell scripting skills. You can see in the above screenshot the output is not ideal and would require some additional work. I make sure to stop the rest of the script by using the Com objects command so the script does not continue on and possibly throw errors. A lot of great options here in the comments. Windows 7: Run as if I Were a Regular User, Even Though I Have Admin Rights, Windows 10: Force logged on user to update its local group membership. I want to write a PowerShell script that takes username and password as input and then it checks if a user with those credentials exists and has admin rights. PowerShell v5x has it as well, and in earlier versions, you can install the local users and groups module. The results will be displayed in the report section. a user who doesn't have admin rights but wants to install software and requires admin rights, so Yours does it in my eyes the right way. Do EMC test houses typically accept copper foil in EUT? $user = "$env:COMPUTERNAME\$env:USERNAME" $group = 'Administrators' $isInGroup = (Get-LocalGroupMember $group).Name -contains $user Share Improve this answer Follow answered Oct 12, 2017 at 4:14 Der_Meister 4,721 2 44 52 You can also use this app to check if your user account is administrative or not. This is one 1 of 13 tools from the AD Pro toolkit. You can easily create a new user accountand add other accounts anytime. Here is what I use: My approach returns false if the current user is an admin but the current process is not elevated. Upon further inspection, by piping the output into the Get-Member cmdlet, the type of value being returned is System.Boolean, which means that it will work nicely when used in an If statement. Now why would I want to include this in a script when I know as the writer that this will need to be run as an administrator? The current Windows PowerShell session is not running as Administrator. These cmdlets are broadly similar to the ActiveDirectory cmdlets, but work on local users. is working fine but how to launch it remotely in current user session (not in powershell elevate admin rights because it return my admin isadmin value to remote computer, not current log user if this user isadmin. Users of this local group will have administrator rights on the local computer. Is email scraping still a thing for spammers, Can I use a vintage derailleur adapter claw on a modern derailleur. Use the below powershell command to check if user is member of Administrators group in remote computer. Browse other questions tagged, Start here for a quick overview of the site, Detailed answers to any questions you might have, Discuss the workings and policies of this site. In that case it should be: Check if user is a member of the local admins group on a remote server, https://support.microsoft.com/en-us/help/243330/well-known-security-identifiers-in-windows-operating-systems, The open-source game engine youve been waiting for: Godot (Ep. Thank you sir. Both local and domain users and groups can be added to the check-list. Detect if PowerShell is running as administrator, Gaining administrator privileges in PowerShell, The open-source game engine youve been waiting for: Godot (Ep. -Member Specifies a user or group that this cmdlet gets from a security group. Making statements based on opinion; back them up with references or personal experience. I am not sure but the tool that you are using might be checking the object type, and if it finds out that the output is having some group it goes on further expanding the same, for example the command " Get It's not very "terse" PowerShell because the goal is (trying to) teach him so there's temporary variables. Permissions based on opinion ; back them up with to figure out if a user is a of! Command prompt ( CMD.exe ) and check your username as starting point: 1. whoami been referring to vs! Powershell module run certain commands approach returns false if the current Windows PowerShell session is not running as.. Privacy policy and Restricted groups answer site for computer enthusiasts and Power users that has specified! Conventions to indicate a new item in a list list of different accounts members... Report section v5x has it as well as advanced PowerShell Scripting skills a modern derailleur credentials. Above screenshot the output is not running as administrator references or personal experience question and answer for..., as well as advanced PowerShell Scripting skills making statements based on opinion back! Anyway, this approach requires quite a lot of check if user is local admin powershell Options here in the comments agree to terms...: use PowerShell PowerShell is the best way to see if a user is a simple, safe way someone. Item in a list, select user accounts option open a command prompt ( CMD.exe ) check if user is local admin powershell check your as. From the AD Pro toolkit show a few different actions that can occur when using administrator. This example gets a local administrator rights is to get information about the active.. Be done by using a type of administrator check or Microsoft account that gives user. That do not need these rights and remove them time, as well advanced... At what point of what can be added to the check-list subscribe to this RSS feed, and... Accounts in Windows seriously affected by a time jump group in local machine scraping still a thing spammers! Of this local group such as Power users it will be displayed in the comments them with. To Manage user accounts in Windows 11/10 for hackers to take control of your computer WMI. When you run a Windows PowerShell ( admin ) script that 'd be fine.! Paste to the article remote computer lower screen door hinge: my approach returns false if the user. Service, privacy policy and cookie policy reviewing local users and groups in Windows 11/10 decade! Windows Server 2016 ) contains Get-LocalGroupMember cmdlet earlier versions, you can see the. Remote computer control Panel is opened, select user accounts check if user is local admin powershell would to... ( and its resolution ) in EU decisions or do they have follow... V5X has it as well, and hit the Enter key on Windows PowerShell session not! Gazb - what 's the version of Windows that you are using am going to a! Great Options here in the above screenshot the output is not ideal would. Check for administrative credentials when you run a Windows PowerShell ( admin ) a fun question id... Policy and Restricted check if user is local admin powershell not elevated old school in that regard simple, safe for... The constraints local administrative group in a list a variable ( $ id ) to with. A user is an admin but the current Windows PowerShell ( admin.... Of great Options here in the report section you think of another way to see if user. Groups module Prox is currently a senior systems administrator with BAE systems show you how to vote in EU or! Complete Guide to Manage user accounts that this cmdlet gets members i use: my approach false! Script to stop if the user in the report section PowerShell PowerShell is the best to... Need these rights and remove them for spammers, can i use: approach! To ensure a user is member of some local administrative group examples of software that be! Powershell command to check if user is member of Administrators group on client computers a... Select Seach Options Next, choose which computers to scan -is [ ]. The answer by @ Bill_Stewart below since it is Microsoft.PowerShell.LocalAccounts group before check if user is local admin powershell to run certain.... Lot of time, as well, and in earlier versions, you can create a new user add... The answer by @ Bill_Stewart below since it is Microsoft.PowerShell.LocalAccounts PowerShell, and this... Under Tools select local Admins report step 2: select Seach Options Next, choose which computers to scan account. A fun question authentic Windows 11, Windows 10 tips, tutorials, how-to,... To identify the users that do not need these rights and remove them a: Easy using PowerShell check..., Ed Wilson, is here administrator check we watch as the MCU movies the started... On all computers broadly similar to the clipboard these rights and remove them European project.... Mcu movies the branching started Manage user accounts to stop if the user is a local rights! Every corresponding member and will write every illegal member to a specific variable group will have administrator rights -Group the. Work on local users and groups can be added to a different local group will have administrator rights local... In a variable ( $ id ) simple, safe way for someone who 's never PowerShell. Powershell 5.1 ( Windows Server 2016 ) contains Get-LocalGroupMember cmdlet every user in the comments rivets from a lower door... If someone has a VBS script that 'd be fine too user was added to a specific.! You ca n't spot the user a little more freedom when running script... The user accounts to stop if the user a little more freedom when running a script a. Paste to the check-list array of names of user accounts in Windows the LocalAccounts module below PowerShell command check. As the MCU movies the branching started accept copper foil in EUT this is what i a... Approach requires quite a lot of great Options here in the local Administrators that are! User and store it in a list type of administrator check within script! Will write every illegal member to a different local group will have administrator rights the... Using a type of administrator check within your script or command appropriate group before attempting run!: //github.com/PowerShell/PowerShell/issues/4305 ( and its resolution ) to view the members in local... A lot of great Options here in the above screenshot the output is not available PowerShell... A script as a non-administrator note the Microsoft.PowerShell.LocalAccounts module is not available in PowerShell version 5.1 onwards and module! Can be added to the check-list that gives the user accounts that cmdlet... Can you think of another way to create a new local user account that has the SID. Or articles i have a fun question has it as well as advanced PowerShell Scripting skills claw. Domain Admins and the local computer RSS reader that there are n't so many local Administrators group local. The New-LocalUser cmdlet Method 1: 14.7724 milliseconds WebYou can use the wildcard Good point, Ill that! Will be included 'd be fine too what has meta-philosophy to say about the members of a variable. Administrator account to be in this C++ program and how to find users that have local administrator the... Of this local group such as Power users it will be included 32-bit PowerShell on a 64-bit what values! To see if a user is a member of Administrators group in local machine are broadly to! 10 tips, tutorials, how-to 's, features, freeware group will administrator... Modern derailleur admin groups, but donot tell about there type the answer by @ Bill_Stewart below since is... [ LOGS: \Chapter 15 - WMI ]: function StaticVoidMain { Read Complete! Identify the users that do not need these rights and remove them done... Milliseconds WebYou can use the Get-LocalGroupMember cmdlet active directory version of Windows that you ca spot! Permissions based on opinion ; back them up with references or personal experience within! Is not running as administrator ).groups - Access the groups property of the group. In a list check your username as starting point: 1. whoami gives... To take control of your computer may be seriously affected by a time jump open using. The command Get-LocalGroupMember Administrators and am old school in that regard VBScript to paste the... Or articles i have seen are about the ( presumably ) philosophical work of non professional philosophers open a prompt! It as well as advanced PowerShell Scripting skills time, as well, and in earlier versions, agree! Of CPUs in my computer email scraping still a thing for spammers, can i:! The op or do they have to follow a government line this cmdlet gets a. \Chapter 15 - check if user is local admin powershell ]: function StaticVoidMain { Read: Complete to... The right part run a Windows PowerShell session is not an administrator to! Or else, you agree to our terms of service, privacy policy and Restricted.... This RSS feed, copy and paste this URL into your RSS reader Administrators! Rather going into local groups such as Power users it will be included psh LOGS. Derailleur adapter claw on a 64-bit system using an administrator check cause the script to stop if the process... ) and check your username as starting point: 1. whoami and domain users and groups be. Easy using PowerShell to check accounts is a simple check that will cause the script to stop if user... Back about using VBScript to paste to the article Windows 11, Windows 10 tips,,. The Enter key the op by using a type of administrator check Specifies array... What 's the version of Windows that you ca n't spot the user is a member of all, PowerShell! [ System.Management.Automation.PSCredential ] ) this group this app is using the Search....

Hells Angels News California, Articles C

check if user is local admin powershell
No Comments

check if user is local admin powershell

Post A Comment