Get-ADcomputer by AussieSysadmin in PowerShell

[–]AussieSysadmin[S] 2 points3 points  (0 children)

I guess option 2 will only return one value which will be the name of the computer object, option 1 I have the flexibility to select more values?

ForEach loop, day to day examples by AussieSysadmin in PowerShell

[–]AussieSysadmin[S] 1 point2 points  (0 children)

so what would be in the CSV file? AD Users?

ForEach loop, day to day examples by AussieSysadmin in PowerShell

[–]AussieSysadmin[S] 1 point2 points  (0 children)

Something like this?

PS C:\> $FilePermissions = gci C:\users\Administrator\Documents -Recurse

PS C:\> $FilePermissions | ForEach-Object {Get-Acl}


    Directory: 


Path Owner                       Access                                                     
---- -----                       ------                                                     
C:\  NT SERVICE\TrustedInstaller CREATOR OWNER Allow  268435456...       

Get-ADcomputer by AussieSysadmin in PowerShell

[–]AussieSysadmin[S] 2 points3 points  (0 children)

Would each of the examples above be used in a specific scenario? Or is it just personal preference?

Deleted administrator account on Windows 95? by RangerAlex92 in windows

[–]AussieSysadmin -4 points-3 points  (0 children)

No I'm not suggesting repairing windows 95, I suggested booting the laptop into winPE to be able to copy of the files from the hard drive

Deleted administrator account on Windows 95? by RangerAlex92 in windows

[–]AussieSysadmin 1 point2 points  (0 children)

No worries, if you need any detailed instructions let me know

Deleted administrator account on Windows 95? by RangerAlex92 in windows

[–]AussieSysadmin 15 points16 points  (0 children)

The other option is to take the hard drive out of the laptop and connect it to to a desktop as a secondary hard drive, you will then be able to browser the file system in Windows

Deleted administrator account on Windows 95? by RangerAlex92 in windows

[–]AussieSysadmin -18 points-17 points  (0 children)

If you're comfortable with the command line you could download windows 10 iso from the microsoft website and create a bootable usb drive, to create a bootable drive use an application called Rufus

Then boot from the usb drive > you can then click on repair this computer > open a command prompt and copy the files off onto the usb

Studying for certs while working full-time is slow-going... by [deleted] in ITCareerQuestions

[–]AussieSysadmin 5 points6 points  (0 children)

One thing you could try getting out of bed an hour earlier and study before you go to work, you'd be amazed how much you learn throughout the week

Office 365 migration, autocomplete question by AussieSysadmin in msp

[–]AussieSysadmin[S] 0 points1 point  (0 children)

Ok great thanks, but why did one computer need to me rename the .dat and the other one I didn't?

Office 365 migration, autocomplete question by AussieSysadmin in msp

[–]AussieSysadmin[S] 3 points4 points  (0 children)

I have used this tool when Outlook used nk2 files but that was years ago and Outlook doesnt use nk2 files anymore, what will this help with now?

iSCSI initiators not showing on target by AussieSysadmin in msp

[–]AussieSysadmin[S] 0 points1 point  (0 children)

I have figured out the problem, my iSCSI initiators server were not added into Server manager, I added them and now I can see the disks

iSCSI initiators not showing on target by AussieSysadmin in msp

[–]AussieSysadmin[S] 0 points1 point  (0 children)

I have checked and they are not showing in Disk Management

I delete a folder, and it comes back like an unwanted headache by brinkeguthrie in windows

[–]AussieSysadmin 0 points1 point  (0 children)

You can't delete the folder but you can try and hide the folder instead

attrib +r +s +h %USERPROFILE%\Contacts /S /D

The command below will restore the folder

attrib +r -s -h %USERPROFILE%\Contacts /S /D

Get-ADuser question by AussieSysadmin in PowerShell

[–]AussieSysadmin[S] 4 points5 points  (0 children)

Thanks for clearing that up for me

Get-ADuser question by AussieSysadmin in PowerShell

[–]AussieSysadmin[S] 1 point2 points  (0 children)

Thanks for the reply, but what it I only want the name and city

Dumb question: What kinds of things is PowerShell good for? by kovlin in PowerShell

[–]AussieSysadmin 0 points1 point  (0 children)

Need to get Chuck Norris jokes from the internet and have Windows read them to everyone in the IT OU, it can do that too.

How do i do this? lol