Jason Lin | When running Backup-Ucs cmdlet, I'm forced to use single quote if I'm trying to use the built-in ${ucs}, ${yyyy}, ${MM}, ${dd}, etc. But this forces me to hard code the path in the -PathPattern. If I try to use a variable to store the path, like '$myBackupPath\${ucs}-${yyyy}${MM}${dd}-config-all.xml', this will not work. But when I change it to double-quote, the cmdlet doesn't resolve ${ucs}, ${yyyy}, etc. The other issue (it might be by design but I'd like to have a confirmation from dev team): the output of Backup-Ucs has a weird Hostname - it has the machine name + yyyyMMddHHmm format. I'm using PowerTool 0.9.6.0. |
| Please sign in to flag this as inappropriate. |