http://www.myflydream.com/forum/viewtopic.php?f=2&t=57938
http://www.myflydream.com/forum/viewtopic.php?f=2&t=57938
View Articlehttp://www.bwdyeti.com/cafe/forum/showthread.php?tid=1641
http://www.bwdyeti.com/cafe/forum/showthread.php?tid=1641
View Articlehttp://therapnetwork.com/forums/showthread.php?47502
http://therapnetwork.com/forums/showthread.php?47502
View ArticleDealing with long paths in VBscript
Im using the File System Object (FSO) in VBscript to move files from one folder to another, but it does not move files if the path is longer than 255 characters.Here's the code that's causing the...
View ArticleLong path names and powershell
Has anyone found a way around the long path issue? I need to do size and aging for some backup directories and I am tired of getting:Remove-Item : The specified path, file name, or both are too long....
View ArticleGet Folder Size when path is too long
This many seem easy however it fails due to file paths being too long. So I am thinking I need to utilize short paths (8.3 file naming) somehow but I am not figuring out how. I could be wrong on that...
View ArticleHow to check computer name in AD without Get-ADComputer?
Hello,I wrote a script to rename computer and checking its new name in AD and use another (add 1) if exists. But I find a way to rewrite this script to avoid using Get-ADComputer, because I do not want...
View ArticlePath with more than 254 characters long produced an error
Hello,To get the size of each subfolders of a main parent folder we are using the following script$FolderName =...
View ArticleEnabling printer PIN for network printers
Hi,I have a requirement to make it mandatory for all the network printer users to enter PIN before they print a document. Is there any way to do it.That is in simple way make a printing job more...
View Articlehow to use a variable in a cmdlet
I am trying to do something that seems fairly simple, but I just can't seem to get it to work. I'm putting it here in the scripting forum, but it is a Hyper-v cmdlet I am using.I am trying to use a...
View ArticleMemory sum of 3 VMs
#gets name and memory of certain vms $DRReserved = Get-VM | where {$_.CustomProperty["DRReservation"] -like "True"} | select name, memory Is there a way to get the sum or total memory of...
View ArticleLDAP Query for particular user account in local Administrators group on All...
Need to query on all enabled computer accounts that have a particular user account present in the local Administrators group.Ldap query is best, because not all our machines have SCCM client Thanks for...
View ArticleInvoke-Sqlcmd problem on Windows server 2008
We have several Web Servers running Win2008 and need to be able to use the Invoke-Sqlcmd powershell cmdlet to execute arbitrary SQL. Tried installing PowerShellTools.msi but Invoke-Sqlcmd still isn't...
View ArticleInvoke-Command to run as another user with elevated priveleges (without...
I have created a powershell script, that will perfrom some functions in a RD host configuration, namely log off a user. However, the script is to be run by a bunch of my support staff, who are not...
View ArticleReg: VB script to delete old Files in all sub folders also exclude one...
Hi allI have been trying some VB script to delete old files in folder ("sszz") and its sub folder and creates a log file with deleted files information.Now i want to skip one sub folder name it "samm"...
View ArticleRequire a VBscript which will detect MS Office 365 prerequisite in particular...
Hi All,I want a VBscript which will detect all prerequisite of MS Office365 and then inform whether system is compliant or not. If compliant then prompt that proceed with configuration of account. And...
View ArticlePowershell Module not present
Hi,I have WinPE boot image and added support for Powershell (all required packages).Now in WinPE, I cant access the NetAdapter module (infact its not available in winpe).The version on PS is 4.0 , any...
View ArticleWhat was PowerShell ISE also called as before it was released?
What was PowerShell ISE also called as before it was released?Last week one of the forums said PowerShell ISE had a different name.Please help. BRThank you Naveen
View ArticleBulk create Active Directory Users and Groups in PowerShell using Excel XLSX...
Hi Scripting Guy. I am a Server Administrator who is very familiar with Active Directory, but new to PowerShell. Like many SysAdmins, I often need to create multiple accounts (ranging from 3-200) and...
View ArticleLDAP Query (Computer Accounts)
I need to search all computer accounts that are Enabled that have Windows XP as the Operating System. What is the LDAP Query for that? I do not want to see the Disabled computer accounts. Thanks,...
View Article