Batch printing Publisher files with 'Microsoft Print to PDF' printer
I hope this is OK. I've already asked about this in a different thread, but I kind of attached my question to the end of an old thread, so maybe no-one saw it... I want to automate printing a folder...
View ArticleChanging file time
Is there a simple way to change date and time of a file with PowerShell - someting like "touch" in unix shell
View ArticleSupress or hide IE when parsing a response from Invoke-WebRequest
I have a script that makes a request to download some files. The site uses certificate authentication so when I request the file (Invoke-WebRequest) it will return a form that I have to send back to...
View ArticleInvoke-WebRequest causing IE to open on its own when html is parsed
If IE is not set at the default browser, parsing the results `$R.ParsedHtml` after an Invoke-WebRequest results in this pop-up: If IE <em>is</em> set as the default browser, it's worse. IE...
View ArticleSending Individual Attachments to a List of Email Addresses In CSV using...
Hello geeks, From a application daily reports are created for each customer in a directory. I need to send email to the customer with the pdf report as an attachment as per schedule in the evening 6PM....
View ArticleNot able to access Outlook COM Object's properties in Background jobs
Hi,I have a main script in which I have a custom collection where I will be storing config information andOutlook COM Object.I'm passing the custom collection's object as a parameter to the background...
View ArticleWho will be crowned the last PowerShell Guru of 2016!!
Calling all wise men! And all the Wise Ladies!Join us and rejoice!THE FINAL CHALLENGE OF 2016!!December 2016 Guru, it’s time to share great skills as a TechNet Wiki article and WIN medal(s). Medals?...
View ArticlePower shell Script to check the OS Volume free space from a list Of Servers...
Hi Before applying the updates on Servers i want ensure there is enough free space in OS Volume..can we have a Powershell script to provide the Output in html on free space in OS Volume of list of...
View ArticleRemoving characters from left and right sides from variable.
Hello,Its script which gather required information. $SCCMServerName = 'wx0387.danskenet.net' $SCCMSiteCode = 'DBP' $list = get-content 'C:\Users\bb7638\Desktop\list.txt'foreach ($DPName in $list) {...
View ArticleCan this be made?
I have something i want to make with powershell. I'll try to explain. I have a folder with 70000 files, named 5 numbers 12345 or 54327 ect (in fact they are .doc .xls of .pdf but i can't see). I also...
View ArticleCopy azure storage blob into azure media services.
hello ,I want to copy my azure storage containers blob into azure media services.If someone have solution please reply.Thanks in advance.
View ArticleChecking operating systems of a list of computers failing, individually works...
Hello all,I am verifying operating systems on the network and I can do a(Get-WMIObject Win32_OperatingSystem -computername comp1).nameeverything works fine. I can gather the OS of each machine if I do...
View ArticlePowershell to create bulk user from a CSV file to other domain that what you...
Hi All,i am trying to create a bulk of users from a CSV file in to other domain than what i am logged in to. Our company has our old domain and we are in process of the migration. i am currently...
View ArticleReplication issues in multi-controller site when using new-created group in...
I'm trying to automate a regular task setting up folders. I create the AD group that controls access, and then I do a sleep-while until the group is confirmed as existing. The problem comes when I try...
View ArticleJoin a string with inconsistent spaces
Hi guys, I'm getting content from text file using Get-Content, I'm currently stuck, I want to turn the output into csvHere is one line of my content that I need to join it with semicolon. Thank you cls...
View ArticleMethod invocation failed
Hi , I have a requirement to divide output of my script with some constant, when compiled I received an error saying "method invocation failed because [system.object[]] doesn't contain a method named...
View Article$Profiles = $ProfileManager.GetEnumerator()
HiIs it possible to target specific users with the above PowerShell in a specific company in AD?cheersShane
View ArticleCmdlet for replacing file access permissions from OldGroup to NewGroup...
Hi,Due to a restructure of AD groups and users we need to replace the groups that have access to files and folders in a network share.Does it exist a cmdlet or script that takes OldGroup and NewGroup...
View ArticleComparator -notin using to check if value exist in another variable.
Hello,How can I make comparision between $pack variable and $packageID.I should check all PackageID from $pack exist or no into $PackageID variable.I tried, but I think is missing for each somethere or...
View Articleget-process and UserName
Hi,I'm trying to list all/some process and need to include the username since the script has to run in a terminal server environment. It works using WMI (Get-WmiObjectWin32_Processand GetOwner()) but...
View Article