QwertyMash
Members-
Posts
149 -
Joined
-
Last visited
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by QwertyMash
-
Outlook Email Signature Automation with AD Attributes help
QwertyMash replied to kagisoshark's topic in Scripts
Yeah good option - I just offered the script I wrote (which is in a sperate thread as this chap started a new thread and didn't reply on original) so people could have dynamic automated signatures for free. I have a script I need to put on here for doing it to web mail / Office 365 as well. -
Outlook Email Signature Automation with AD Attributes help
QwertyMash replied to kagisoshark's topic in Scripts
You should just be able to add the following to the variables list $exAtt1 = $user.extensionattribute1$exAtt2 = $user.extensionattribute2 etc. Let me know if you need that explained further. Thank you. -
Strangest Issue I have got stuck on.....
QwertyMash replied to QwertyMash's topic in Windows Server 2019
No sorry the switch is dedicated to his company. The use the DC for DNS but not DHCP as I had no access to the router to disable its DHCP, I am currently in talks with the manager of the building to let me have access to it so I can disable DHCP and have the Domain Controller run DHCP. The DNS forwarders are pointed to Googles DNS Yeah it is just a Hyper-visor nothing else. And yes clients are only connecting to the DC for authentication, DNS and print. It is domain joined. It is the same subnet, and default gateway, with the DC as DNS and its x.x.x.250 where as the guest OS IP is x.x.x.251 And the task scheduler just has the usual default stuff nothing else. Other than running Server core with the hypervisor role and being domain joined its practically stock. Thank you very much -
Strangest Issue I have got stuck on.....
QwertyMash replied to QwertyMash's topic in Windows Server 2019
Completely standard no additional configuration cisco switch that the landlord of the building had installed, this is partly why some of helping this little company is hard, there is a server room / comms room but the landlord doesn't allow access to it so its just stock single vlan configuration across the full switch, going up to the BT business router the ISP put in. Hopefully nothing switch related as thats never been changed. -
Hello everyone, Any ideas around this one would be appreciated. Every Thursday a small company I help out get into work and have no internet on their machines that use the DC (SVR-01) as their DNS, as a test one machine has the router (BTBusiness one we have no real access to) as their secondary DNS and that one can still get internet. The DC (SVR-01) can still be pinged and tracert but the Host that VM it is on (HYP-01) cannot be pinged or tracert, it as if it is no longer on the network. It cannot be pinged by machines or by the VM on it but machines can still ping and tracert the guest on it. I can also still get onto it externally with screen connect. If you reboot the Hypervisor all returns back to normal and will remain normal till the next Thursday. It used to do it on a Monday, then after some Windows updates on a weekend, the issue moved to a Thursday....I haven't been able to try a great deal, as the issue occurs very early hours on a Thursday morning, and they need to be up and running by 8am, so I have a tiny window in the morning to try stuff, then have to wait a week to see if it works. The Host is a HP Micro server Gen10 and is running Server Core 2019 (Hyper-V) and the domain controller is Server 2019 Essentials. Checked error logs and there are no obvious system logs just one warning at around the same time the issue starts on both the SVR and the HYP that DNS failed to resolve for screen connect. Hoping to get together ideas from fresh eyes, my next test a friend suggested is to disable VMQ as there are reports of this causing random connectivity issues on HP servers - my only concern there is this is practically a scheduled issue. EDIT: The host can still ping the guest while its having this issue but not vice versa. Thanks in advance.
-
Outlook Email Signature Automation with AD Attributes
QwertyMash replied to QwertyMash's topic in Scripts
I am glad to hear you fixed your issue, I was just typing that it is case sensitive when I saw that you had posted again haha.- 135 replies
-
- 1
-
-
- group policy
- outlook
-
(and 2 more)
Tagged with:
-
Outlook Email Signature Automation with AD Attributes
QwertyMash replied to QwertyMash's topic in Scripts
Hello, Sorry the delay, for some reason the email about the response went into my junk. When I get back home I will take a look at your post properly and hopefully be able to help Just running a few errands first. Thank you.- 135 replies
-
- group policy
- outlook
-
(and 2 more)
Tagged with:
-
Outlook Email Signature Automation with AD Attributes
QwertyMash replied to QwertyMash's topic in Scripts
Been doing more work this project. Coming this weekend if time permits. A second script which can be used to set Outlook Web Signatures that also use the information from active directory etc. Is it possible for me to edit my first post to update it? Or can Admins help me edit the first post? The script and output has been updated many times since my original post and it would be nice if I could update the original post with more up to date information such as a link to the YouTube video I made helping with the setup of this script etc.- 135 replies
-
- group policy
- outlook
-
(and 2 more)
Tagged with:
-
Outlook Email Signature Automation with AD Attributes
QwertyMash replied to QwertyMash's topic in Scripts
Hmm not sure what the best way to go about it would be as to get the details from azure AD they would need powershell modules and stuff.- 135 replies
-
- group policy
- outlook
-
(and 2 more)
Tagged with:
-
Outlook Email Signature Automation with AD Attributes
QwertyMash replied to QwertyMash's topic in Scripts
Hello there, Are you keeping your on premise AD or moving purely to AAD? Thank you- 135 replies
-
- group policy
- outlook
-
(and 2 more)
Tagged with:
-
Outlook Email Signature Automation with AD Attributes
QwertyMash replied to QwertyMash's topic in Scripts
Yes it should work fine with server 2016- 135 replies
-
- group policy
- outlook
-
(and 2 more)
Tagged with:
-
I can only repeat what others have said the better options would be to use Group Policy Preferences, if you need help with this let us know.
-
Outlook Email Signature Automation with AD Attributes
QwertyMash replied to QwertyMash's topic in Scripts
Version 3 released: https://github.com/captainqwerty/AutomatedOutlookSignature/releases/tag/v3.0 This has some neater parts and a fix for when the user's device is not currently on the domain it doesn't blank their signature.- 135 replies
-
- group policy
- outlook
-
(and 2 more)
Tagged with:
-
Outlook Email Signature Automation with AD Attributes
QwertyMash replied to QwertyMash's topic in Scripts
For those trying to use the script themselves I have created a video to help: I am also working on a little update that sorts a few things out.- 135 replies
-
- 2
-
-
- group policy
- outlook
-
(and 2 more)
Tagged with:
-
Outlook Email Signature Automation with AD Attributes
QwertyMash replied to QwertyMash's topic in Scripts
Thank you We can continue in PM- 135 replies
-
- group policy
- outlook
-
(and 2 more)
Tagged with:
-
Outlook Email Signature Automation with AD Attributes
QwertyMash replied to QwertyMash's topic in Scripts
I will PM you Sorry for delayed reply I have been ill.- 135 replies
-
- group policy
- outlook
-
(and 2 more)
Tagged with:
-
Outlook Email Signature Automation with AD Attributes
QwertyMash replied to QwertyMash's topic in Scripts
After looking at your script sir, I recommend we consider implementing my script I will help you do it if you like we can get it to look how you like. I see yours is using a reconfigure docx and doing a replace in the document to build a new signature and using word to do all the saves, this is a bit more intense than it needs to be- 135 replies
-
- 1
-
-
- group policy
- outlook
-
(and 2 more)
Tagged with:
-
Outlook Email Signature Automation with AD Attributes
QwertyMash replied to QwertyMash's topic in Scripts
I will look at your script today I have just saved it, I just need to reformat it, if you are free today to send me the actual script file that would save me some time We will get you sorted in no time sir- 135 replies
-
- group policy
- outlook
-
(and 2 more)
Tagged with:
-
Outlook Email Signature Automation with AD Attributes
QwertyMash replied to QwertyMash's topic in Scripts
Hello Kelechi93, You are totally free to edit my script to make it how you like, there is nothing in it to stop you All I was doing with mine was providing a base line for those that didn't know where to start. If you like I can sit and help you get it working how you would like for your environment and help you get past the error you are having. I am currently at work and your code post has been formatted badly by the thread, so I when I get home I will copy and paste it into VS Code and take a look as well But yes you can use my script and we can totally change it to suite your organisation. Please feel free to PM me if you would like some one to one assistance with this EDIT: Sorry I just realised you meant is there anything stopping the users editing their own signatures after the fact, well we can talk about this, you can allow them to edit their own but you lose the dynamic overwriting of their signature as we would have to use the Apply Once rule on the GPO. Or if you let me know the type of things your users will add we can look at doing it via security groups like I do at my current place of work. We have some users that need a Health and Safety badge and I used a security group so it only adds that badge to those users all contained in the same script Thank you.- 135 replies
-
- group policy
- outlook
-
(and 2 more)
Tagged with:
-
Outlook Email Signature Automation with AD Attributes
QwertyMash replied to QwertyMash's topic in Scripts
I have updated the script to allow extra information based on a security group The example in the script is if you are a member of IT team it will add a line to the signature about contacting the IT Helpdesk I added this a while ago but forgot to update the link in here. I will also be updating the signature script to use a nicer format soon and will update you guys on here when I have uploaded. Thank you.- 135 replies
-
- group policy
- outlook
-
(and 2 more)
Tagged with:
-
Powershell Script to Remove Home directories in an OU
QwertyMash replied to BKGarry's topic in Scripts
Just for any novice to PowerShell or AD using this, I would personally comment out the Remove-Item line (put a # at the start of it) so you just get a bunch of write hosts saying what it was going to do, that way if you see a bunch of directories you were not expecting you pointed it at the wrong OU Other than that, thanks for sharing BKGarry -
So, if I have understood you correctly you would like an input and the name of the machine to be set to INPUT-%SerialNumber%? Do you mind this being a PowerShell script? # Shutdown value in seconds $shutdowntime = 60 # Getting prefix $prefix = read-host -Prompt "Enter the prefix" # Getting serial number $serialnumber = get-ciminstance win32_bios | select-object SerialNumber $serialnumber = $serialnumber.serialnumber # Making new name $newName = "$prefix-$($serial)" # Removing any spaces as that would result in an invalid name (You could be more compex and remove any invalid characater) $newName = $newName -replace '\s','' # Prompting user of the serial and new name write-host "Serial number is $serialnumber. New device name will be: $newname" # If the new name is the same as the current name do nothing, else make the change, prompt user about shutdown and start the restart command if($newName -ne $env:Computername) { Rename-Computer -NewName $newName -Force Write-host "The device will rebooted in $shutdowntime seconds..." shutdown -r -t $shutdowntime } else { Write-Host "The device is already called: $env:computername..." -ForegroundColor green } If I have misunderstood or this does not work as expected (I have not been able to test it and just quickly knocked it up before bed) let me know and we can discuss it and fine tune it 😊
-
You could use group policy to enable win RM and just use Powershell to query all devices for the info you want. If you would like some help with any PowerShell feel free to message me - I love a bit of PowerShell
-
http://www.edugeek.net/forums/scripts/205976-outlook-email-signature-automation-ad-attributes.html This might help you a bit a script I wrote. Is there a reason you are not just using the Temp folder and want to redirect their signature location? You can use the registry to repoint the signature folder location and if you use a UNC path I think it should work.
-
This is where he replies and says he has already sorted it haha
