u/mrrtys
-
8points
-
1points
DualSense Controller Repair Website Issue - Seeking Assistance (self.playstation) [Tech Support]
-
3points
DualSense Controller Repair Website Issue - Seeking Assistance (self.playstation) [:POST_Tech_Support: Support]
mrrtys
mrrtys
Natuurlijk is alles mogelijk, maar dit klonk anders. Mijn gevoel zegt me dat het echt schoten waren.
mrrtys
Ik woon op ongeveer 700 meter afstand. De schoten kunnen van ergens anders gekomen zijn, maar ik weet zeker dat ik een auto uit die richting met hoge snelheid over de Stadsring hoorde scheuren.
Heb jij de sirene wel gehoord? Ik lag te slapen met het raam open, maar werd meteen wakker en alert. In mijn gezin lijk ik altijd de enige te zijn die dit soort dingen hoort. Als ik mijn vriendin vraag: "Hoorde je dat?", dan zegt ze wel iets gehoord te hebben. Maar als ik niks had gezegd, had ze gewoon lekker doorgeslapen.
mrrtys
Thank you.
mrrtys
Thanks for you're reply.
But I tried 3 different browsers and also on different devices and internet connections.
mrrtys
I used another device and connection same problem.
mrrtys
Hi u/MrExpendable_,
I think this is exactly what you need:
I tested it with Microsoft Graph Explorer and it would output all users like this:
id : bb471fef-d74c-41c7-9fa5-79ec2e18d4f3
userPrincipalName : [email protected]
userDisplayName : John Doe
userType : member
isAdmin : False
isSsprRegistered : True
isSsprEnabled : True
isSsprCapable : True
isMfaRegistered : True
isMfaCapable : True
isPasswordlessCapable : True
methodsRegistered : {mobilePhone, microsoftAuthenticatorPush, softwareOneTimePasscode, windowsHelloForBusiness}
defaultMfaMethod : microsoftAuthenticatorPush
mrrtys
Thanks, this is really nice 👍
mrrtys
Try robocopy and mirror it with an emtpy directory. I always delete folders that way when they give me a hard time.
mrrtys
I think you need Set-ADUser and then one of these "-Add, -Replace, -Remove"
-Add @{proxyAddresses="SMTP:[email protected]", "smtp:[email protected]"}
mrrtys
mrrtys
Where-Object {$_.Surname -ne $null -or $_.GivenName -ne $null -or $_.EmailAddress -ne $null -or $_.Name -notmatch 'svc|ops|adm'}
Change the $_.Name to another property name if needed.
Hope this helps?
mrrtys
mrrtys
Just sharing what I would do and have done in the past to automate onboarding.
You could start with something like this:
- Create user templates for every department/sub department.
- Make a query to list all the users in a specific department get all the MemberOf groups.
- Take all the groups that 100% of this department have and put them in the template.
mrrtys
Did you check after 15mins? Maybe AD need to sync.
mrrtys
Good question... I never use Ignore so had to look it up.
Ignore will not add the error to the automatic variable $Error, so yes that might be a better option actually.
Thanks for mentioning that.
mrrtys
I did not test this right now but I believe this should work:
$instance = Get-ADUser -Identity User1 # You can add -Server if necessary
$target = Get-ADUser -Identity User2 # You can add -Server if necessary
#You should not add -Server to any of these parameters
Get-ADPrincipalGroupMembership -Identity $instance | Add-ADGroupMember -Members $target
Edit: trying to fix it for u/Lee_Dailey
mrrtys
I can't see what is on line 1 char 67 and 81, can you post that line from your script?
mrrtys
You can use Import-Csv on a computer without excel, this is basically a text file.
And if you remove the parameter -AccessRights and add -Confirm you are good to go.
mrrtys
Add the -ComputerName parameter...
https://docs.microsoft.com/en-us/powershell/module/cimcmdlets/get-ciminstance?view=powershell-7.2
mrrtys
Have a look at this one:
Get-CimInstance -ClassName Win32_Service | select StartName
mrrtys
(Get-LocalUser user -ErrorAction SilentlyContinue) -as [bool]
This works for me: